[package] name = "jcp-x402" version.workspace = true edition.workspace = true license.workspace = true repository.workspace = true description = "x402 profile of JCP — ingest an x402 PaymentRequirements from either live wire version (v2 `amount`, v1 `maxAmountRequired`): its stablecoin charge becomes the grant's money ceiling, SPEC §4.8, paired with an operator-set joule ceiling, and every payment is gated against both outside the model and sealed in a JCR-1 receipt. A charge past the money cap, in a foreign asset, or to the wrong merchant is denied before the agent pays, never converted. v2's `upto` scheme settles down to measured usage and defines no metering fields; settle_upto enforces its bound and seals the settled figure beside the transaction and the metered joules at their grade. Ingest, not compete." [dependencies] jcp-schema = { workspace = true } jcp-grant = { workspace = true } jcp-runtime = { workspace = true } jcp-receipt = { workspace = true } jcp-bridge = { workspace = true } ed25519-dalek = { workspace = true } serde_json = { workspace = true } thiserror = { workspace = true } # The pay example meters its paid compute with this host's meter. [dev-dependencies] jcp-energy = { workspace = true } [lints] workspace = true