Not switched on yet. Proof-gated links cannot be created or opened on inl.one today. The ZK Privacy Gateway pages describe the design.

ZK-MCP Gateway

The Gateway is the service that sits between the Document Vault and the Stellar contract. It never calls Soroban directly — Interlinked owns all on-chain interaction — and it never returns raw documents, only proofs and attestations.

🧰 MCP tool handlers

Tool Returns Purpose
verify_link_access access_granted, policy_satisfied Core Interlinked link-gating flow (real circuit)
verify_investor_status kyc_cleared, jurisdiction, accredited Gate listing/content access
verify_deal_terms price_agreed, shares_valid, escrow_funded Confirm deal structure pre-settlement
verify_payment_complete paid, amount_matched, cert_hash Trigger escrow release
verify_ownership_registered registered, registry_id, country Prove title filing without fetching the deed
verify_provenance_chain full_history_valid, current_owner_hash Full transaction history validity (RISC Zero, roadmap)

Only verify_link_access is wired to a real circuit today; the other five are stubbed for the hackathon build and scoped for full implementation on the roadmap.

🌐 REST API

POST /api/v1/links is the endpoint Sharmony (or any partner) calls to create a gated link:

  1. Accepts a jurisdiction as an ISO 3166-1 alpha-3 code (e.g. "ARE")
  2. Converts it to its ISO 3166-1 numeric equivalent (e.g. 784)
  3. Computes Poseidon(jurisdiction_numeric, accredited_flag) in pure Go, using hardcoded BN254 circomlib constants
  4. Calls stellar.Client.CreateGatedLink
  5. Returns the shortcode and the full Interlinked URL

🔒 Trust boundary

The Gateway queries the Vault through a read-only adapter — it depends on the Vault but is never part of it, and it holds no persistent copy of vault data. This separation is treated as a hard architectural rule, not a convenience: the Gateway and the Vault must remain distinct trust boundaries even as new policy types and partner platforms are added.

🌍 Jurisdiction handling

KYC vendors, including SumSub, and financial/compliance systems standardize on ISO 3166-1 alpha-3 codes. The Gateway accepts alpha-3 at the API boundary and converts to numeric only for the on-chain commitment — jurisdiction detail itself never goes on-chain, only the resulting policy hash.