zkzkHeliosDocs

Quickstart

Generate your first proof and verify it on Solana devnet in about five minutes.

1. Install the SDK

bash
pnpm add @zkhelios/sdk @solana/web3.js

2. Connect a wallet

Any Solana wallet works (Phantom, Solflare, Backpack). Point the SDK at devnet to start.

ts
import { ZkHelios } from "@zkhelios/sdk";

const zk = new ZkHelios({ cluster: "devnet", wallet });

3. Get devnet SOL

Proof submission pays a normal Solana fee. Fund your wallet on devnet:

bash
solana airdrop 2 <YOUR_PUBKEY> --url devnet
You can also use the in-app faucet link shown when your balance is too low.

4. Generate a proof

Proving happens entirely in your browser — your private inputs never leave the device.

ts
const proof = await zk.proveBalance({ min: 100 });
// proof.publicSignals -> [threshold], proof.proof -> Groth16

5. Verify on-chain

ts
const { signature, proofAccount } = await zk.submitProof(proof);
console.log("verified on-chain:", signature);
Prefer the UI? Open the dApp's Prove page — same flow with a guided wizard.