Pay Lightning with Fiber: a self-hosted Cross-Chain Hub anyone can run

Hey everyone,

Lightning is already huge. Millions of people, wallets, and merchants live there. Fiber is just getting started.

That gap is the real problem.

If Fiber only works inside Fiber, growth stays slow. If someone on Fiber can pay a Lightning invoice - and someone on Lightning can move value the other way - Fiber suddenly plugs into a network that already has users, habits, and demand.

That’s what a Cross-Chain Hub (CCH) is for.

In plain English: a CCH is a bridge between Fiber (Nervos) and Bitcoin Lightning. It swaps value between the two without a custodial middleman holding your money. You run the hub. You keep the keys.

Fiber already has the pieces for this. What’s hard is putting them together: Fiber node, Lightning node, CCH, keys, configs, Docker, funding, channels… It’s a lot. Easy to stall before you ever see a swap.

So I built Fiber CCH Hub - a standalone kit that turns “I want to run a hub” into something you can actually do.

Repo: GitHub - chukwuma619/fiber-cch-hub · GitHub

Why this matters for Nervos / Fiber

Fiber doesn’t need to beat Lightning on day one. It needs a bridge into Lightning’s world.

When hubs are easy to run:

  • Fiber users can pay into Lightning’s existing economy
  • Operators can provide liquidity between the two networks
  • Builders can experiment with real cross-network payments, not just demos inside one chain

More hubs → more routes → more usefulness → more reason to use Fiber.

This repo is meant to lower the barrier for that first step.

What you get

One stack:

  • Fiber (CKB testnet)
  • LND (Bitcoin testnet Lightning)
  • Standalone CCH wired between them
  • Scripts for keys, startup, and health checks

You create your own keys up front. Nothing is hidden behind a hosted service that holds your funds.

Run it

git clone https://github.com/chukwuma619/fiber-cch-hub.git
cd fiber-cch-hub
cp .env.example .env
make create-keys    # save your Lightning seed
./start.sh

Full walkthrough:

VPS deploy:

This only available on testnet.

Status

Active development. The goal right now is simple: make it easy for people to stand up a hub, fund it, and prove real Fiber ↔ Lightning swaps on testnet.

If you’ve wanted Fiber to “talk” to Lightning but never got past the setup wall - try this and tell me where it breaks. Feedback, failed attempts, and “I got stuck here” reports are gold.

Fiber grows when it connects to where people already pay. This is one step toward that.

10 Likes

Keep up the good work @ebubedev

1 Like