Run A Local Test Network
This page guide you to run fakenet (private testing network) with N local nodes, primarily for testing/benchmarking purposes.
Last updated
eth.getBalance(eth.accounts[0]);1e+27go run ../cmd/u2u attach --exec "eth.accounts[0]" http://localhost:4001"0x02aff1d0a9ed566e644f06fcfe7efe00a3261d03"eth.sendTransaction(
{from: eth.accounts[0], to: "0x02aff1d0a9ed566e644f06fcfe7efe00a3261d03", value: "1000000000"},
function(err, transactionHash) {
if (!err)
console.log(transactionHash + " success");
});0x68a7c1daeee7e7ab5aedf0d0dba337dbf79ce0988387cf6d63ea73b98193adfd successeth.getTransactionReceipt("0x68a7c1daeee7e7ab5aedf0d0dba337dbf79ce0988387cf6d63ea73b98193adfd").blockNumber174go run ../cmd/u2u attach --exec "eth.getBalance(eth.accounts[0])" http://localhost:4000
go run ../cmd/u2u attach --exec "eth.getBalance(eth.accounts[0])" http://localhost:40019.99999999978999e+26
1.000000000000001e+27