Skip to content

PoarryScript/testnet-wallet-drainer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testnet-ERC20-Drainer

-- Local install instructions

Clone Repo
Yarn/Npm install
cd/dapp Yarn/Npm install
npm/yarn start

TODO's

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

Description

SOLE USE-CASE is for the easy burning and destruction of held token balances accrued during testing and development.


  • User signs a transaction allowing access to token information.
  • Tokens are returned in a data grid with the given information:
    • Id (DataGrid identifier)
    • Token Name
    • Token Address
    • Token Balance

  • User clicks 'Autodrain' and MetaMask will ask for approval for each token with a valid balance.
    • A single approval call will be be made for the exact balance of the valid token

  • The smart contract will then destory all held tokens by sending them to the '0x000..DeAd' address
    • Effectively burning each token but a more generalised approach in case of lack of burn functionality

  • Your wallet is now clean and ready for more useless demo tokens

About

🔥 ERC20 testnet token burner for ease of disposal. Built using Solidity, Moralis and React.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.3%
  • HTML 9.2%
  • Solidity 6.7%
  • CSS 2.8%