#arithmetic-operations #galois-field #gf #finite-fields #polynomial #interpolation #2-192

gf2_192

Arithmetic operations and polynomial interpolation over Galois fields GF(2^192)

17 releases (breaking)

0.27.1 Dec 2, 2023
0.26.0 Oct 13, 2023
0.24.0 May 12, 2023
0.23.0 Feb 8, 2023
0.15.0 Mar 8, 2022

#92 in Math

Download history 44/week @ 2023-12-03 7/week @ 2023-12-10 23/week @ 2023-12-17 114/week @ 2023-12-24 4/week @ 2024-02-11 11/week @ 2024-02-18 46/week @ 2024-02-25 15/week @ 2024-03-03 34/week @ 2024-03-10 17/week @ 2024-03-17

114 downloads per month
Used in 9 crates (via ergotree-interpreter)

CC0 license

110KB
787 lines

Coverage Status

Rust implementation of ErgoScript cryptocurrency scripting language.

See Architecture for high-level overview.

Crates

ergo-lib Latest Version Documentation

Overarching crate exposing wallet-related features: chain types (transactions, boxes, etc.), JSON serialization, box selection for tx inputs, tx builder and signing. Exports other crates API, probably the only crate you'd need to import.

ergotree-interpreter Latest Version Documentation

ErgoTree interpreter

ergotree-ir Latest Version Documentation

ErgoTree IR and serialization.

ergoscript-compiler Latest Version Documentation

ErgoScript compiler.

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:

Rust:

TS/JS:

Examples:

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.


lib.rs:

Implementation of finite field arithmetic and polynomial interpolation/evaluation in Galois field GF(2^192).

Dependencies

~0.6–1.8MB
~40K SLoC