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!
You need to send login request, example:
{"id": 1,"jsonrpc": "2.0","method": "eth_submitLogin","params": ["0xblablalba"]}