# Integra Protocol > The Legal Context Protocol's reference implementation: assemble an Agentic Transaction Record (ATR), hash its exact bytes, and bind the hash into x402, MPP and agentic checkout payments. - Every page as one Markdown file: https://lcp.integraledger.com/llms-full.txt - Each page as Markdown: https://lcp.integraledger.com/md/.md - Source: https://github.com/IntegraLedger/integra-protocol - npm: https://www.npmjs.com/package/@integraledger/lcp - License: Apache-2.0 ## Documentation - [Overview](https://lcp.integraledger.com/): The Legal Context Protocol reference implementation: the ATR, its hash, and the hash bound into payments. - [Getting started](https://lcp.integraledger.com/getting-started): Install @integraledger/lcp, assemble an ATR, and carry its hash through one x402 payment. ## Concepts - [The Agentic Transaction Record](https://lcp.integraledger.com/concepts/atr): What an ATR is, and how assemble writes its exact bytes. - [The ATR hash](https://lcp.integraledger.com/concepts/atr-hash): SHA-256 over the ATR's exact bytes, the forms it is written in, and how two hashes are compared. - [Binding](https://lcp.integraledger.com/concepts/binding): How the ATR hash rides in a payment, the binding patterns, and what each binding proves. - [Pairings](https://lcp.integraledger.com/concepts/pairings): A payment protocol, scheme and rail combination, the members every pairing has, and the registry. - [The buyer gate](https://lcp.integraledger.com/concepts/buyer-gate): Compare the served bytes with the hash before anything is signed. - [Refusals](https://lcp.integraledger.com/concepts/refusals): Every failure is a value with a code. - [Vectors](https://lcp.integraledger.com/concepts/vectors): The shared test cases that fix the rules byte for byte across languages. ## Guides - [Seller](https://lcp.integraledger.com/guides/seller): Assemble the ATR, advertise its hash, check the payment, and read the settlement. - [Buyer](https://lcp.integraledger.com/guides/buyer): Read the challenge, compare the served bytes with H, build and sign, and finish. - [Channels, sessions and subscriptions](https://lcp.integraledger.com/guides/sessions): One ATR for a whole channel, session or subscription, bound where it opens. - [x402](https://lcp.integraledger.com/guides/x402): The legalContext extension, the request commitment, and the x402 pairings. - [MPP](https://lcp.integraledger.com/guides/mpp): The ATR hash as the MPP challenge id, the opaque members, and the MPP pairings. - [Agentic checkouts](https://lcp.integraledger.com/guides/checkouts): The ATR hash on ACP, UCP, AP2 and ACK checkouts, on card networks, and in A2A task metadata. - [Rails](https://lcp.integraledger.com/guides/rails): Where the ATR hash rides on each chain and payment network, and how each rail's settlement is read. - [Discovery](https://lcp.integraledger.com/guides/discovery): The discovery document a seller publishes at /.well-known/legal-context.json, and how emit and parse write and read it. ## Reference - [Entry points](https://lcp.integraledger.com/reference/entry-points): Every entry point of @integraledger/lcp and what it exports. - [Pairings](https://lcp.integraledger.com/reference/pairings): Every pairing @integraledger/lcp implements, generated from its registry. - [Refusal codes](https://lcp.integraledger.com/reference/refusals): Every refusal code @integraledger/lcp returns, with its meaning. - [Vector files](https://lcp.integraledger.com/reference/vectors): Every vector file @integraledger/lcp ships, and what it fixes. - [@integraledger/lcp](https://lcp.integraledger.com/reference/api): The exports of @integraledger/lcp. - [@integraledger/lcp/a2a](https://lcp.integraledger.com/reference/api/a2a): The exports of @integraledger/lcp/a2a. - [@integraledger/lcp/ack](https://lcp.integraledger.com/reference/api/ack): The exports of @integraledger/lcp/ack. - [@integraledger/lcp/acp](https://lcp.integraledger.com/reference/api/acp): The exports of @integraledger/lcp/acp. - [@integraledger/lcp/ap2](https://lcp.integraledger.com/reference/api/ap2): The exports of @integraledger/lcp/ap2. - [@integraledger/lcp/aptos](https://lcp.integraledger.com/reference/api/aptos): The exports of @integraledger/lcp/aptos. - [@integraledger/lcp/avm](https://lcp.integraledger.com/reference/api/avm): The exports of @integraledger/lcp/avm. - [@integraledger/lcp/card](https://lcp.integraledger.com/reference/api/card): The exports of @integraledger/lcp/card. - [@integraledger/lcp/cardano](https://lcp.integraledger.com/reference/api/cardano): The exports of @integraledger/lcp/cardano. - [@integraledger/lcp/casper](https://lcp.integraledger.com/reference/api/casper): The exports of @integraledger/lcp/casper. - [@integraledger/lcp/ccd](https://lcp.integraledger.com/reference/api/ccd): The exports of @integraledger/lcp/ccd. - [@integraledger/lcp/discovery](https://lcp.integraledger.com/reference/api/discovery): The exports of @integraledger/lcp/discovery. - [@integraledger/lcp/evm](https://lcp.integraledger.com/reference/api/evm): The exports of @integraledger/lcp/evm. - [@integraledger/lcp/hedera](https://lcp.integraledger.com/reference/api/hedera): The exports of @integraledger/lcp/hedera. - [@integraledger/lcp/lightning](https://lcp.integraledger.com/reference/api/lightning): The exports of @integraledger/lcp/lightning. - [@integraledger/lcp/mpp](https://lcp.integraledger.com/reference/api/mpp): The exports of @integraledger/lcp/mpp. - [@integraledger/lcp/near](https://lcp.integraledger.com/reference/api/near): The exports of @integraledger/lcp/near. - [@integraledger/lcp/polkadot](https://lcp.integraledger.com/reference/api/polkadot): The exports of @integraledger/lcp/polkadot. - [@integraledger/lcp/stacks](https://lcp.integraledger.com/reference/api/stacks): The exports of @integraledger/lcp/stacks. - [@integraledger/lcp/starknet](https://lcp.integraledger.com/reference/api/starknet): The exports of @integraledger/lcp/starknet. - [@integraledger/lcp/stellar](https://lcp.integraledger.com/reference/api/stellar): The exports of @integraledger/lcp/stellar. - [@integraledger/lcp/sui](https://lcp.integraledger.com/reference/api/sui): The exports of @integraledger/lcp/sui. - [@integraledger/lcp/svm](https://lcp.integraledger.com/reference/api/svm): The exports of @integraledger/lcp/svm. - [@integraledger/lcp/tempo](https://lcp.integraledger.com/reference/api/tempo): The exports of @integraledger/lcp/tempo. - [@integraledger/lcp/tron](https://lcp.integraledger.com/reference/api/tron): The exports of @integraledger/lcp/tron. - [@integraledger/lcp/tvm](https://lcp.integraledger.com/reference/api/tvm): The exports of @integraledger/lcp/tvm. - [@integraledger/lcp/ucp](https://lcp.integraledger.com/reference/api/ucp): The exports of @integraledger/lcp/ucp. - [@integraledger/lcp/x402](https://lcp.integraledger.com/reference/api/x402): The exports of @integraledger/lcp/x402. - [@integraledger/lcp/x402-batch-settlement](https://lcp.integraledger.com/reference/api/x402-batch-settlement): The exports of @integraledger/lcp/x402-batch-settlement. - [@integraledger/lcp/x402-exact-solana](https://lcp.integraledger.com/reference/api/x402-exact-solana): The exports of @integraledger/lcp/x402-exact-solana. - [@integraledger/lcp/x402-exact-stellar](https://lcp.integraledger.com/reference/api/x402-exact-stellar): The exports of @integraledger/lcp/x402-exact-stellar. - [@integraledger/lcp/x402-exact-xrpl](https://lcp.integraledger.com/reference/api/x402-exact-xrpl): The exports of @integraledger/lcp/x402-exact-xrpl. - [@integraledger/lcp/x402-upto-solana](https://lcp.integraledger.com/reference/api/x402-upto-solana): The exports of @integraledger/lcp/x402-upto-solana. - [@integraledger/lcp/xrpl](https://lcp.integraledger.com/reference/api/xrpl): The exports of @integraledger/lcp/xrpl.