Fiber-pay: an ai-friendly CLI for fiber-network

Hello everyone, fiber-pay v0.2.5 is out, and this release brings the ConnectButton component to @fiber-pay/react — a one-line drop-in for connecting a Fiber browser node with explicit passkey or password strategy.

What’s new

  • ConnectButton — A unified connect/disconnect button that works in standalone mode (<ConnectButton network="testnet" strategy="passkey" />) or pairs with an existing useFiberNode hook for shared state across your app.
  • useFiberNode hardening — Fixed StrictMode remount reliability so async state updates don’t get dropped during React effect re-runs.
  • Browser-wallet demo refresh — The demo app now uses a ConnectButton-first auth flow, showing how the component fits into a real wallet console.
  • React Quick Card demo — A new capability walkthrough showcasing theming, custom dropdown panels, runtime snapshot checks, and FiberPayQuickCard payment integration.

What can be built

If you’re building a frontend that accepts Fiber payments, you can now add a connect button and payment card with a few imports — no need to wire up node lifecycle, passkey detection, or connection state yourself. The component handles the boilerplate and exposes hooks for customization when you need it.

The interesting calling-agent demo is built using such an SDK. You can also check out the browser-wallet and react-quick-card demos in the repo, or grab the package:

pnpm add @fiber-pay/react

Let me know if you try it out or have feedback on the API!

5 Likes