Skip to content

Instantly share code, notes, and snippets.

@TOMOAKI12345
Created August 22, 2015 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TOMOAKI12345/492ad2292299cb1f0e7c to your computer and use it in GitHub Desktop.
Save TOMOAKI12345/492ad2292299cb1f0e7c to your computer and use it in GitHub Desktop.
geth console send ether
// sendEther(from, to, value)
function sendEther(fromAddr, toAddr, etherValue){
eth.sendTransaction({from:fromAddr, to: toAddr, value:web3.toWei(etherValue), gas:1000000})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment