swiftness-small-keccak
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

Swiftness CairoVM Verifier

Version Continuous Integration

Crates.io Version docs.rs hub.docker

Swiftness is a Rust implementation of the Cairo-VM STARK verifier with layouts, inspired by StarkWare's Cairo-verifier in Cairo0.

Example Usage

import init, { verify_proof } from "swiftness-{layout}-{commitment hash}";

async function run(proof_json) {
  await init(); // Initialize the Wasm module
  try {
    const [programHash, programOutput] = JSON.parse(
      await verify_proof(proof_json),
    );
  } catch (err) {
    console.error(`Verification failed: ${err}`);
  }
}

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to help improve this project.

Readme

Keywords

none

Package Sidebar

Install

npm i swiftness-small-keccak

Weekly Downloads

6

Version

0.0.8

License

SEE LICENSE IN LICENSE

Unpacked Size

2.18 MB

Total Files

6

Last publish

Collaborators

  • iosis-tech