nimbus-eth2/ncli
tersec 89d9aa9240
sync committee topic names; borrow -> template/distinctbase (#2781)
2021-08-15 16:50:31 +02:00
..
.gitignore A simple script for fetching detailed deposit data 2021-05-28 19:34:20 +03:00
README.md
deposit_downloader.nim A simple script for fetching detailed deposit data 2021-05-28 19:34:20 +03:00
download_mainnet_deposits.sh A simple script for fetching detailed deposit data 2021-05-28 19:34:20 +03:00
e2store.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
e2store.py e2store: add era format (#2382) 2021-03-15 11:31:39 +01:00
logtrace.nim add aggregated attestation tracing to logtrace and enable it in Jenkins (#2766) 2021-08-06 21:25:30 +00:00
ncli.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
ncli_db.nim sync committee topic names; borrow -> template/distinctbase (#2781) 2021-08-15 16:50:31 +02:00
ncli_query.nim
nim.cfg
nimquery.nim Move tools (#2370) 2021-03-02 15:02:10 +01:00
resttest-rules.json Fix getBlockHeaders() should return array. (#2732) 2021-07-24 19:22:05 +02:00
resttest.nim REST API test framework and tests. (#2492) 2021-04-27 23:46:24 +03:00

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