0

I created 2 wallets using MyEtherWallet. Noted down the private key, public key pairs. If I then use one of the wallet's public key as the from address and the public key of the other wallet as the to address and do the following on a testnet node,

curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_sendTransaction","params":[{"from":"","to":"","value":"0x1c6bf52634000"}],"id":1}' ,

I get this: {"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"unknown account"}}

Why? Should I import the wallets to this node? If so, please let me know how.

Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.