Skip to content

Command-line tool to continuously burn all ETH in an account.

Notifications You must be signed in to change notification settings

zeroXbrock/eth-burner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eth-burner

Watches each block for a balance update, and if one is detected, burns all that ETH by transferring ETH with the highest possible transaction fee, effectively burning it from the account.

Technically, the ETH is not actually burned (permanently erased). It's just collected by miners :)

wanna burn?

# only do this once
yarn install

# burn eth in account corresponding to given prvkey
yarn start \
    -k <prvkey> \
    -u https://eth-mainnet.alchemyapi.io/v2/<key> \
    -b <pubkey> # OPTIONAL address to receive un-burnable leftovers, defaults to 0xfb000000387627910184cc42fc92995913806333

If you want to test this out without burning real ETH, use a testnet provider or a hardhat fork with url http://localhost:8545.

About

Command-line tool to continuously burn all ETH in an account.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published