Go wrapper around C bindings for ErgoLib from sigma-rust
go get -u https://github.com/sigmaspace-io/ergo-lib-go
This library makes heavy use of cgo. A set of precompiled shared library objects are provided. For the time being the following platforms are supported and tested against:
Platform | Architecture | Triple | Supported | Tested |
---|---|---|---|---|
Linux | amd64 |
x86_64-unknown-linux-gnu |
✅ | ✅ |
aarch64 |
aarch64-unknown-linux-gnu |
✅ | ⏳ | |
Darwin | amd64 |
x86_64-apple-darwin |
✅ | ✅ |
aarch64 |
aarch64-apple-darwin |
⏳ | ⏳ | |
Windows | amd64 |
x86_64-pc-windows-msvc |
⏳ | ⏳ |
sigma-rust Version | ergo-lib-go Version |
---|---|
v0.26.0 | v0.26.0 |
The libraries under lib
where compiled from sigma-rust
with the following commands:
cross build -p ergo-lib-c --release --target x86_64-apple-darwin
cross build -p ergo-lib-c --release --target x86_64-unknown-linux-gnu
cross build -p ergo-lib-c --release --target aarch64-unknown-linux-gnu
cross build -p ergo-lib-c --release --target x86_64-pc-windows-gnu