Solana
dpo2u-solana is the Solana implementation of DPO2U's compliance protocol: a set of on-chain programs that anchor compliance attestations, consent records and AI-governance attestations, plus an SP1 zero-knowledge verifier for "score stays private, proof goes on-chain".
Cluster
The Anchor workspace is configured for devnet ([provider] cluster = "devnet" in solana-programs/Anchor.toml). Program IDs below are listed under [programs.devnet] in the same file. Nothing here is a mainnet deployment claim.
Toolchain pinned in Anchor.toml: Anchor 0.31.1.
Programs
solana-programs/Anchor.toml lists 17 programs under [programs.devnet]. The repository README quotes "14 Anchor programs" as of 2026-05-11; the Anchor.toml list is newer and is what this page follows. Two programs (knect-*) belong to the KNECT token model and are built with Pinocchio, as is the compliance-registry port.
| Program | Program ID (devnet) | Purpose |
|---|---|---|
compliance_registry | 7q19zbMMFCPSDhJhh3cfUVJstin6r1Q4dgmeDAuQERyK | Per-subject attestations anchoring an off-chain DPIA, audit or policy document. |
compliance_registry_pinocchio | FZ21S53Rn8Y6ANfccS2waCrkYWh5zfjXK3hkKU5YSkJ8 | Pinocchio port of the compliance registry with functional parity. |
consent_manager | D5mLHU4uUQAkoMvtviAzBe1ugpdxfdqQ7VuGoKLaTjfB | India DPDP consent registry with optional ZK binding via the SP1 verifier. |
agent_registry | 5qeuUAaJi9kTzsfmiphQ89PNrpqy7xW7sCvhBZQ6mya7 | On-chain DID records for autonomous compliance agents. |
agent_wallet_factory | AjRqmxyieQieov2qsNefdYpa6HbPhzciED7s5TfZi1in | Creates PDA-owned wallets for agents. |
aiverify_attestation | CmPVUPo54hV25r5iw59X1yR1f5tEsn7FNmywFMDiPT7j | Singapore AI Verify attestation: test report hash, model hash and vk_root. |
art_vault | C7sGZFeWPxEkaGHACwqdzCcy4QkacqPLYEwEarVpidna | MiCAR Asset-Referenced Token safeguards (proof of reserve, liquidity vault, capital buffer, velocity limiter). |
fee_distributor | 88eKEEMMnugv8AFWRvqa4i7LEiL7tM9bEuPTVkRbD76x | Splits incoming deposits 70/20/10 (treasury, operator, reserve). |
payment_gateway | 4Qj6GziMjUfh4TszuSnasnEqnASqQBS6SHw6YAu9U23Q | x402-style settlement for per-API-call charging. |
popia_info_officer_registry | ASqTAMhhki7btr3WL768v2yUPKWuGfMEGWnP7TxALmmb | Register of Information Officer appointments under POPIA section 55 (South Africa). |
ccpa_optout_registry | 5xVQq4KKsAST14RGvxP2aSNZhp681tRENM9TFwVfUpgk | Verifiable Do-Not-Sell/Share record under CCPA section 1798.135. |
pipeda_consent_extension | G98d5DAEC17xWfojMCdsYrAdAXP8E7QC2g2KrrnLrMPT | Granular consent records aligned to PIPEDA Schedule 1, Principle 4 (Canada). |
pipa_korea_zk_identity | 41JLtHb54P8LMLeSccZM1XR6xr4gxcDbVrNRZVg2hPhR | ZK identity-attribute anchor aligned to PIPA Art. 24, without storing identifiers. |
hiroshima_ai_process_attestation | 4qPsou8f6QFacbZeW75ZZ1mZiYi5PtxuoRSJLyZZVQqx | Voluntary attestation of AI-governance commitments (G7 Hiroshima AI Process ICOC). |
legal_source_manifest | eb579ftMYPtFb7pSsB3ULJJHCbisYe7EJdhWnHUt8dK | On-chain pointer and content hash for versions of the jurisdictional legal corpus. |
knect_tokenomics_pinocchio | Emhv7pBYgqyYQ2Bzcbi8nXphA1AmgoWmU7aKKxCNbk2v | KNECT phased revenue split (Pinocchio). |
knect_kbr_pinocchio | 2KjMGtciVcoWVJ6qUjkwupixUWW8kyvRNSpDdgAWeXd9 | KBR reserve vault and redemption (Pinocchio). |
Zero-knowledge verification (SP1)
- The
sp1-solanacrate is DPO2U's fork ofsuccinctlabs/sp1-solana, adding a verifier entry point for SP1 v6 proofs (sp1-solana/README.md). It verifies Groth16 proofs using Solana'salt_bn128precompile. - The
zk-circuitsworkspace holds the SP1 program and scripts for thecompliance_thresholdcircuit: prove that a private compliance score is at or above a threshold. - The repository README describes the proof as 356 bytes and the on-chain pairing check as about 156k compute units. These are README claims; the README also shows a local reproduction (
cargo run --release -p dpo2u-driver -- --verboseinsidesp1-solana) that runs the committed proof through the verifier. - The
consent_managerprogram description mentions optional ZK binding via the SP1 verifier.
MCP integration
Solana-side MCP tools include submit_compliance_attestation, submit_consent_record, register_popia_io, register_ccpa_optout, record_pipeda_consent, issue_pipa_zk_identity and submit_hiroshima_icoc_attestation. See the Tool catalog.