Rust implementation of ErgoScript cryptocurrency scripting language.
See Architecture for high-level overview.
Crates
ErgoScript compiler.
ErgoTree IR and serialization.
ErgoTree interpreter.
Chain types (transactions, boxes, etc.), JSON serialization, box selection for tx inputs, tx creation and signing.
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:
- Ergo Headless dApp Framework;
- Ergo Node Interface Library;
- Oracle Core;
- AgeUSD Stablecoin Protocol;
- Yoroi wallet (WASM bindings);
- Ergo Desktop Wallet (WASM bindings);
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.