Developers Forum for XinFin XDC Network

Discussion on: Issues with Contract Verification and Interaction on Metamask

Collapse
logeswaran profile image
Lokesh
Thread Thread
luv_malani_dae959d40aee9c profile image
Luv Malani Author

tried but error not resolved and the 2nd link is not even working

Thread Thread
anasshaikh profile image
AnasShaikh

Hi team, any update on my query above??

Hi Lokesh, I'm from the same team who posted this thread. I tried this package and still doesn't work, this package has too many warnings and is too complex to use compared to achieving similar functionality with other chains. Do you have react or JS code which is working currently or has worked in the recent past? Or any other approach I should try and yes I did try the different RPCs

Thread Thread
logeswaran profile image
Lokesh

Interesting!, that package has been helpful for quite number of dapps. Neverthless, we will address your feedback, thanks for raising that.

Meanwhile, have you tried XDCPay chrome extension to transact with your contract. If not, can you try that out and share your feedback here?

List of active RPC's, you can get it from chainlist.org/?search=xdc

Also, pls note the address "- Invalid address error for "0xdc........" occurs when you use the RPC's which doesn't support 0x conversion.

How to validate?-
RPC address prefixed with "e" should be the right one to convert the address from xdc to 0x. For example -- erpc.apothem.network for testnet

and erpc.xinfin.network for mainnet.

Try this out and let us know your feedback..

Thread Thread
anasshaikh profile image
AnasShaikh

Thanks for the reply Lokesh. Was curious if you can consult for like an hour, I think it should be more than enough to solve my problem. Let me know what you would charge. This will save my time too.

Thread Thread
anasshaikh profile image
AnasShaikh

Thanks so much for your help guys, I figured it. I had to just modify the transaction to use the legacy transaction format instead of EIP-1559