nimbus-eth2/ncli
Etan Kissling 18af8dcd9f
Merge branch 'stable' into dev/etan/df-forkedblobs
2024-08-30 14:54:33 +02:00
..
.gitignore
README.md docs: fix typos (#5571) 2023-11-06 03:56:07 +00:00
deposit_downloader.nim
download_mainnet_deposits.sh
e2store.nim
e2store.py
era.nim
logtrace.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
ncli.nim
ncli_common.nim replace validator Bloom filter with partial bucket sort (#6469) 2024-08-02 07:30:22 +02:00
ncli_db.nim fix `ncli_db` 2024-07-25 19:30:25 +02:00
ncli_query.nim
ncli_split_keystore.nim
ncli_testnet.nim refactor engine API conversions out of EL manager (#6507) 2024-08-22 16:12:03 +02:00
nim.cfg
nimquery.nim
requirements.txt
resttest-rules.json add some Electra config constants to beacon API config endpoint (#6479) 2024-08-07 18:15:29 +02:00
resttest.nim update some deprecated stew/results to results imports (#5743) 2024-01-16 22:37:14 +00:00
resttest.nim.cfg
validator_db_aggregator.nim
validator_db_reports.ipynb

README.md

Introduction

ncli is a set of low level / debugging tools to interact with the nimbus beacon chain specification implementation, similar to zcli. With it, you explore SSZ, make state transitions and compute hash tree roots.

Tools

  • transition: Perform state transition given a pre-state and a block to apply (both in SSZ format)
  • hash_tree_root: Print tree root of an SSZ object
  • pretty: Pretty-print SSZ object as JSON

Building

Follow the instructions from nimbus-eth2

git clone https://github.com/status-im/nimbus-eth2.git
cd nimbus-eth2
make

Usage

# Build with minimal config
../env.sh nim c -d:const_preset=minimal ncli_transition
# Build with mainnet config
../env.sh nim c -d:const_preset=mainnet ncli_transition

# Run..
./ncli_transition --help