title: Someone has managed to get the balance of an ERC20 Token with Web3.js@1.0.0?
body: <p>This code worked for version 0.20.6, but for the new version it doesn't work anymore. I've been reading the documentation and testing the examples, but I haven't gotten it to work.
  Here is the code that worked below.</p>
  
  <pre><code>let contract = web3.eth.contract(ABI).at(tokenAddress);
    contract.balanceOf(walletAddress, (error, balance) =&gt; {
      contract.decimals((error, decimals) =&gt; {
        balance = balance.div(10 ** decimals);
        console.log(balance.toString());
      });
    });
  </code></pre>
  
  <p>Please let me know some way to deal with this. Thanks!</p>