Skip to content

Rust

sigma-rust is an alternative and simple implementation of ErgoTree interpreter and transaction building tools. The goal for the Rust version is to be on par with the Scala version feature-wise. Now Rust version is still significantly behind. Also, the goal for the Rust version is to have bindings for web, iOS and Android. The Scala version will continue to be the primary choice for the JVM ecosystem, with the Rust version covering the rest.

Contributing

A list of "good first" issues is available on GitHub - @greenhat on Discord is ready to assist anyone who is interested.

The sigma-rust GitHub repo is here. There is an issues tab with labelled tasks anyone can pick up. If you are working on something, leave a comment, so others know. - contributing

References

Use https://wallet.plutomonkey.com/p2s/?source= to compile any contract to P2S address and then use it in rust like this - https://github.com/ergoplatform/sigma-rust/blob/fd197d0c0892cd24bbcb475e0a83243784700e32/ergotree-interpreter/src/contracts.rs#L159-L167 This approach should work in JS/TS WASM bindings as well.

Resources