UNPKG

@jayanth-kumar-morem/snarkjs-to-solana

Version:

A comprehensive toolkit for converting snarkjs artifacts to Solana-compatible formats. This package provides both CLI tools and programmatic APIs for converting zero-knowledge proofs and verification keys from snarkjs to formats that work with Solana's gr

79 lines (78 loc) 2.2 kB
{ "name": "@jayanth-kumar-morem/snarkjs-to-solana", "version": "1.1.0", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "bin": { "snarkjs-to-solana": "./bin/cli.js" }, "exports": { ".": { "browser": "./dist/index.browser.js", "import": "./dist/index.js", "require": "./dist/index.js", "default": "./dist/index.js" } }, "author": "Jayanth Kumar <jayanthkumar1903@gmail.com>", "license": "MIT", "files": [ "dist/**/*", "examples/**/*", "proof_utils/pkg/**/*", "bin/**/*", "src/parse_vk_to_rust.js", "README.md", "LICENSE" ], "dependencies": { "commander": "^12.1.0", "ffjavascript": "^0.3.1", "proofUtils": "file:./proof_utils/pkg", "typescript": "^5.8.3" }, "scripts": { "build": "npm run build:proofUtils && tsc", "build:proofUtils": "cd proof_utils && ./build.sh && cd -", "build:proofUtils:web": "cd proof_utils && wasm-pack build --target web --out-dir pkg-web && cd -", "build:proofUtils:bundler": "cd proof_utils && wasm-pack build --target bundler --out-dir pkg-bundler && cd -", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "prePublishOnly": "npm run build && npm test", "prepare": "npm run build" }, "keywords": [ "convert-snarkjs-proof", "snarkjs-proof-convert", "groth16-proof-convert", "solana-verifier", "verification-key-to-rust", "cryptography", "zero-knowledge", "zk-proofs", "blockchain" ], "repository": { "type": "git", "url": "https://github.com/jayanth-kumar-morem/snarkjs-to-solana" }, "bugs": { "url": "https://github.com/jayanth-kumar-morem/snarkjs-to-solana/issues" }, "homepage": "https://github.com/jayanth-kumar-morem/snarkjs-to-solana#readme", "engines": { "node": ">=14.0.0" }, "devDependencies": { "@types/jest": "^30.0.0", "@typescript-eslint/eslint-plugin": "^8.34.1", "@typescript-eslint/parser": "^8.34.1", "eslint": "^9.29.0", "jest": "^30.0.2", "ts-jest": "^29.4.0" } }