Skip to main content
Cryptonly

Cryptonly — x402 facilitator

Facilitator client for x402 payments.

Website · Documentation · Contact


Pass the async client to x402ResourceServer for FastAPI. Pass the sync client to x402ResourceServerSync for Flask.

pip install cryptonly-x402 "x402[fastapi,evm]"

x402 >=2 is a dependency. Install the extra for the framework and chain you use, such as x402[fastapi,evm] or x402[flask,evm].

import os

from cryptonly_x402 import CryptonlyFacilitatorClient
from x402.mechanisms.evm.exact import ExactEvmServerScheme
from x402.server import x402ResourceServer

facilitator = CryptonlyFacilitatorClient(os.environ["CRYPTONLY_API_KEY"])

server = x402ResourceServer(facilitator)
server.register("eip155:8453", ExactEvmServerScheme())

api_key is your Cryptonly API key. It is sent as x-tenant-api-key on verify, settle, and supported.

facilitator = CryptonlyFacilitatorClient(os.environ["CRYPTONLY_API_KEY"])

Flask uses the sync client:

from cryptonly_x402 import CryptonlyFacilitatorClientSync
from x402.mechanisms.evm.exact import ExactEvmServerScheme
from x402.server import x402ResourceServerSync

facilitator = CryptonlyFacilitatorClientSync(os.environ["CRYPTONLY_API_KEY"])

server = x402ResourceServerSync(facilitator)
server.register("eip155:8453", ExactEvmServerScheme())

Set sandbox=True to use the sandbox facilitator, which settles on Base Sepolia (eip155:84532).

Metadata

Release files for cryptonly-x402 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cryptonly-x402 0.1.1
File Size Uploaded Provenance
cryptonly_x402-0.1.1.tar.gz 3.4 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cryptonly-x402 0.1.1
File Interpreter ABI Platform
cryptonly_x402-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / cryptonly_x402-0.1.1.tar.gz

Download URL cryptonly_x402-0.1.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
647e06952b655ef2667ed81e3422b40c6558796b9a711d9ba5080a3740180789
BLAKE2b-256 checksum
How to use checksums
8ab174ac02ffa04f746a24807df3ad770658daf9501ef04d3b65b58374fd982f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Release files / cryptonly_x402-0.1.1-py3-none-any.whl

Download URL cryptonly_x402-0.1.1-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93fb0e6333b91a52f332a9d75891edb5fae9af87db5ea6b7feadcca605feb1a7
BLAKE2b-256 checksum
How to use checksums
0c50d6c871f4c5c4e325ab3ce726deb32c2639647f48385c3db39bb8365a3e4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

Security for cryptonly-x402 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cryptonly_x402-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page