Private Network (Fakenet)
Create your own Private Network (Fakenet)
Last updated
N=3 ./start.shgo run ../cmd/opera attach http://localhost:4000vc.getBalance(vc.accounts[0]);1e+27go run ../cmd/opera attach --exec "vc.accounts[0]" http://localhost:4001"0x02aff1d0a9ed566e644f06fcfe7efe00a3261d03"vc.sendTransaction(
{from: vc.accounts[0], to: "0x02aff1d0a9ed566e644f06fcfe7efe00a3261d03", value: "1000000000"},
function(err, transactionHash) {
if (!err)
console.log(transactionHash + " success");
});0x68a7c1daeee7e7ab5aedf0d0dba337dbf79ce0988387cf6d63ea73b98193adfd successvc.getTransactionReceipt("0x68a7c1daeee7e7ab5aedf0d0dba337dbf79ce0988387cf6d63ea73b98193adfd").blockNumber174go run ../cmd/opera attach --exec "vc.getBalance(vc.accounts[0])" http://localhost:4000
go run ../cmd/opera attach --exec "vc.getBalance(vc.accounts[0])" http://localhost:40019.99999999978999e+26
1.000000000000001e+27