Skip to content

Repository files navigation

GitHub LicenseMinimum Supported Rust VersionAsk DeepWiki

Warning

This SDK is in early stages of development and different crates may have different levels of conformance and testing rigour. The completeness of one crate does not imply the completeness of others.

As with any alternate implementation, unintended deviations from the reference implementation (i.e. Dash Core) are possible and must be accounted for as a risk when building on this SDK. If requirements demand strict conformance guarantees, it is recommended to interface with Dash Core through RPC, REST or ZMQ instead.

base-sdk is a parsing and stateless verification SDK for Dash's layer 1 blockchain.

Crates

CrateDescriptionCI (develop)Coverage
dash-numHash blobs, 256-bit arithmetic, compact target encodingdash-numdash-num
dash-p2p-coreP2P message types and wire formatdash-p2p-coredash-p2p-core
dash-paramsChain parameters for mainnet, testnet3, and regtestdash-paramsdash-params
dash-pkcBLS (legacy + IETF) and secp256k1 operationsdash-pkcdash-pkc
dash-powProof of work schemedash-powdash-pow
dash-primitivesBlocks, transactions, payloads, governance objectsdash-primitivesdash-primitives
dash-scriptScript opcodes, classification, and address derivationdash-scriptdash-script
dash-typesShared byte and integer newtypes, serde helpersdash-typesdash-types

Dependencies

Note

Solid lines are build dependencies. Dotted lines are test dependencies.

%%{init: { "flowchart": { "curve": "basis" } } }%%
graph LR
subgraph " "
types[dash-types]
num[dash-num]
pow[dash-pow]
end
subgraph " "
script[dash-script]
pkc[dash-pkc]
end
subgraph " "
primitives[dash-primitives]
params[dash-params]
p2p_core[dash-p2p-core]
end
types --> num
types --> script
num --> pkc
num --> primitives
script --> primitives
pkc --> p2p_core
pow --> primitives
primitives --> params
params --> p2p_core
Loading

Features

All crates support these standard features:

FeatureDescriptionCrates
(baseline)no_std + alloc, always availableAll
stdEnable standard library supportAll
serdeEnable serde serialization (where applicable)num, p2p-core, pkc, primitives, script, types
fullEnables all non-conflicting featuresAll

Specific crates define additional features:

FeatureDescriptionCrates
aes_hwEnable hardware-accelerated AES on supported platformspow
blsEnable standard and legacy BLS supportpkc
codecEnable Bitcoin-compatible wire supporttypes, pkc
ecdsaEnable secp256k1 supportpkc
simdUse SIMD backends (requires nightly)pow

License

Copyright © 2026-present, The Dash Core developers. See the accompanying file LICENSE or

https://opensource.org/license/MIT

About

A parsing and stateless verification SDK for Dash

Resources

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages