Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
agent
command
Command agent is the autonomous payer in the agentic-x402 demo (P1).
|
Command agent is the autonomous payer in the agentic-x402 demo (P1). |
|
agentdemo
command
Command agentdemo is a runnable, offline demonstration of SPT-Txn agentic authorization (Milestone 7).
|
Command agentdemo is a runnable, offline demonstration of SPT-Txn agentic authorization (Milestone 7). |
|
agentsvc
command
cmd/agentsvc — agentic authorization VERIFY service (Milestone 7).
|
cmd/agentsvc — agentic authorization VERIFY service (Milestone 7). |
|
anchor
command
Command anchor closes the loop between an SPT-Txn token and an on-chain attestation anchor.
|
Command anchor closes the loop between an SPT-Txn token and an on-chain attestation anchor. |
|
auditverify
command
Command auditverify independently re-checks an SPT-Txn audit log: it recomputes the hash chain end-to-end and the SHA-256 Merkle root over all entries, and (optionally) compares that root to a value anchored on-chain.
|
Command auditverify independently re-checks an SPT-Txn audit log: it recomputes the hash chain end-to-end and the SHA-256 Merkle root over all entries, and (optionally) compares that root to a value anchored on-chain. |
|
catsvc
command
cmd/catsvc — Compliance Attestation Token issuer service.
|
cmd/catsvc — Compliance Attestation Token issuer service. |
|
conformance
command
Command conformance emits (and re-checks) deterministic SPT-Txn conformance vectors: the canonical spt_txn_context_hash for a fixed transaction on each chain, and the humanAnchor commitment for fixed identity material.
|
Command conformance emits (and re-checks) deterministic SPT-Txn conformance vectors: the canonical spt_txn_context_hash for a fixed transaction on each chain, and the humanAnchor commitment for fixed identity material. |
|
deanondemo
command
Command deanondemo demonstrates SPT-Txn accountable anonymity (P3): the real human identity behind a transaction is sealed at issuance into a PQ-hybrid escrow envelope, never appears on-chain, and is recoverable ONLY by the escrow authority under a signed, lawful-basis request.
|
Command deanondemo demonstrates SPT-Txn accountable anonymity (P3): the real human identity behind a transaction is sealed at issuance into a PQ-hybrid escrow envelope, never appears on-chain, and is recoverable ONLY by the escrow authority under a signed, lawful-basis request. |
|
deanonsvc
command
cmd/deanonsvc — escrow deanonymization service for the SPT-Txn POC.
|
cmd/deanonsvc — escrow deanonymization service for the SPT-Txn POC. |
|
escrowkeygen
command
cmd/escrowkeygen — generate a hybrid escrow keypair (X25519 + ML-KEM-768).
|
cmd/escrowkeygen — generate a hybrid escrow keypair (X25519 + ML-KEM-768). |
|
gatesvc
command
Command gatesvc exposes the SPT-Txn x402 authorization gate as a small local HTTP service — the AUTHORITY in the x402 loop (P1 of the agentic-x402 demo).
|
Command gatesvc exposes the SPT-Txn x402 authorization gate as a small local HTTP service — the AUTHORITY in the x402 loop (P1 of the agentic-x402 demo). |
|
loadbench
command
Command loadbench measures the throughput and latency of the SPT-Txn hot path, so an integrator (e.g.
|
Command loadbench measures the throughput and latency of the SPT-Txn hot path, so an integrator (e.g. |
|
merchantsvc
command
Command merchantsvc is a metered resource server that speaks x402 AND cryptographically verifies the SPT-Txn attestation before delivering — P2 of the agentic-x402 demo.
|
Command merchantsvc is a metered resource server that speaks x402 AND cryptographically verifies the SPT-Txn attestation before delivering — P2 of the agentic-x402 demo. |
|
mksubject
command
cmd/mksubject — issue a wallet "subject token" (identity assertion) signed by the ct_issuer signify key.
|
cmd/mksubject — issue a wallet "subject token" (identity assertion) signed by the ct_issuer signify key. |
|
regkey
command
cmd/regkey — Register real signify public keys in the Trust Registry.
|
cmd/regkey — Register real signify public keys in the Trust Registry. |
|
tr-svc
command
cmd/tr-svc — live SPT-Txn Travel Rule service (privacy-preserving FATF Rec 16).
|
cmd/tr-svc — live SPT-Txn Travel Rule service (privacy-preserving FATF Rec 16). |
|
trsvc
command
cmd/trsvc — Trust Registry HTTP service for the SPT-Txn POC.
|
cmd/trsvc — Trust Registry HTTP service for the SPT-Txn POC. |
|
x402gate
command
Command x402gate is a proof-of-concept payer-side gate for x402 agentic payments on the XRP Ledger.
|
Command x402gate is a proof-of-concept payer-side gate for x402 agentic payments on the XRP Ledger. |
|
zk-bench
command
cmd/zk-bench — isolated ZK primitive benchmark for the SPT-Txn v2 crypto choice.
|
cmd/zk-bench — isolated ZK primitive benchmark for the SPT-Txn v2 crypto choice. |
|
zk-export-solidity
command
Command zk-export-solidity generates a Solidity Groth16 verifier for one of the SPT-Txn ZK circuits, so an Ethereum / EVM L2 contract can verify an SPT-Txn selective-disclosure proof on-chain.
|
Command zk-export-solidity generates a Solidity Groth16 verifier for one of the SPT-Txn ZK circuits, so an Ethereum / EVM L2 contract can verify an SPT-Txn selective-disclosure proof on-chain. |
|
zk-setup
command
cmd/zk-setup — one-time trusted setup for the SPT-Txn ZK Travel Rule circuits.
|
cmd/zk-setup — one-time trusted setup for the SPT-Txn ZK Travel Rule circuits. |
|
zk-solcalldata
command
Command zk-solcalldata produces the calldata for AttestationVerifier.anchorVerified: it generates a real threshold proof (amount >= threshold, with the amount hidden), then prints the proof bytes, the public inputs [commitment, threshold], and a ready-to-run cast command.
|
Command zk-solcalldata produces the calldata for AttestationVerifier.anchorVerified: it generates a real threshold proof (amount >= threshold, with the amount hidden), then prints the proof bytes, the public inputs [commitment, threshold], and a ready-to-run cast command. |
|
internal
|
|
|
audit
Package audit implements the SPT-Txn append-only audit log with periodic signed Merkle-root publication — Milestone 6.
|
Package audit implements the SPT-Txn append-only audit log with periodic signed Merkle-root publication — Milestone 6. |
|
cattoken
Package cattoken implements Compliance Attestation Token (CAT) issuance for the SPT-Txn POC.
|
Package cattoken implements Compliance Attestation Token (CAT) issuance for the SPT-Txn POC. |
|
cttoken
Package cttoken implements Capability Token (CT) issuance for the SPT-Txn POC — Milestone 3.
|
Package cttoken implements Capability Token (CT) issuance for the SPT-Txn POC — Milestone 3. |
|
disclosure
Package disclosure is the SPT-Txn scoped-disclosure SDK: a small request → consent → response protocol for time-limited, scope-selected selective disclosure over an SD-JWT credential.
|
Package disclosure is the SPT-Txn scoped-disclosure SDK: a small request → consent → response protocol for time-limited, scope-selected selective disclosure over an SD-JWT credential. |
|
dpop
Package dpop implements a POC subset of DPoP (RFC 9449) for SPT-Txn M4.
|
Package dpop implements a POC subset of DPoP (RFC 9449) for SPT-Txn M4. |
|
escrow
Package escrow implements the SPT-Txn Section 9.6 escrow envelope and deanonymization flow — Milestone 7.
|
Package escrow implements the SPT-Txn Section 9.6 escrow envelope and deanonymization flow — Milestone 7. |
|
gate
Package gate encapsulates the SPT-Txn x402 payer-side authorization decision: given an agent's standing capability (a ceiling) and a specific payment requirement, it mints the CAT -> CT -> SPT-Txn chain for that exact payment and runs the eight-step offline verifier, returning ALLOW/DENY plus the on-ledger stamp fields (Destination, Amount, SourceTag, Memo = humanAnchor, context hash) and the attestation token.
|
Package gate encapsulates the SPT-Txn x402 payer-side authorization decision: given an agent's standing capability (a ceiling) and a specific payment requirement, it mints the CAT -> CT -> SPT-Txn chain for that exact payment and runs the eight-step offline verifier, returning ALLOW/DENY plus the on-ledger stamp fields (Destination, Amount, SourceTag, Memo = humanAnchor, context hash) and the attestation token. |
|
ivms101
Package ivms101 implements a FATF-aligned subset of the interVASP Messaging Standard 101 (IVMS101) — the data model TRISA and TRP use for Travel Rule payloads.
|
Package ivms101 implements a FATF-aligned subset of the interVASP Messaging Standard 101 (IVMS101) — the data model TRISA and TRP use for Travel Rule payloads. |
|
ledger
Package ledger is the blockchain-agnostic adapter boundary for SPT-Txn.
|
Package ledger is the blockchain-agnostic adapter boundary for SPT-Txn. |
|
negotiate
Package negotiate solves the Travel Rule "sunrise problem": two CASPs that must exchange Travel Rule information may not support the same payload privacy level.
|
Package negotiate solves the Travel Rule "sunrise problem": two CASPs that must exchange Travel Rule information may not support the same payload privacy level. |
|
regdisclosure
Package regdisclosure assembles a minimal, verifiable disclosure package for a competent authority (a lawful TFR/MiCA recordkeeping request) WITHOUT exposing more than the legal basis allows.
|
Package regdisclosure assembles a minimal, verifiable disclosure package for a competent authority (a lawful TFR/MiCA recordkeeping request) WITHOUT exposing more than the legal basis allows. |
|
tbac
Package tbac implements the Token-Bound Access Control scope logic for the SPT-Txn POC.
|
Package tbac implements the Token-Bound Access Control scope logic for the SPT-Txn POC. |
|
tfrpolicy
Package tfrpolicy is a configurable decision engine for the EU Transfer of Funds Regulation (Reg (EU) 2023/1113) "missing-information" procedures: a CASP must have a risk-based policy for what to do when an incoming transfer lacks required originator/beneficiary information, comes from an unregistered counterparty, or involves a self-hosted wallet above the verification threshold.
|
Package tfrpolicy is a configurable decision engine for the EU Transfer of Funds Regulation (Reg (EU) 2023/1113) "missing-information" procedures: a CASP must have a risk-based policy for what to do when an incoming transfer lacks required originator/beneficiary information, comes from an unregistered counterparty, or involves a self-hosted wallet above the verification threshold. |
|
travelrule
Package travelrule assembles the privacy-preserving FATF Travel Rule attestation for SPT-Txn.
|
Package travelrule assembles the privacy-preserving FATF Travel Rule attestation for SPT-Txn. |
|
trisa
Package trisa bridges an SPT-Txn Travel Rule attestation to/from a TRISA SecureEnvelope payload, so a SPT-Txn node can exchange with a TRISA counterparty (TRP support already lives in internal/trp).
|
Package trisa bridges an SPT-Txn Travel Rule attestation to/from a TRISA SecureEnvelope payload, so a SPT-Txn node can exchange with a TRISA counterparty (TRP support already lives in internal/trp). |
|
trp
Package trp is an OpenVASP Travel Rule Protocol (TRP) transport for SPT-Txn.
|
Package trp is an OpenVASP Travel Rule Protocol (TRP) transport for SPT-Txn. |
|
trustregistry
Package trustregistry defines the abstraction over issuer key resolution for the SPT-Txn POC.
|
Package trustregistry defines the abstraction over issuer key resolution for the SPT-Txn POC. |
|
txntoken
Package txntoken implements SPT-Txn Token issuance for the POC — Milestone 4.
|
Package txntoken implements SPT-Txn Token issuance for the POC — Milestone 4. |
|
vaspregistry
Package vaspregistry is the registered-VASP set: a config-loaded list of VASP identifiers committed to a MiMC Merkle tree (internal/zkproof), with a signed root so the originator and beneficiary can confirm they share the same registry.
|
Package vaspregistry is the registered-VASP set: a config-loaded list of VASP identifiers committed to a MiMC Merkle tree (internal/zkproof), with a signed root so the originator and beneficiary can confirm they share the same registry. |
|
verifier
Package verifier implements the SPT-Txn eight-step enforcement engine (Section 3.3 of draft-coetzee-oauth-spt-txn-tokens) — Milestone 5.
|
Package verifier implements the SPT-Txn eight-step enforcement engine (Section 3.3 of draft-coetzee-oauth-spt-txn-tokens) — Milestone 5. |
|
walletproof
Package walletproof implements proof-of-control for self-hosted (unhosted) wallets — the verification the EU Transfer of Funds Regulation requires for transfers to/from a self-hosted wallet at or above €1000: the CASP must establish that its customer owns or controls the address.
|
Package walletproof implements proof-of-control for self-hosted (unhosted) wallets — the verification the EU Transfer of Funds Regulation requires for transfers to/from a self-hosted wallet at or above €1000: the CASP must establish that its customer owns or controls the address. |
|
zkdid
Package zkdid implements the zkDID commitment function for SPT-Txn.
|
Package zkdid implements the zkDID commitment function for SPT-Txn. |
|
zkhash
Package zkhash is the single source of truth for the SPT-Txn ZK-friendly hash over BN254.
|
Package zkhash is the single source of truth for the SPT-Txn ZK-friendly hash over BN254. |
|
zkproof
Package zkproof provides the real Groth16 zero-knowledge circuits for the SPT-Txn privacy-preserving Travel Rule layer, validated on the OpenBSD host.
|
Package zkproof provides the real Groth16 zero-knowledge circuits for the SPT-Txn privacy-preserving Travel Rule layer, validated on the OpenBSD host. |
|
pkg
|
|
|
verify
Package verify is the public, embeddable entry point to the SPT-Txn eight-step offline verifier.
|
Package verify is the public, embeddable entry point to the SPT-Txn eight-step offline verifier. |
Click to show internal directories.
Click to hide internal directories.