Every agentic payment bound to the terms that govern it.
Legal Context Protocol anchors every Stellar transaction to the exact legal terms — using only native CAP-67 primitives. AAA-enforceable, FRE 902 self-authenticating, in a single on-chain transaction.
The seller's LCP discovery document
The buyer's agent fetches /.well-known/legal-context-docusign.json from the seller. The document publishes the terms URL, SHA-256 content hash (the ATR hash), and the dispute-resolution clause.
{
"terms": "https://lcp-seller.dfisher-3f3.workers.dev/terms/sealed-pdf",
"contentHash": "0xcb294f36bfbe26b43a8c24f14a5c46106089f66b30aec9735622058b11d46ce2",
"hashAlgorithm": "sha256",
"acceptanceRequired": false,
"disputeResolution": {
"method": "AAA Commercial Arbitration Rules",
"jurisdiction": "New York, USA",
"clauseId": "aaa-commercial-r1",
"source": "https://adr.org/clauses/commercial-arbitration"
},
"contact": {
"legal": "disputes@integra-stellar-demo.example",
"technical": "dfisher@integraledger.com"
}
}
The 402 payment challenge
The seller responds with HTTP 402. The payment destination is a CAP-67 muxed M-address whose mux_id is derived from the advertised ATR hash. Paying to this address cryptographically commits to those exact terms.
{
"accepts": [{
"scheme": "exact",
"network": "stellar:pubnet",
"asset": "USDC.stellar",
"payTo": "MCIPZIIQ4764D2R6QH4X33GSWSCTOCUDUDT7MCUQBWWLHHKI6PWVDSZJJ43L7PRGWS374",
"amount": "10000",
"extra": {
"atrHash": "0xcb294f36bfbe26b4…46ce2",
"muxIdDerivation": "atrHash-prefix-8",
"legalContextUrl": "/.well-known/legal-context-docusign.json",
"sellerAnchorTx": "8c4ea92e…b83513a6"
}
}]
}
The agents negotiate, bind, and settle
Buyer verifies ATR binding, signs a Soroban transfer to the muxed destination, and submits to Stellar mainnet. Terms and payment bind in one transaction.
Same eight bytes, two places, one commitment
Terms, payment, and enforcement — cryptographically bound to one Stellar transaction. Evidence bundle ready for AAA filing.