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.
nprimo
4fa5c876a7
|
1 year ago | |
---|---|---|
.. | ||
README.md | 1 year 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