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 with testnest.

Metadata

Release files for cryptonly-x402 0.1.0

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.0
File Size Uploaded
cryptonly_x402-0.1.0.tar.gz 3.4 kB Details

Built distribution (wheel)

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

Total release size: 7.0 kB

Release files / cryptonly_x402-0.1.0.tar.gz

Download URL cryptonly_x402-0.1.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0f53eb142c70930825e59d67e67cbc8ac95f2424b52f249e26b2b51300c06e94
BLAKE2b-256 checksum
How to use checksums
778582481de028934f962f2dff87d2ef614915af6168c93009cf7ad5c08d3423
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 17, 2026.

Transparency log

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

Download URL cryptonly_x402-0.1.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d94840171b556a496c1161e7e7d16e6ca2d3349694e7842bce1c48d6002b6f93
BLAKE2b-256 checksum
How to use checksums
1d2e22738f8ae9f96edd82d63a4c5f8ab65c8a56170ee55b516dc5456e6a5753
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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