14 releases (9 breaking)

Uses new Rust 2021

0.10.1 Nov 21, 2022
0.9.0 Sep 7, 2022
0.7.0 Jul 14, 2022
0.4.0 Mar 8, 2022
0.1.0 Oct 6, 2020

#263 in Rust patterns

Download history 229/week @ 2022-08-10 132/week @ 2022-08-17 96/week @ 2022-08-24 121/week @ 2022-08-31 286/week @ 2022-09-07 216/week @ 2022-09-14 113/week @ 2022-09-21 161/week @ 2022-09-28 121/week @ 2022-10-05 96/week @ 2022-10-12 72/week @ 2022-10-19 190/week @ 2022-10-26 123/week @ 2022-11-02 122/week @ 2022-11-09 107/week @ 2022-11-16 141/week @ 2022-11-23

493 downloads per month
Used in 17 crates (7 directly)

CC0 license

50KB
1K SLoC

Coverage Status

Rust implementation of ErgoScript cryptocurrency scripting language.

See Architecture for high-level overview.

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:

Changelog

See CHANGELOG.md.

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.

Contributing

See Contributing guide.

Feel free to join the Ergo Discord and ask questions on #sigma-rust channel.

Dependencies

~1.1–1.6MB
~38K SLoC