Matic Plasma client created, but does not initialise on mainnet #313
Unanswered
naman-modi
asked this question in
Q&A
Replies: 1 comment
-
@naman-modi please use v3 of maticjs, the all issues has been fixed in v3. Here is doc link - https://maticnetwork.github.io/matic.js/docs/plasma/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the above code:
config.parent.rpc=https://goerli.infura.io/v3/........
config.child.rpc=https://polygon-mumbai.g.alchemy.com/v2/.......
userAddress
andprivateKey
are correct.The exact error:
Error: Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced.
The
matic
object gets created, butinitialize()
does not work. Any thoughts to make it work?(Note: the userAddress wallet has enough for Gas)
Beta Was this translation helpful? Give feedback.
All reactions