Expand description
A unified Felt for on-chain and off-chain Miden Rust code.
This crate provides a single Felt type that can be used in both on-chain (Wasm) and off-chain
(native) Rust code:
- When targeting the Miden VM via Wasm,
Feltis backed by an on-chain felt. - Otherwise,
Feltis backed by a felt (miden-core’s field element).
Structs§
- Felt
- A
Feltrepresented as a felt (miden_core::Felt).
Enums§
Constants§
- MODULUS
- The field modulus,
2^64 - 2^32 + 1.