mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jrosendo
7a960f7d00
|
2 years ago | |
---|---|---|
.. | ||
README.md | 2 years ago |
README.md
Send Ether
In this exercise, you will send ETH using a script.
Instructions
Write a node script that provides a function sendEther(amount, address)
which connects to a local node (http://localhost:8545
) and sends an amount in Ether to the specified address.
function sendEther(amount, address) {
//...
}
module.exports = sendEther