Closed kamescg closed 6 years ago
This seems very useful. @oed what do you think?
I am getting this error
(node:3004) UnhandledPromiseRejectionWarning: Error: [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32602,"message":"Invalid params: invalid length 0, expected a 0x-prefixed hex string with length of 40."}}'
any idea whats happening here?
Using the
await ethrDid.createSigningDelegate()
method in the documentation I'm able to succesfully assign a new delegate to my Rinkeby MetaMask account.In addition to returning the
kp
(keypair) it might be nice to also return the transaction hash?Developers may want to log transactions responsible for creating signing delegates?