mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
29 lines
No EOL
765 B
JavaScript
29 lines
No EOL
765 B
JavaScript
var firstAccount = web3.eth.accounts[0]
|
|
var secondAccount = web3.eth.accounts[1]
|
|
var thirdAccount = web3.eth.accounts[2]
|
|
|
|
for (var i = 0; i < 1; i++) {
|
|
console.log('\t\t' + (i + 1) + ' - Transactions')
|
|
web3.eth.sendTransaction({
|
|
from: web3.eth.accounts[1],
|
|
to: web3.eth.accounts[2],
|
|
value: 5,
|
|
gas: 50000,
|
|
gasPrice: 20
|
|
});
|
|
// web3.eth.sendTransaction({
|
|
// from: web3.eth.accounts[0],
|
|
// to: web3.eth.accounts[2],
|
|
// value: 291,
|
|
// gas: 50000,
|
|
// gasPrice: 20
|
|
// });
|
|
//
|
|
// web3.eth.sendTransaction({
|
|
// from: web3.eth.accounts[0],
|
|
// to: web3.eth.accounts[1],
|
|
// value: 53039,
|
|
// gas: 50000,
|
|
// gasPrice: 20
|
|
// });
|
|
} |