9 releases (breaking)

Uses new Rust 2021

0.8.1 Nov 21, 2022
0.7.0 Sep 7, 2022
0.5.0 Jul 14, 2022
0.2.0 Mar 8, 2022

#518 in Cryptography

Download history 160/week @ 2022-08-13 55/week @ 2022-08-20 86/week @ 2022-08-27 123/week @ 2022-09-03 137/week @ 2022-09-10 118/week @ 2022-09-17 105/week @ 2022-09-24 110/week @ 2022-10-01 82/week @ 2022-10-08 77/week @ 2022-10-15 126/week @ 2022-10-22 111/week @ 2022-10-29 94/week @ 2022-11-05 29/week @ 2022-11-12 128/week @ 2022-11-19 158/week @ 2022-11-26

439 downloads per month
Used in 11 crates (3 directly)

CC0 license

140KB
3K 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

~7MB
~177K SLoC