I am running a node locally on the Rinkeby blockchain.
I have an account on the node at the address 0xcA4E218Eb3954f899FE5d8E0B9ddcf3E402E86e7
. This account has 3 eth.
I have another account that I generated through web3.eth.createAccount
at the address 0x680A47A1D2080Ce349160c0A12B0326259bB7B04
. This account also has 3 eth.
When I try to run the below, I get the error: unknown account. Thoughts?
this.web3.eth.sendTransaction({
from: '0x680A47A1D2080Ce349160c0A12B0326259bB7B04',
to: '0xcA4E218Eb3954f899FE5d8E0B9ddcf3E402E86e7',
value: '5000'
}).then(function (receipt) {
console.log(receipt)
}).catch(console.log)