SDK Reference
Installation
The SDK is a Node.js / browser-compatible TypeScript package. It requires Node 18+.
bash
npm install stealthpay-sdk
Noir toolchain
Proof generation requires the Noir compiler (nargo) and the Barretenberg prover (bb).
bash
# Install nargo (Noir compiler) curl -L https://raw.githubusercontent.com/noir-lang/noirup/main/install | bash noirup # Install bb (Barretenberg prover) bbup
ℹ
Proofs are generated locally using the CLI tools above. No data is sent to any remote server during proof generation.
Peer dependencies
bash
npm install ethers@^6