F Fiber Offers
Fiber Offers / Documentation

Reusable payment offers for Fiber

Fiber Offers is reusable payment infrastructure for merchants, wallets, and services. A signed offer stays stable while the resolver creates a new Fiber invoice for each payment attempt.

What this project is It is an integration layer around Fiber Network: signed payment intents, invoice resolution, readiness diagnostics, receipts, webhooks, and operator tooling. It does not replace a Fiber node or change Fiber consensus.

How it works

  1. A merchant signs and publishes a reusable offer containing the accepted asset and price constraints.
  2. A wallet discovers the offer through a payment link, QR code, Fiber Address, or encoded payload and verifies its signature.
  3. The wallet checks readiness, requests a fresh invoice with an idempotency key, and sends the invoice through Fiber only after confirmation.
  4. The resolver records the resolution and lets merchant systems observe lifecycle changes through webhooks, receipts, and reconciliation exports.

Follow the separate Quickstart to run this flow against the local two-node Fiber testnet fixture.

Choose your integration path

Live Fiber by default

The standard runtime creates real Fiber invoices and automatically polls settlement state. An explicit mock adapter remains available only for automated tests and isolated UI development through npm run dev:mock.

Set FIBER_RPC_URL when the resolver should request and poll actual invoices from a Fiber node. Configure payer and merchant RPC URLs to add topology and route diagnostics.

Before accepting live payments Use the live Fiber checks, a database-backed store, encrypted webhook secret storage, HTTPS, scoped API credentials, and a monitored worker deployment. See production and security for the implementation checklist.