Railway

Deploy arispay-x402-seller-template

Deploy a no-signup x402 seller on Base mainnet with ArisPay.

Deploy arispay-x402-seller-template

Just deployed

Deploy and Host ArisPay x402 Seller

Deploy a no-signup x402 v2 seller that charges $0.01 USDC on Base mainnet and uses https://facilitator.arispay.app.

About Hosting ArisPay x402 Seller

The template runs one Express service with:

  • GET /health for an unpaid health check.
  • GET /api/paid for an x402-protected resource.
  • Base mainnet (eip155:8453) and USDC.
  • x402 v2 Bazaar discovery metadata.

There is no ArisPay account, API key, database, custody, or application secret. The only required value is PAY_TO_ADDRESS, the public EVM address that receives settled USDC.

Why Deploy ArisPay x402 Seller

Use this template to move an x402 test project to a public Base mainnet seller without creating a facilitator account or managing a facilitator credential. The deployed service is a small, inspectable starting point backed by public source.

Common Use Cases

  • Verify a wallet or agent can discover an x402 v2 payment requirement.
  • Publish a minimal paid API endpoint on Base mainnet.
  • Test Bazaar discovery metadata.
  • Start from a working seller before adding application-specific logic.

Dependencies for ArisPay x402 Seller

The template uses Node.js, Express, @x402/express, and @x402/evm.

Deployment Dependencies

Set PAY_TO_ADDRESS to the public 0x EVM address that should receive USDC. FACILITATOR_URL is optional and defaults to https://facilitator.arispay.app.

Do not add an ArisPay key or a wallet private key. This seller template needs neither.

After Railway reports the service healthy and assigns its HTTPS domain, run:

export SELLER_URL=https://YOUR-SERVICE.up.railway.app

curl --fail --silent --show-error "$SELLER_URL/health"
npm exec --yes --package=paygate@5.5.0 -- paygate doctor "$SELLER_URL/api/paid"

The doctor command is read-only. It sends no payment or authorization header and makes no payment.


Template Content

More templates in this category

View Template
open-excalidraw
Self-hostable collaborative drawing built on Excalidraw

Prateek Mohanty
1
View Template
caring-vibrancy
Deploy and Host caring-vibrancy with Railway

5
View Template
NEW
Appsmith
Low-code platform for internal tools, dashboards, and admin panels.

Agaz Self-Host
0