Skip to content

Takes a snapshot of all know positive balances and tokens on a given block. Also checks MongoDB for missing blocks prior to snapshot. Also used as a richlist. Works for ETH and any ethereum based blockchain using GETH.

License

pacman809/Ethereum-Snapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ethereum-Snapshot Takes a snapshot of all known wallets with balances and tokens on a given block. Also checks MongoDB for missing blocks prior to snapshot. Also used as a richlist. Works for any Geth/ETH Based BlockChain.

Pre-Requisites

  • MongoDB populated with block, token and transaction data ethereumetl works great for this
  • Fully Indexed Collections (Blocks + Transactions)
  • Geth node (Archived)
  • Python 3
  • pip installed for packages

INSTALL

check Requirements.txt Enter commands

pip install -r requirements.txt

pip freeze > requirements.txt

edit config.py accordingly

-run python FindMissing.py (Optional) Finds missing blocks in Chain. Gather all missing blocks and add to DB before continuing. Takes A long time depending on block height. approx 1 hr for 5M blocks

-run python3 snapIt.py To export the file to CSV run this python3 snapit.py > outputfile.csv

If using a Python3 environment python is fine

Garth Madden TheNorthWatch.com Garthmadden809@gmail.com

Use at own risk.

About

Takes a snapshot of all know positive balances and tokens on a given block. Also checks MongoDB for missing blocks prior to snapshot. Also used as a richlist. Works for ETH and any ethereum based blockchain using GETH.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages