nimbus-eth2/ncli
Jacek Sieka 347a485b5b
bearssl: split abi (#3755)
2022-06-21 10:29:16 +02:00
..
.gitignore
README.md
deposit_downloader.nim
download_mainnet_deposits.sh
e2store.nim
e2store.py
logtrace.nim Implement all sync committee duties in the validator client (#3583) 2022-05-10 10:03:40 +00:00
ncli.nim ncli: altair+ slot and state transitions (#3721) 2022-06-09 12:57:33 +00:00
ncli_common.nim fix unnecessary HashList/HashArray cache invalidation (#3660) 2022-05-30 13:30:42 +00:00
ncli_db.nim fix unnecessary HashList/HashArray cache invalidation (#3660) 2022-05-30 13:30:42 +00:00
ncli_query.nim
ncli_split_keystore.nim bearssl: split abi (#3755) 2022-06-21 10:29:16 +02:00
nim.cfg
nimquery.nim
requirements.txt Bump notebook from 6.4.10 to 6.4.12 in /ncli (#3769) 2022-06-17 10:20:33 +00:00
resttest-rules.json Correct URLs for the DeleteKeys request in the Keymanager API (#3727) 2022-06-19 20:54:12 +03:00
resttest.nim Implement all sync committee duties in the validator client (#3583) 2022-05-10 10:03:40 +00:00
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, simliar 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