ipld-eth-state-snapshot/README.md

25 lines
657 B
Markdown
Raw Normal View History

2020-06-30 16:49:51 +00:00
# eth-pg-ipfs-state-snapshot
2020-07-01 19:16:21 +00:00
2020-07-13 11:20:03 +00:00
> Tool for extracting the entire Ethereum state at a particular block height from leveldb into Postgres-backed IPFS
2020-07-01 19:16:21 +00:00
[![Go Report Card](https://goreportcard.com/badge/github.com/vulcanize/eth-pg-ipfs-state-snapshot)](https://goreportcard.com/report/github.com/vulcanize/eth-pg-ipfs-state-snapshot)
2020-07-15 04:43:11 +00:00
## Usage
./eth-pg-ipfs-state-snapshot stateSnapshot --config={path to toml config file}
Config format:
```toml
[database]
name = "vulcanize_public"
hostname = "localhost"
port = 5432
user = "postgres"
[leveldb]
path = "/Users/user/Library/Ethereum/geth/chaindata"
[snapshot]
blockHeight = 0
```