<
 
 
 
 
×
>
hide You are viewing an archived web page, collected at the request of Ethereum Foundation using Archive-It. This page was captured on 08:17:38 May 04, 2021 , and is part of the Community collection. The information on this web page may be out of date. See All versions of this archived page. Loading media information

Send your first transaction using Windows

Hi i want to test between my won accounts. I have unlocked the 0 account but i keep getting the error exceeds gas limit.
How can i send something right now i see other people doing it.

I'm using this

sender = eth.accounts[0];
recipient = eth.accounts[2];
amount = web3.toWei(1, "ether"), gasPrice = web3.toWei(120, "gwei"), gas = 21000;
eth.sendTransaction({from: sender, to: recipient, value: 1})

Comments

Sign In or Register to comment.