This is a simple tool to drain funds from a compromised EVM wallet, to use in an emergency situation.
$ npm install
$ npx wallet-drainer <target_address> <compromised_private_key> --chain=<chain_name>
$ npx wallet-drainer <target_address> --file=<path_to_compromised_private_key> --chain=<chain_name>
- bsc-testnet
- mumbai
- avalanche-fuji
- celo-alfajores
- moonbase-alpha
- optimism-goerli