2 releases

0.0.2 May 25, 2023
0.0.1 May 25, 2023

#40 in #cairo

21 downloads per month

MIT license

3KB

stark-felt

Field element representation for Cairo and STARK proofs.

Overview

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.

Features

  • Standardized Felt type: Simplify your codebase by using our standardized Felt type.
  • Optimized for performance: The Felt type has been optimized for high-performance applications.

Examples

Here are some examples of how to use the Felt type:

// example code here

Usage

Include stark-felt in your library by adding the following to your Cargo.toml:

[dependencies]
stark-felt = { version = "0.0.2", git = "https://github.com/starknet-io/types-rs" }

Build from source

Clone the repository and navigate to the stark-felt directory. Then run:

cargo build --release

Testing

Clone the repository and navigate to the stark-felt directory. Then run:

cargo test

Contributing

Contributions are welcome! Please read our contributing guidelines for more information.

License

This repository is licensed under the MIT License, see LICENSE for more information.

No runtime deps