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.
 
 
 
 
 
 

533 B

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

Notions