mirror of https://github.com/01-edu/public.git
4fa5c876a7 | ||
---|---|---|
.. | ||
README.md |
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