Developer SDK
Integrate Sealed zero-knowledge proofs into your own decentralized application.
Verification Integration
You can verify a user's reputation threshold instantly using our SDK. The user generates a ZK proof in their client, and you verify it against the Miden network state.
import { WebClient } from "@miden-sdk/miden-sdk";
import { useWallet } from "@demox-labs/miden-wallet-adapter";
// 1. Request user to prove their reputation
const { requestTransaction } = useWallet();
const transaction = {
type: 'custom',
payload: {
recipientAddress: SEALED_CONTRACT_ID,
transactionRequest: proofRequest,
}
};
await requestTransaction(transaction);
// 2. Verify on-chain results
const client = new WebClient("https://rpc.testnet.miden.io:443");
await client.initialize();
const state = await client.syncState();
console.log("Current block:", state.blockNumber);Supported Tiers
Bronze
Score > 0
Silver
Score ≥ 200
Gold
Score ≥ 500
Platinum
Score ≥ 1000