Thin RPC wrapper around LevelDB to expose ethdb interface remotely
f48d787667
coupling to vulcanize geth for dependencies sanity |
||
---|---|---|
.github/workflows | ||
cmd | ||
environments | ||
pkg | ||
version | ||
.gitignore | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
Makefile | ||
README.md |
leveldb-ethdb-rpc
Thin RPC wrapper around LevelDB to expose data remotely
Setup
Run the following
make build
Create a config.toml
file from example.toml file.
Update the config for path to geth leveldb and geth ancient database
[leveldb]
path = "/path/to/eth/data/geth/chaindata" # $LEVELDB_PATH
ancient = "/path/to/eth/data/geth/chaindata/ancient" # $LEVELDB_ANCIENT_PATH
Usage
After building the binary, run as
./leveldb-ethdb-rpc serve --config ./environments/config.toml