Repository navigation
First release of the Leakscope wallet SDK: pre-flight privacy checks for Zcash sends.
npm install https://github.com/AdityaWisnuu/leakscope/releases/download/engine-v0.1.0/leakscope-engine-0.1.0.tgzThe package installs as @leakscope/engine. Publishing to the npm registry is pending; until then, use this tarball.
checkSend(request, ctx)returnsok/warn/danger, a 0–100 score, a one-line headline and, when the amount is revealed, a ZIP-318 split with a random broadcast schedule.loadPublishedContext()loads the public mainnet dataset (study window to block 3,515,250). By default it fetches two static files from leakscope-cyan.vercel.app/data, the same files for every caller. Nothing about the send is ever requested. PassbaseUrlto self-host, orcontextFromIndex()to bundle the data.- ESM and CJS builds plus TypeScript types. No runtime dependencies. Node 18+ and browsers.
Docs: engine/README.md. License: MIT OR Apache-2.0.