Field element representation for Cairo and STARK proofs.
The stark-felt
crate provides the universal Felt
(Field Element) type for Cairo and STARK proofs. It was created to reduce the fragmentation in the Starknet Rust ecosystem by providing a standardized representation of the Felt
type.
Felt
type: Simplify your codebase by using our standardized Felt
type.Felt
type has been optimized for high-performance applications.Here are some examples of how to use the Felt
type:
rust
// example code here
Include stark-felt
in your library by adding the following to your Cargo.toml
:
toml
[dependencies]
stark-felt = { version = "0.0.2", git = "https://github.com/starknet-io/types-rs" }
Clone the repository and navigate to the stark-felt directory. Then run:
bash
cargo build --release
Clone the repository and navigate to the stark-felt directory. Then run:
bash
cargo test
Contributions are welcome! Please read our contributing guidelines for more information.
This repository is licensed under the MIT License, see LICENSE for more information.