ipld-eth-state-snapshot/README.md

786 B

eth-pg-ipfs-state-snapshot

Tool for extracting the entire Ethereum state at a particular block height from leveldb into Postgres-backed IPFS

Go Report Card

Usage

./eth-pg-ipfs-state-snapshot stateSnapshot --config={path to toml config file}

Config format:

[database]
    name     = "vulcanize_public"
    hostname = "localhost"
    port     = 5432
    user     = "postgres"

[leveldb]
    path = "/Users/user/Library/Ethereum/geth/chaindata"
    # path for geth's "freezer" archive
    ancient = "/Users/user/Library/Ethereum/geth/chaindata"

[snapshot]
    blockHeight = 0
    divideDepth = 1