{"_id":"@b402ai/solana-prover","_rev":"4-35a10359d4e30b6f1fcab1d3581e556a","name":"@b402ai/solana-prover","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"name":"@b402ai/solana-prover","version":"0.0.1","license":"Apache-2.0","_id":"@b402ai/solana-prover@0.0.1","maintainers":[{"name":"mayurc9","email":"mayur@vistara.dev"}],"homepage":"https://github.com/mmchougule/b402-solana#readme","bugs":{"url":"https://github.com/mmchougule/b402-solana/issues"},"dist":{"shasum":"15ea2c8eea5be49758aae160500fc3a6ca183196","tarball":"https://registry.npmjs.org/@b402ai/solana-prover/-/solana-prover-0.0.1.tgz","fileCount":15,"integrity":"sha512-TkeB9BbLg+FHX0YM4VOkH3BsjhW7uBt0sBkiKSleQvjEzvfstc/5fQaNZgdBvyO1UUPEIaXXwTv3X3k8M9CCug==","signatures":[{"sig":"MEUCIDPToEnvTAA4adcIDAb6xz+LPYPkOr2dXwYjQRJ9lJWiAiEA3/2CZAmPmPliCKcMIrBo8tyKLzbcMcqRPyYuav90F00=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50022},"main":"./dist/index.js","type":"module","_from":"file:b402ai-solana-prover-0.0.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayurc9","email":"mayur@vistara.dev"},"_resolved":"/private/tmp/b402-tarballs/b402ai-solana-prover-0.0.1.tgz","_integrity":"sha512-TkeB9BbLg+FHX0YM4VOkH3BsjhW7uBt0sBkiKSleQvjEzvfstc/5fQaNZgdBvyO1UUPEIaXXwTv3X3k8M9CCug==","repository":{"url":"git+https://github.com/mmchougule/b402-solana.git","type":"git","directory":"packages/prover"},"_npmVersion":"11.4.2","description":"Groth16 proof generation for the b402 Solana shielded pool (transact + adapt circuits)","directories":{},"_nodeVersion":"24.4.0","dependencies":{"snarkjs":"^0.7.6","ffjavascript":"^0.3.1","@b402ai/solana-shared":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.1.4","typescript":"^5.6.3","@types/node":"^22.9.0","circomlibjs":"^0.1.7"},"_npmOperationalInternal":{"tmp":"tmp/solana-prover_0.0.1_1777351850716_0.09286609384847844","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@b402ai/solana-prover","version":"0.0.2","license":"Apache-2.0","_id":"@b402ai/solana-prover@0.0.2","maintainers":[{"name":"mayurc9","email":"mayur@vistara.dev"}],"homepage":"https://github.com/mmchougule/b402-solana#readme","bugs":{"url":"https://github.com/mmchougule/b402-solana/issues"},"dist":{"shasum":"8779de879c4412b5c55c93b07da93738457f8e76","tarball":"https://registry.npmjs.org/@b402ai/solana-prover/-/solana-prover-0.0.2.tgz","fileCount":15,"integrity":"sha512-B9dMwGdYbppgOfIB/ePTXGEE0o2UUYaqWcnAAmeCWdrj5efm2PBBwML2PqtbcOiyKPwyBPxNMfl7qKuqpX3kXA==","signatures":[{"sig":"MEQCIGwIpSf0TkB1G6cC/4Or1cUEC9Tk93WQwVtCKPLfzsHsAiA6TTgJskGHwinp1ylWV5/UwO65Nec9lb+mmYUicivBnQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50418},"main":"./dist/index.js","type":"module","_from":"file:b402ai-solana-prover-0.0.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayurc9","email":"mayur@vistara.dev"},"_resolved":"/private/var/folders/cq/7cvl90hx5nz9d9nnf45fykj00000gn/T/e6864204c1cc6c82c8e56647c5982a49/b402ai-solana-prover-0.0.2.tgz","_integrity":"sha512-B9dMwGdYbppgOfIB/ePTXGEE0o2UUYaqWcnAAmeCWdrj5efm2PBBwML2PqtbcOiyKPwyBPxNMfl7qKuqpX3kXA==","repository":{"url":"git+https://github.com/mmchougule/b402-solana.git","type":"git","directory":"packages/prover"},"_npmVersion":"11.4.2","description":"Groth16 proof generation for the b402 Solana shielded pool (transact + adapt circuits)","directories":{},"_nodeVersion":"24.4.0","dependencies":{"snarkjs":"^0.7.6","ffjavascript":"^0.3.1","@b402ai/solana-shared":"0.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.1.4","typescript":"^5.6.3","@types/node":"^22.9.0","circomlibjs":"^0.1.7"},"_npmOperationalInternal":{"tmp":"tmp/solana-prover_0.0.2_1777781686761_0.5178914027090009","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@b402ai/solana-prover","version":"0.0.3","license":"Apache-2.0","_id":"@b402ai/solana-prover@0.0.3","maintainers":[{"name":"mayurc9","email":"mayur@vistara.dev"}],"homepage":"https://github.com/mmchougule/b402-solana#readme","bugs":{"url":"https://github.com/mmchougule/b402-solana/issues"},"dist":{"shasum":"1b60abab88b718bb3698af04ef937e68cda1fd36","tarball":"https://registry.npmjs.org/@b402ai/solana-prover/-/solana-prover-0.0.3.tgz","fileCount":15,"integrity":"sha512-2fSpyYzc00xTcyXrWOMMnYOdgY2PO5H3kTC7Mc9OrB/eD3iKGThGJWrzQbtFZsDYHRFnVR8fdM2b54MqZOJb3w==","signatures":[{"sig":"MEUCIQChMYpOvFZCsuvbbzxM37QmkpBoPAW/0oA47ew7Q/Ze+AIgUp4n4BA/YpnLxWLrjapxBsPFvaibg7jERH2eIYoy5ms=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50418},"main":"./dist/index.js","type":"module","_from":"file:b402ai-solana-prover-0.0.3.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayurc9","email":"mayur@vistara.dev"},"_resolved":"/private/var/folders/cq/7cvl90hx5nz9d9nnf45fykj00000gn/T/59a77033f89da7e4b06b37e3875e50a6/b402ai-solana-prover-0.0.3.tgz","_integrity":"sha512-2fSpyYzc00xTcyXrWOMMnYOdgY2PO5H3kTC7Mc9OrB/eD3iKGThGJWrzQbtFZsDYHRFnVR8fdM2b54MqZOJb3w==","repository":{"url":"git+https://github.com/mmchougule/b402-solana.git","type":"git","directory":"packages/prover"},"_npmVersion":"11.4.2","description":"Groth16 proof generation for the b402 Solana shielded pool (transact + adapt circuits)","directories":{},"_nodeVersion":"24.4.0","dependencies":{"snarkjs":"^0.7.6","ffjavascript":"^0.3.1","@b402ai/solana-shared":"0.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.1.4","typescript":"^5.6.3","@types/node":"^22.9.0","circomlibjs":"^0.1.7"},"_npmOperationalInternal":{"tmp":"tmp/solana-prover_0.0.3_1777782067051_0.07776769550403717","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@b402ai/solana-prover","version":"0.0.4","description":"Groth16 proof generation for the b402 Solana shielded pool (transact + adapt circuits)","license":"Apache-2.0","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"engines":{"node":">=20"},"repository":{"type":"git","url":"git+https://github.com/mmchougule/b402-solana.git","directory":"packages/prover"},"homepage":"https://github.com/mmchougule/b402-solana#readme","bugs":{"url":"https://github.com/mmchougule/b402-solana/issues"},"publishConfig":{"access":"public"},"dependencies":{"ffjavascript":"^0.3.1","snarkjs":"^0.7.6","@b402ai/solana-shared":"0.0.3"},"devDependencies":{"@types/node":"^22.9.0","circomlibjs":"^0.1.7","typescript":"^5.6.3","vitest":"^2.1.4"},"scripts":{"build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit","test":"vitest run"},"_id":"@b402ai/solana-prover@0.0.4","_integrity":"sha512-YNJ0aZsdw6124vO5TUarabmK2y5nWUyuHMgXeYtiUbCYrSkmVsR85aYuWC0BPO3ihd3KD4hGzaYB/eYvOD/k5w==","_resolved":"/private/var/folders/cq/7cvl90hx5nz9d9nnf45fykj00000gn/T/b48ac3a1232b620f486dd11de5d69ed3/b402ai-solana-prover-0.0.4.tgz","_from":"file:b402ai-solana-prover-0.0.4.tgz","_nodeVersion":"24.4.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-YNJ0aZsdw6124vO5TUarabmK2y5nWUyuHMgXeYtiUbCYrSkmVsR85aYuWC0BPO3ihd3KD4hGzaYB/eYvOD/k5w==","shasum":"111cd470e4a2a8a85654e744ee05151a314de805","tarball":"https://registry.npmjs.org/@b402ai/solana-prover/-/solana-prover-0.0.4.tgz","fileCount":15,"unpackedSize":53038,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCLfW0aRWG8ypFsHLbJVVaQxKU09yex1JDRnt/JglahawIhAPzxQRV+t2GN/5CCn5NdSiBPn56xg/3zcDVzRCZGM43A"}]},"_npmUser":{"name":"mayurc9","email":"mayur@vistara.dev"},"directories":{},"maintainers":[{"name":"mayurc9","email":"mayur@vistara.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/solana-prover_0.0.4_1778038423402_0.07543365807487379"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-28T04:50:50.577Z","modified":"2026-05-06T03:33:43.680Z","0.0.1":"2026-04-28T04:50:50.855Z","0.0.2":"2026-05-03T04:14:46.903Z","0.0.3":"2026-05-03T04:21:07.182Z","0.0.4":"2026-05-06T03:33:43.561Z"},"bugs":{"url":"https://github.com/mmchougule/b402-solana/issues"},"license":"Apache-2.0","homepage":"https://github.com/mmchougule/b402-solana#readme","repository":{"type":"git","url":"git+https://github.com/mmchougule/b402-solana.git","directory":"packages/prover"},"description":"Groth16 proof generation for the b402 Solana shielded pool (transact + adapt circuits)","maintainers":[{"name":"mayurc9","email":"mayur@vistara.dev"}],"readme":"# @b402ai/solana-prover\n\nGroth16 proof generation for the b402 Solana shielded pool — `transact` and `adapt` circuits.\n\nUsed internally by `@b402ai/solana`. Most consumers don't depend on this directly.\n\n## What's in here\n\n- `TransactProver` — generates proofs for shield/unshield/transfer flows\n- `AdaptProver` — generates proofs for `adapt_execute` (private swap / lend)\n- `WitnessBuilder` — compiles witness inputs from spendable notes + actions\n- `Groth16Proof` type re-export\n\n## Circuit artifacts\n\nThe prover loads `wasm` + `zkey` files at runtime. Pass them via `proverArtifacts`:\n\n```ts\nnew TransactProver({\n  wasmPath: '/abs/path/to/transact.wasm',\n  zkeyPath: '/abs/path/to/transact_final.zkey',\n});\n```\n\nThrowaway-devnet artifacts ship with the b402-solana repo under `circuits/build/`. Mainnet ceremony output is the production zkey — see [PRD-08](https://github.com/mmchougule/b402-solana/blob/main/docs/prds/PRD-08-ceremony.md).\n\n## License\n\nApache-2.0. See [LICENSE](https://github.com/mmchougule/b402-solana/blob/main/LICENSE).\n","readmeFilename":"README.md"}