-1

I am tring to build an Ethereum miner using Metamask RPC. I saw eth_getWork and eth_submitWork methods, but I can't use them because I need to connect as a miner first. How can I do that?

Thanks for your help!

TheNCoder
  • 1
  • 1

1 Answers1

0

You need to send login request, example:

{"id": 1,"jsonrpc": "2.0","method": "eth_submitLogin","params": ["0xblablalba"]}
triple fault
  • 13,410
  • 8
  • 32
  • 45