Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const provider = new Web3.providers.HttpProvider("https://mainnet.infura.io/");
- const web3 = new Web3(provider);
- const alphabet = [0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f];
- const input = "0xb6b2ceb624a6b667e67af1893b16706baec21";
- for (x in alphabet) {
- for (y in alphabet) {
- for (z in alphabet) {
- let address = input + x + y + z;
- let balance = new BigNumber(web3.eth.getBalance(address));
- if(balance.greaterThan(new BigNumber(0)) {
- console.log(address + "=" + web3.fromWei(balance, "ether"));
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment