zama_fhe 0.0.1 copy "zama_fhe: ^0.0.1" to clipboard
zama_fhe: ^0.0.1 copied to clipboard

Pure-Dart client for the Zama Protocol (fhEVM): network configs, ciphertext handle computation, FHE type system, and EIP-712 typed-data builders for user/public decryption. The cryptographic engine (T [...]

Changelog #

0.0.1 #

Initial public preview of zama_fhe — the pure-Dart core of the first Dart/Flutter SDK for the Zama Protocol (fhEVM).

  • FhevmInstance — wires a crypto backend, the relayer, and the protocol glue into one entry point (createEncryptedInput, publicDecrypt, userDecrypt).
  • EncryptedInputBuilder — typed input assembly (addBool, add8/16/32/ 64/128/256, addAddress) with range validation.
  • FHE type system: ebool, euint8euint256, eaddress.
  • Ciphertext handle computation, 92-byte auxiliary input metadata, EIP-712 typed-data builders for user/public decryption.
  • Relayer HTTP client with content-addressed key-material caching.
  • KMS threshold-signature verification (a user-decrypted value is rejected unless at least threshold responses recover to a known KMS signer).
  • Pluggable FhevmBackend / KmsBackend interfaces — the cryptographically heavy work (TFHE encryption + ZK proof, ML-KEM user decryption) is supplied by separate native (zama_fhe_ffi) or web backends, so the same app code is portable across platforms.

The full confidential lifecycle (encrypt → ZK input proof → on-chain tx → public decryption and private threshold-verified user decryption) has been verified live on Sepolia, including on-device encryption in a Flutter app on Android and iOS.

0
likes
130
points
106
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pure-Dart client for the Zama Protocol (fhEVM): network configs, ciphertext handle computation, FHE type system, and EIP-712 typed-data builders for user/public decryption. The cryptographic engine (TFHE encryption + ZK proof, ML-KEM user decryption) is provided by separate native/web backends.

Repository (GitHub)
View/report issues

Topics

#fhe #fhevm #zama #encryption #web3

License

unknown (license)

Dependencies

http, pointycastle, wallet, web3dart

More

Packages that depend on zama_fhe