Created
May 10, 2019 05:06
-
-
Save miguelmota/70dd654b9698420f27d86d58cfeeb24d to your computer and use it in GitHub Desktop.
Web3.js 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
await web3.eth.sendTransaction({ | |
from: alice, | |
to: bob, | |
value: '0x1' // 1 wei | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment