Skip to content

Instantly share code, notes, and snippets.

@miguelmota
Created May 10, 2019 05:06
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 miguelmota/70dd654b9698420f27d86d58cfeeb24d to your computer and use it in GitHub Desktop.
Save miguelmota/70dd654b9698420f27d86d58cfeeb24d to your computer and use it in GitHub Desktop.
Web3.js send ether
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