Thin RPC wrapper around LevelDB to expose ethdb interface remotely
Go to file
Michael d8950625d7
Merge pull request #21 from cerc-io/rebase-1.11.4-wip
version update for geth 1.11.4 statediffing 4.3.8 and comment cleanup
2023-03-17 09:41:54 -04: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 version update for geth 1.11.4 statediffing 4.3.8 and comment cleanup 2023-03-17 09:41:01 -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 version update for geth 1.11.4 statediffing 4.3.8 and comment cleanup 2023-03-17 09:41:01 -04:00
go.sum version update for geth 1.11.4 statediffing 4.3.8 and comment cleanup 2023-03-17 09:41:01 -04: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