V3 version feedback #282
Replies: 4 comments 3 replies
-
@ujjwalgupta94 I'm trying to use Matic.js V3 to transfer MATIC from one wallet to other. Failing to understand the properties mentioned in config.js which I need to replace/use for the same => https://github.com/maticnetwork/matic.js/blob/master/examples/config.js Also as per your explanation between Child and Parent RPC - where you said to transfer MATIC it's fine if we just use Child RPC, but POSClient().init() method expects us to pass both Child as well as Parent property. So I'm assuming we'll have to set isParent property in client.ecr20 function to false please correct me if I'm wrong. => Any help is appreciated. Thank you for your great work 👍🏻. Let me know if I can document any of these steps to help other developers explore it the first time. |
Beta Was this translation helpful? Give feedback.
-
yeah you can make one of the provider as null. Take a look at matic transfer doc - https://maticnetwork.github.io/matic.js/docs/plasma/erc20/transfer/ For overview, matic is plasma token, so you will have to use plasmaClient. Here is example for transferring matic - https://github.com/maticnetwork/maticjs-plasma/blob/main/examples/erc20/transfer_matic.js |
Beta Was this translation helpful? Give feedback.
-
Ok, thank you for the docs. I downloaded the maticjs-plasms repo and tried to run Also in Utils.js i tried setting In config.js I replaced Private Key, and User1 and User 2 addresses. These are from Matic Mumbai testnet. Please let me know what am i doing wrong here. |
Beta Was this translation helpful? Give feedback.
-
I cannot use metamask on v3? only connectWallet by default? |
Beta Was this translation helpful? Give feedback.
-
Hey guys
We have finished v3 version of maticjs and right now its in beta release.
Here is PR - #252
doc - https://maticnetwork.github.io/matic.js/v3/docs/get-started/
It would be great if you guys can provide feedback or anything if we have missed.
Thanks & Regards
Ujjwal Gupta
Beta Was this translation helpful? Give feedback.
All reactions