modular blockchain framework adding financial primitives to commonware-based chains
The Nunchi SDK is an easy-to-use modular blockchain framework offering financial primitives for commonware-based chains. The core of the framework can be found in the nunchi-coins crate
A chain built with the Nunchi SDK adopts our coin and account model, dkg resharing, and bridging setup. The SDK is handcrafted for the requirements of specialized low-latency finance.
This repository will contain modules for building public and private blockchains, as well as sequencer systems / rollups.
nunchi-coins- defines what a coin and account arenunchi-common- core abstractions for addresses, state db, and runtimenunchi-crypto- core primitives/wrappers around commonware cryptographic primitivesnunchi-rpc- core abstractions for modular RPCnunchi-dkg- contains dkg resharing ceremony logic and a consensus engine orchestatornunchi-bridge- bridges state roots from other chains, to verify againstnunchi-mempool- simple p2p mempoolnunchi-oracle- ingests namespaced, arbitrary data for interpretation by other modulesnunchi-chat- allows humans or agents to publish to permanent on-chain public conversationsnunchi-factory- wrapper of coins for mass issuance
-
nunchi-authority- provides a proof of authority setup for a chain -
nunchi-pos- provides a proof of stake security setup for a chain -
nunchi-narae- local devnet runner -
nunchi-chain- runtime primitives for generated nunchi chains.
nunchi-margin- user has BTC + nunchi and doesn't want to sell, and deposits BTC+nunchi and gets a stablecoin. Could be backed by other coins, not just btc and nunchi.nunchi-securities- Non-synthetic perps contracts (delivery of tokenized stock)nunchi-vaults- a module for running vaults composed of many types of capital, traded by an authorised offchain partynunchi-clob- used on the global chain, provides liquidity between local chain tokensnunchi-derivatives- ingests a price feed and creates derivatives productsnunchi-stablecoin- a wrapper of coins special for the needs of stablecoins
coins-chain- default PoA chainbridge-chain- two chains bridging consensus certificatescustom-module- starter template for creating a custom nunchi module
This workspace pins commonware-* crates to 2026.7.0.
When upgrading nodes:
- Do not run mixed commonware versions in the same peer set (marshal coding / ZODA shards and other wire formats are not interchangeable).
- Mid-sync glue metadata from v2026.5.0 cannot resume after upgrading to v2026.7.0; clear or re-sync any node that crashed mid state-sync before the bump.
- Fresh joining nodes can enable peer QMDB state sync with
state_sync = true. Nunchi's resolver preserves Commonware's standard wire layout while decoding variable-value operations with the chain-wide 512 KiB value bound.
