Skip to content

Sigma Rust#

sigma-rust is an alternative and simple implementation of ErgoTree interpreter and transaction-building tools.

See Architecture for high-level overview.

Contributing#

There is a labelled issues tab on sigma-rust that anyone can pick up. If you are working on something, leave a comment, so others know. @greenhat is ready to assist with anyone interested on Discord.

Crates#

ergoscript-compiler Latest Version Documentation

ErgoScript compiler.

ergotree-ir Latest Version Documentation

ErgoTree IR and serialization.

ergotree-interpreter Latest Version Documentation

ErgoTree interpreter.

ergo-lib Latest Version Documentation

Chain types (transactions, boxes, etc.), JSON serialization, box selection for tx inputs, tx creation and signing.

sigma-ser Latest Version Documentation

Ergo binary serialization primitives.

Bindings:

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.

Tools#