Skip to content

Calculates total allocated ETH from genesis.json file (can be found in ethereum clients)

Notifications You must be signed in to change notification settings

alexhooketh/calc-genesis-alloc-amount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

calc-genesis-alloc-amount

5-line python script to calculate total allocated ETH from genesis json file

Purpose

To trustlessly calculate genesis allocated ETH. You can get genesis json file from almost any (from what i know, geth has params RLP encoded :( ) ethereum execution client repo. I took mine from reth

Usage

python3 cgaa.py <path-to-genesis-json-file>

Returns

For mainnet json file, it should return something like this (at least, this is what was returned in my case):

Total allocated ETH to 8893 addresses: 72009990499480000000000000 wei (72009990.49948 ETH)

About

Calculates total allocated ETH from genesis.json file (can be found in ethereum clients)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages