x402 Protocol Facilitator for the Nano network
facilitator is an early-stage JavaScript project in the AI payments / x402 ecosystem, focused on 402, ai-agents, facilitator, nano. It currently has 0 GitHub stars and 0 forks, and sits alongside related tools like exact, helper, typescript-common.
x402 Protocol Facilitator for the Nano network. Verifies and settles x402 Nano payloads, acting as a bridge between a Resource Server and the Nano network.
facilitator directory,git clone https://github.com/x402nano/facilitator.git
cd facilitator
.env.example to new file .envcp .env.example .env
.env, set environment variables as required:| Environment Variable | Description | Required | Default |
| --- | --- | --- | --- |
| NANO_RPC_URL | URL of the Nano RPC | Yes | - |
| PORT | Port number to run this Facilitator on | Yes | - |
| AUTHORIZATION_BEARER_TOKEN | If set, enables Bearer authentication on all endpoints. Leave blank to disable Bearer authentication | No | - |
| ENABLE_LOGGING | Set to true to enable logging. Logs to standard Docker container log | No | true |
| LOGGING_VERBOSE | Set to true to include greater detail in logs | No | false |
| X402_NETWORK_IDENTIFIER | The Nano network to use (CAIP-2 standard network identifier) | No | nano:mainnet |
docker compose up -d
Facilitator should now be running on the PORT Environment Variable.
If you update any of the Environment Variables in .env run docker compose up -d again to make the changes take effect.
POST /verify
Verifies a Nano payment payload against payment requirements (e.g., balance checks, block structure) without broadcasting it to the Nano network.
POST /settle
Settles the Nano payment payload on the Nano network.
GET /supported
Returns a list of supported x402 schemes and networks currently registered to this Facilitator. Currently matches the network identifier set in the X402_NETWORK_IDENTIFIER Environment Variable (defaults to nano:mainnet)
exact schemeexact scheme for fixed-amount Nano (XNO) payments over x402 protocolMIT