Demo storefront

AN ORDINARY STORE
THAT ACCEPTS ANY CHAIN

This store integrates PayFlux the way any external developer would โ€” one SDK call, no chain code. It has no idea XRPL, the Flare Data Connector or FAssets exist. Pick something and pay in whichever asset you happen to hold.

Developer Hoodie

Heavyweight cotton. The one you'll actually wear to the demo.

$50.00

Mechanical Keycap Set

Doubleshot PBT, violet on white. Nothing to do with blockchains.

$35.00

Sticker Pack

Twelve die-cut vinyl stickers. Cheapest way to test a small payment.

$12.00

What the store code looks like

This is the complete integration. No RPC endpoints, no ABIs, no attestation types, no lot sizes, no transaction watcher. Adding a new source chain later is PayFlux's problem, not the store's.

app/api/checkout/route.ts
const payflux = new PayFlux({
  apiKey: process.env.PAYFLUX_SECRET_KEY,
})

const payment = await payflux.payments.create({
  amount: product.price,
  currency: "USD",
  acceptedAssets: ["XRP", "FXRP", "C2FLR"],
  settlementAsset: "FXRP",
  orderId: order.id,
  idempotencyKey: order.id,
})

redirect(`/checkout/${payment.id}`)