Skip to content

Sigma Rust#

Rust implementation of ErgoScript (sigmastate-interpreter) cryptocurrency scripting language.


ergo-lib Latest Version Documentation

Overarching crate exposing wallet-related features: chain types (transactions, boxes, etc.), JSON serialization, box selection for tx inputs, tx builder and signing. Exports other crates API, probably the only crate you'd need to import.

ergotree-interpreter Latest Version Documentation

ErgoTree interpreter

ergotree-ir Latest Version Documentation

ErgoTree IR and serialization.

ergoscript-compiler Latest Version Documentation

ErgoScript compiler.

sigma-ser Latest Version Documentation

Ergo binary serialization primitives.


Usage Examples#

To get better understanding on how to use it in your project check out how its being used in the following projects:




Also take a look at tests where various usage scenarios were implemented.