MARKET
Nirium← Home

Chains

One Nirium, three chains

The same receipt, signed by whoever pays and checkable by anyone, on Stellar, Solana and Avalanche. This page is the one place that says what works where.

Payer-signed receipts, anchored to IPFS by Audit Trail

Stellar
Yes: Mainnet
Solana
Yes: Mainnet, bound to the exact USDC transfer
Avalanche
Yes: Mainnet, bound to the exact USDC transfer

Check a receipt in the browser

Stellar

Check a receipt from a terminal

Stellar
Yes: npx nirium-cli verify <CID>
Solana
Yes: npx -p nirium-solana nirium-verify-svm receipt.json
Avalanche
Yes: npx -p nirium-avalanche nirium-verify-evm receipt.json

Pay and charge per request with x402

Stellar
Yes: Mainnet
Solana
Yes: Mainnet, settled by an independent facilitator (PayAI)
Avalanche
Yes: Mainnet, settled by an independent facilitator (PayAI)

Refuse a payment before it is signed (pre-sign policy)

Stellar
Yes: In the library
Solana
Yes: In the library
Avalanche
Yes: In the library

Receipts for refused payments (DENY, WAIT)

Stellar
Yes: As Audit Trail receipts
Solana
Soon: In the code, in the next npm release
Avalanche
Soon: In the code, in the next npm release

Reporting: receipts, payers and USDC declared, per chain

Stellar
Yes: Mainnet
Solana
Yes: Mainnet
Avalanche
Yes: Mainnet

An x402 market selling network data at $0.01

Stellar
Yes: Paid endpoints on the Nirium node
Solana
Yes: Mainnet
Avalanche

Treasury and Payouts

Solana
No: Not on this chain
Avalanche
No: Not on this chain

MCP server for agents

Stellar
Yes: nirium-mcp
Solana
No: Not yet
Avalanche
No: Not yet

Package

Stellar
Solana
Avalanche

In numbers

Live, each chain on its own and never added to another. Stellar's numbers are in /stats.

Solana

Receipts anchored on mainnet
…
Payers that are not team keys
…
USDC declared in those receipts
…
Last receipt
…
npm downloads, last week (package)
…

Avalanche

Receipts anchored on mainnet
…
Payers that are not team keys
…
USDC declared in those receipts
…
Last receipt
…
npm downloads, last week (package)
…

For developers

Charge for a route, pay it under your own policy, and get a receipt bound to the exact USDC transfer, signed by the payer. Test tokens only.

// npm i nirium-solana@0.2.0 express @solana/kit
import express from "express";
import { readFileSync } from "node:fs";
import { createKeyPairSignerFromBytes } from "@solana/kit";
import { x402Serve, createX402Fetch, createRulesPolicy, settlementOf, bindReceipt, verifyReceipt, DEVNET } from "nirium-solana";

const PAY_TO = process.env.PAY_TO; // your wallet that receives USDC
const signer = await createKeyPairSignerFromBytes(Uint8Array.from(JSON.parse(readFileSync(process.env.PAYER_KEYPAIR, "utf8"))));

// 1. Charge: one route, $0.01 in USDC on devnet, settled by PayAI
const app = express();
app.use(x402Serve({ payTo: PAY_TO, network: DEVNET, routes: { "GET /data": { price: "$0.01", description: "Example data" } } }));
app.get("/data", (_req, res) => res.json({ ok: true }));
const server = app.listen(4021);

// 2. Pay: your own policy decides before anything is signed
const feePayers = (await (await fetch("https://facilitator.payai.network/supported")).json()).signers["solana:*"];
const pay = createX402Fetch({
  signer, network: DEVNET, maxAmountPerPayment: "10000",
  policy: createRulesPolicy({ maxAmount: "10000", allowPayTo: [PAY_TO], allowFeePayers: feePayers }),
});
const url = "http://localhost:4021/data";
const res = await pay(url, { headers: { "X-Nirium-Ref": "order-123" } }); // the ref goes on-chain as the Memo

// 3. Receipt: bound to the exact USDC transfer, signed by the payer, checked against the chain
const receipt = await bindReceipt({ tx: settlementOf(res).transaction, network: DEVNET, ref: "order-123", resource: url, signer });
const check = await verifyReceipt(receipt);
console.log(check.ok ? "VALID" : "INVALID", `${check.checks.filter((c) => c.ok).length}/${check.checks.length}`, settlementOf(res).transaction);
server.close();

Run verbatim with nirium-solana 0.2.0 on devnet, 27 Nov 2026: cbagt3pSgv…, VALID 27/27.

Anchor the receipt (Audit Trail)

Save it as receipt.json and send it to the Nirium node. It checks the hash and the payer's signature and returns a CID.

curl -X POST https://nirium-agent.fly.dev/api/audit/binding \
  -H 'content-type: application/json' --data-binary @receipt.json

Check it, without trusting us

From a terminal, against the chain, or by CID on this chain's explorer page.

npx -p nirium-solana nirium-verify-svm receipt.json

Refused-payment receipts (DENY, WAIT) are in the code and come in the next npm release. Source and full docs: nirium-protocol/nirium-solana

On Solana and Avalanche, the only mainnet payments so far are our own test payments. Testnet demos (Solana devnet, Avalanche Fuji) use test tokens only.

Non-custodial on every chain: the payer's own key signs, and Nirium never holds funds. A receipt records who declared a payment and what it was for; it does not prove that goods or a service were delivered.