Skip to main content

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.

ProgramProgram ID (devnet)Purpose
compliance_registry7q19zbMMFCPSDhJhh3cfUVJstin6r1Q4dgmeDAuQERyKPer-subject attestations anchoring an off-chain DPIA, audit or policy document.
compliance_registry_pinocchioFZ21S53Rn8Y6ANfccS2waCrkYWh5zfjXK3hkKU5YSkJ8Pinocchio port of the compliance registry with functional parity.
consent_managerD5mLHU4uUQAkoMvtviAzBe1ugpdxfdqQ7VuGoKLaTjfBIndia DPDP consent registry with optional ZK binding via the SP1 verifier.
agent_registry5qeuUAaJi9kTzsfmiphQ89PNrpqy7xW7sCvhBZQ6mya7On-chain DID records for autonomous compliance agents.
agent_wallet_factoryAjRqmxyieQieov2qsNefdYpa6HbPhzciED7s5TfZi1inCreates PDA-owned wallets for agents.
aiverify_attestationCmPVUPo54hV25r5iw59X1yR1f5tEsn7FNmywFMDiPT7jSingapore AI Verify attestation: test report hash, model hash and vk_root.
art_vaultC7sGZFeWPxEkaGHACwqdzCcy4QkacqPLYEwEarVpidnaMiCAR Asset-Referenced Token safeguards (proof of reserve, liquidity vault, capital buffer, velocity limiter).
fee_distributor88eKEEMMnugv8AFWRvqa4i7LEiL7tM9bEuPTVkRbD76xSplits incoming deposits 70/20/10 (treasury, operator, reserve).
payment_gateway4Qj6GziMjUfh4TszuSnasnEqnASqQBS6SHw6YAu9U23Qx402-style settlement for per-API-call charging.
popia_info_officer_registryASqTAMhhki7btr3WL768v2yUPKWuGfMEGWnP7TxALmmbRegister of Information Officer appointments under POPIA section 55 (South Africa).
ccpa_optout_registry5xVQq4KKsAST14RGvxP2aSNZhp681tRENM9TFwVfUpgkVerifiable Do-Not-Sell/Share record under CCPA section 1798.135.
pipeda_consent_extensionG98d5DAEC17xWfojMCdsYrAdAXP8E7QC2g2KrrnLrMPTGranular consent records aligned to PIPEDA Schedule 1, Principle 4 (Canada).
pipa_korea_zk_identity41JLtHb54P8LMLeSccZM1XR6xr4gxcDbVrNRZVg2hPhRZK identity-attribute anchor aligned to PIPA Art. 24, without storing identifiers.
hiroshima_ai_process_attestation4qPsou8f6QFacbZeW75ZZ1mZiYi5PtxuoRSJLyZZVQqxVoluntary attestation of AI-governance commitments (G7 Hiroshima AI Process ICOC).
legal_source_manifesteb579ftMYPtFb7pSsB3ULJJHCbisYe7EJdhWnHUt8dKOn-chain pointer and content hash for versions of the jurisdictional legal corpus.
knect_tokenomics_pinocchioEmhv7pBYgqyYQ2Bzcbi8nXphA1AmgoWmU7aKKxCNbk2vKNECT phased revenue split (Pinocchio).
knect_kbr_pinocchio2KjMGtciVcoWVJ6qUjkwupixUWW8kyvRNSpDdgAWeXd9KBR reserve vault and redemption (Pinocchio).

Zero-knowledge verification (SP1)​

  • The sp1-solana crate is DPO2U's fork of succinctlabs/sp1-solana, adding a verifier entry point for SP1 v6 proofs (sp1-solana/README.md). It verifies Groth16 proofs using Solana's alt_bn128 precompile.
  • The zk-circuits workspace holds the SP1 program and scripts for the compliance_threshold circuit: 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 -- --verbose inside sp1-solana) that runs the committed proof through the verifier.
  • The consent_manager program 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.