Skip to main content
Building agentic commerce and need an x402 facilitator on your own infrastructure? This guide takes you from zero to a running x402 endpoint under your own domain in five minutes.

What you need

  • A Linux server (Ubuntu 24.04 recommended, any systemd distro works)
  • A domain or subdomain you control (pay.yourco.com in the examples)
  • An AV-RAILS licence (one-time perpetual; the bundle arrives as a single encrypted .algv)
No Docker, no cloud accounts, no package registry access required. The bundle self-installs and starts on SQLite.

Step 1 — Extract the bundle

When you purchase, you receive a signed licence key and a download link. Download the zip and extract it:
Run the extractor with your licence:
All 16 wheels are now in the current directory, integrity-checked against the manifest.

Step 2 — Install and start

One command installs all wheels into a virtualenv, writes hardened systemd units, and starts everything behind automatic HTTPS:
What this does:
  • Creates /opt/algovoi/rails/venv and installs all 16 wheels
  • Generates /etc/algovoi/rails.env with fresh secrets (HMAC, encryption keys, JWT secret) at 0600
  • Writes and enables systemd units for the payment rails (port 443), operator panel (8443), and Substrate 2 control plane (9443)
  • Fetches a Let’s Encrypt certificate for your domain and keeps it renewed automatically
  • Starts every service under Restart=always
For an air-gapped install without a public domain, omit ALGOVOI_ACME_EMAIL and the installer uses a self-signed certificate instead. Verify everything is up:

Step 3 — Wire your domain identity

The gateway presents as you, not as us. One variable sets every public surface to your domain:
With that set, your deployment exposes:
  • https://pay.yourco.com/.well-known/did.json — your did:web:pay.yourco.com document
  • https://pay.yourco.com/.well-known/agent.json — your A2A AgentCard (no AlgoVoi references)
  • https://pay.yourco.com/x402/requirements — your x402 endpoint
  • https://pay.yourco.com/.well-known/security.txt — your security contact
No AlgoVoi identity, endpoints, or references appear anywhere on your deployment.

Step 4 — Accept your first x402 payment

Create a payment intent on the chain you want:
An x402 client sends POST /v1/x402/requirements to get the 402 challenge, pays on-chain, then sends POST /v1/x402/verify with the transaction. The gateway confirms the settlement, applies Base’s finality rules, and returns a signed receipt:
The receipt is a Falcon-1024 post-quantum-signed, no-PII proof. Anyone you hand it to can verify it offline with no service running.

The four agentic protocols

The same engine and the same receipt format handle all four protocols: You do not need to implement protocol negotiation separately. The gateway handles the protocol surface; your application sees the same settled intent and signed receipt regardless of which protocol the payer used.

Seven chains out of the box

All seven chains ship in the bundle and register automatically on install. To enable the chains you settle on, add RPC endpoints to /etc/algovoi/rails.env:
Public defaults are pre-set for all seven chains. Use your own node or RPC provider for production.

Upgrade to PostgreSQL when you scale

The bundle starts on SQLite and exports to PostgreSQL by import when you need it. No schema migration required.

What’s in the bundle

One licence, one .algv, one install command:
  • The payment rails engine across all seven chains
  • The post-quantum Substrate 2 core (Falcon-1024, JCS, receipt formats)
  • The full keystone estate (passport, federation validator, zero-knowledge receipts, delegation)
  • Substrate Guard Pro and Edge Sentinel (input-bounds, rate and replay protection)
  • The multi-tenant control plane and operator panel

Get the bundle

One-time perpetual licence. Runs on your own server. Buy it on the AlgoVoi store. For enterprise terms, email us.