Root docs
Repository viewer
Legacy docs parity surface
Back to repository viewer
Repository document

Cloak Devnet SDK Live Probe

cloak-devnet-sdk-live-probe.generated.md

Boundary

This route preserves legacy markdown access inside the Next.js surface. The raw repository file remains authoritative.

Open raw file

Cloak Devnet SDK Live Probe

Generated: 2026-05-14T08:30:46.803Z

This packet verifies the current PrivateDAO Cloak lane against the official Cloak devnet SDK contract without printing private material.

Network

  • Package: @cloak.dev/sdk-devnet (0.1.5-devnet.1)
  • Program: Zc1kHfp4rajSMeASFDwFFgkHRjv7dFQuLheJoQus27h
  • Relay: https://api.devnet.cloak.ag
  • Solana RPC: https://api.devnet.solana.com
  • Mock USDC mint: 61ro7AExqfk4dZYoCyRzTahahCC2TdUUZ4M5epMPunJf

Capability Matrix

GroupStatusReason
Note APInot usedThe current integration uses the UTXO transaction surface as the primary SDK path. Legacy note helpers are not needed for this settlement lane.
UTXO APIusedThe probe imports transact, createUtxo, createZeroUtxo, generateUtxoKeypair, transfer, fullWithdraw, partialWithdraw, swapUtxo, and swapWithChange from @cloak.dev/sdk-devnet.
Scanner/complianceavailablescanTransactions, scanAllTransactions, scanTransactionsByViewingKey, and formatComplianceCsv are present. Full history scan needs a funded wallet and persisted UTXOs.
Viewing keys + metadata encryptionused for readinessgetNkFromUtxoPrivateKey and metadata encryption exports are present. The probe never prints viewing keys, UTXO private keys, seed material, or raw note payloads.
Relay/proof/Merkle helpersused for readinessRelayService, buildMerkleTreeFromRelay, computeProofFromChain, and readMerkleTreeState are present; relay health is checked live.
Utility modulesusedFee constants, calculateFeeBigint, NATIVE_SOL_MINT, DEVNET_MOCK_USDC_MINT, and error helpers are imported and recorded for reviewer validation.

Export Check

ExportPresent
CLOAK_PROGRAM_IDyes
DEVNET_MOCK_USDC_MINTyes
NATIVE_SOL_MINTyes
MIN_DEPOSIT_LAMPORTSyes
transactyes
transferyes
partialWithdrawyes
fullWithdrawyes
swapUtxoyes
swapWithChangeyes
createUtxoyes
createZeroUtxoyes
generateUtxoKeypairyes
getNkFromUtxoPrivateKeyyes
RelayServiceyes
buildMerkleTreeFromRelayyes
computeProofFromChainyes
scanTransactionsyes
formatComplianceCsvyes
calculateFeeBigintyes

Live Results

  • Cloak docs index: ok
  • Cloak relay health: ok via https://api.devnet.cloak.ag/health
  • Devnet program executable: yes
  • Devnet slot: 462266542
  • PrivateDAO read-node intent receipt: ok
  • Intent execution reference: cloak-8ec50ad62805b94b82514786
  • Intent receipt hash: 8ec50ad62805b94b82514786cf237875cb037d2301b7f5c3a9e076b48fb035d6
  • Intent mode: testnet-intent-receipt
  • Intent source: cloak-read-node-receipt
  • E2E deposit probe: funding-unavailable
  • E2E note: Solana devnet faucet rejected all temporary-wallet funding attempts during this run.
  • Funding attempts: 3

Safety Boundary

The probe never prints private keys, viewing keys, UTXO private keys, raw notes, or seed material. Public transaction signatures and public receipt references may be printed for support and verification.

To run the optional funded devnet deposit path:

PRIVATE_DAO_CLOAK_E2E=1 npm run probe:cloak-devnet-sdk

The default run keeps the live check to documentation, relay, program account, exported SDK contract, and PrivateDAO read-node intent receipt.