1

I'm currently working on a rust blockchain project and we are weeks until minimal test net, we have CLI wallet and network will support EVM on the real test net. We have rpc api and I would like to add section for metamask eg /api/metamask/ and what calls do I need for it. My crypto uses same secp256k1 as ethereum. Also I want to add a note that I have tried contacting metamask but they did not respond.

2
  • Supporting the standard web3 JSON RPC should be enough eth.wiki/json-rpc/API. To known exactly what commands are needed you could use ganache to log the command sends by metamask to the ganache rpc server.
    – Ismael
    Mar 29, 2022 at 6:15
  • Can you post a question so I can approve it?
    – Toni Dev
    Mar 31, 2022 at 13:50

1 Answer 1

0

Supporting the standard web3 JSON RPC should be enough https://eth.wiki/json-rpc/API.

To known exactly what commands are required you could use ganache to log the command sends by Metamask to the ganache rpc server.

Ganache has a command line option -v to log RPC requests and answers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.