Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Web3 = require("web3");
- const web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545"));
- for (var i = 0; i < 10000; i++) {
- console.log("Start: " + i);
- console.log(web3.eth.getBalance("0x0000000000000000000000000000000000000000"));
- console.log(web3.eth.getCode("0x0000000000000000000000000000000000000000"));
- }
- Start: 225
- { [String: '7.221712092140691731494e+21'] s: 1, e: 21, c: [ 72217120, 92140691731494 ] }
Add Comment
Please, Sign In to add comment