Skip to content

@leakscope/engine 0.1.0

Latest

Choose a tag to compare

@AdityaWisnuu AdityaWisnuu released this 28 Oct 15:19

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.tgz

The package installs as @leakscope/engine. Publishing to the npm registry is pending; until then, use this tarball.

  • checkSend(request, ctx) returns ok / 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. Pass baseUrl to self-host, or contextFromIndex() 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.