New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

swiftness

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swiftness

Swiftness CairoVM Verifier

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
0
Created
Source

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 { loadSwiftnessModule } from "swiftness";

// Load the module and verify the proof
let [parse_proof, verify_proof] = await loadSwiftnessModule(layout, commitment, stone);
const output = JSON.parse(verify_proof(parse_proof(proof)));

console.log({ programHash: output['program_hash'], outputHash: output['output_hash'] });

Contributing

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

FAQs

Package last updated on 12 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts