Thin RPC wrapper around LevelDB to expose ethdb interface remotely
Go to file
Michael ab847166c4
Merge pull request #18 from cerc-io/v0.1.9-wip
dependency update for geth 1.10.26 release
2022-11-07 11:40:36 -05:00
.github/workflows Create issues-notion-sync.yml 2022-07-01 09:18:23 -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 go-ethereum update for 1.10.20 requires node.RegisterApis change 2022-07-19 01:21:46 -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 dependency update for geth 1.10.26 release 2022-11-07 11:39:00 -05:00
go.sum dependency update for geth 1.10.26 release 2022-11-07 11:39:00 -05: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