Thin RPC wrapper around LevelDB to expose ethdb interface remotely
Go to file
2024-06-24 16:43:26 +00:00
.github/workflows Create issues-notion-sync.yml 2022-07-01 09:18:23 -04:00
cmd update for geth 1.11.2 statediff rebase and cerc-io refactoring 2023-03-10 13:00:21 -05:00
environments fin/fix CLI and ENV integration 2021-12-31 12:59:04 -06:00
pkg Update to Geth 1.14 (#24) 2024-06-24 16:43:26 +00: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 to Geth 1.14 (#24) 2024-06-24 16:43:26 +00:00
go.sum Update to Geth 1.14 (#24) 2024-06-24 16:43:26 +00:00
LICENSE boilerplate 2021-12-30 08:28:25 -06:00
main.go update for geth 1.11.2 statediff rebase and cerc-io refactoring 2023-03-10 13:00:21 -05: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