Created
August 22, 2015 11:16
-
-
Save TOMOAKI12345/492ad2292299cb1f0e7c to your computer and use it in GitHub Desktop.
geth console send ether
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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