SHARE
TWEET

Untitled

a guest Jan 24th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const provider     = new Web3.providers.HttpProvider("https://mainnet.infura.io/");
  2. const web3         = new Web3(provider);
  3.  
  4. const alphabet = [0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f];
  5. const input = "0xb6b2ceb624a6b667e67af1893b16706baec21";
  6.  
  7. for (x in alphabet) {
  8.     for (y in alphabet) {
  9.         for (z in alphabet) {
  10.             let address = input + x + y + z;
  11.             let balance = new BigNumber(web3.eth.getBalance(address));
  12.  
  13.             if(balance.greaterThan(new BigNumber(0)) {
  14.                console.log(address + "=" + web3.fromWei(balance, "ether"));
  15.             }
  16.         }
  17.     }
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top