Thin RPC wrapper around LevelDB to expose ethdb interface remotely
Go to file
Abdul Rabbani cf23cf8d21
Merge pull request #11 from vulcanize/release-0.1.2
Update go version and fix dependencies.
2022-05-31 07:34:59 -04:00
cmd Update readme to run server 2022-05-09 13:01:34 +05:30
environments fin/fix CLI and ENV integration 2021-12-31 12:59:04 -06:00
pkg Update go version and fix dependencies. 2022-05-27 14:48:36 -04:00
version version 2021-12-30 15:56:07 -06:00
.gitignore Upgrade geth version 2022-05-09 15:50:27 +05:30
go.mod Update go version and fix dependencies. 2022-05-27 14:48:36 -04:00
go.sum Update go version and fix dependencies. 2022-05-27 14:48:36 -04:00
LICENSE boilerplate 2021-12-30 08:28:25 -06:00
main.go boilerplate 2021-12-30 08:28:25 -06:00
Makefile Upgrade geth version 2022-05-09 15:50:27 +05:30
README.md Update readme to run server 2022-05-09 13:01:34 +05:30

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