# Testnet-ERC20-Drainer

-- Local install instructions

`Clone Repo`<br/>
`Yarn/Npm install`<br/>
`cd/dapp Yarn/Npm install`<br/>
`npm/yarn start` <br/>

# TODO's

-- Add additional RPC providers to support more chains<br/>
-- Collect and display contract stats from contract's public vars<br/>
-- Add support for more ERC standards<br/>
-- Prettify the UI as it's weaaaaak rn<br/>

# Description

  <h3><big>SOLE USE-CASE</big> is for the easy burning and destruction of held token balances accrued during testing and development.</h3>  <br>
  <ul>
  <li>User signs a transaction allowing access to token information.</li>
  <img src="./images/preauth_view.png"/>
  <li>Tokens are returned in a data grid with the given information:</li>
  <ul><li>Id <small>(DataGrid identifier)</small></li><li>Token Name</li><li>Token Address</li><li>Token Balance</li></ul><br>
    <img src="./images/postauth_view.png"/>
  <li>User clicks 'Autodrain' and MetaMask will ask for approval for each token with a valid balance.</li>
      <ul><li>A single approval call will be be made for the exact balance of the valid token</li></ul><br>
  <li>The smart contract will then destory all held tokens by sending them to the '0x000..DeAd' address</li>
  <ul><li>Effectively burning each token but a more generalised approach in case of lack of burn functionality</li></ul><br>
  <li>Your wallet is now clean and ready for more useless demo tokens</li>
  </ul>  <img src="./images/token_approve_burn.gif">
