CKBA Presents: Question Time with TEX Labs and CKBolt

In simple terms:

CKBolt (developed by TEX Labs) is a browser-based application and cross-network hub that connects Bitcoin’s Lightning Network with the Fiber Network on Nervos CKB.

Bitcoin Lightning is a Layer-2 payment network on Bitcoin. Fiber is a peer-to-peer, multi-asset payment and swap network built on Nervos CKB, that also uses off-chain payment channels.

Normally these two networks couldn’t talk to each other, but Fiber has a basic link to Lightning for wrapped BTC, and until now there’s been no way to pay a Lightning invoice with CKB, or pay a CKB merchant from a Lightning wallet.

CKBolt acts like a bridge so you can:

  • Pay CKB merchants or swap BTC on Lightning into Fiber assets (CKB, cWBTC, RUSD, etc.).

  • Pay Lightning invoices or swap from Fiber assets back to BTC on Lightning.

  • Run a Fiber node directly in the browser.

  • Manage testnet assets and open/fund payment channels with the CKBolt hub.

  • Send/receive direct payments between Fiber nodes.

It works so that either both sides of the payment go through, or your money is automatically refunded.

It uses HTLCs (Hash Time-Locked Contracts) / shared SHA-256 payment hashes. Both sides of a payment are locked to the same hash: the payment settles on both networks when the preimage is revealed, or the payer is refunded if it fails. A quote engine prices routes (median exchange prices and spread). The hub runs both a Lightning node and a Fiber node.

Right now, it’s only a testnet demo (play money, not real funds) that you can try in your browser.

Let’s begin the Q&A:

Hello hello TEX Team, how are things? Let’s start with your personal statements, shall we? Who are you, what are your positions/backgrounds?

Hello! We’re all doing great. Thank you for asking!

We are TEX Labs (Tech Expansion), a software and blockchain development team based in Hanoi, Vietnam, established in 2024. Our team currently consists of five core members:

  • Long Tran – Senior Blockchain Engineer

  • Hiep Tran – Senior DevOps Engineer

  • Bach Trinh – Engineering Manager

  • Minh Le Dinh – Business Development

  • Trung Pham – Senior Software Engineer

Our team has hands-on experience across multiple blockchain ecosystems, including Cardano, Ethereum, Midnight, Oasis, and Nervos CKB, with expertise in smart contract development, decentralized applications (dApps), blockchain infrastructure, DeFi, and cloud infrastructure.

Featured Products and Projects:

  • midnightexplorer.com: A blockchain explorer within the Midnight ecosystem and a partner of the Midnight Foundation.

  • api-management.midnightexplorer.com: A blockchain data API platform for developers, providing API access, authentication, rate limiting, and usage analytics.

  • ckbolt.texlabs.org: A solution connecting Bitcoin Lightning Network with Nervos CKB’s Fiber Network, enabling payments and asset swaps.

  • fiberfly.texlabs.org: A browser-based game integrated with Fiber Network, allowing players to earn CKB rewards.

Key Achievements:

  • Successfully secured 165,000 ADA in funding through Cardano’s Project Catalyst in 2024.

  • Established a partnership with the Midnight Foundation through the Midnight Explorer project.

  • Actively engaged in research, product development, and contributions to open-source blockchain ecosystems.

TEX Labs follows a product-driven development model, focusing on building practical technology products, platforms, and scalable infrastructure with long-term growth potential.

Wonderful, I can see you’ve all been busy with CKBolt. How did your team become CKBuilders, how did you all meet, and what is it like working around other CKBuilders in the group?

Yes, it’s quite an interesting story!

It all started when Yan Tirta was referred by Mr. Tien Nguyen Anh to BPSC in Hanoi to organize the offchain workshop. The Blockchain Pioneer Student Club (BPSC) is an academic student club focused on Blockchain and Web3 research and projects at the University of Transport and Communications (UTC) in Cau Giay District, Hanoi.

At BPSC, we believe that organizing events involving international partners requires thorough research and a strong understanding of their ecosystems.

While researching Nervos CKB, Long Tran discovered that its DAO governance model shared similarities with Cardano, an ecosystem in which TEX Labs already had considerable experience.

As part of our annual goal to expand into a multichain development team, we published several posts on Nervos Talk to explore innovative product opportunities, identify gaps within the CKB ecosystem, and discover what we could build to help CKB compete with other major blockchain ecosystems.

Shortly afterward, Neon reached out to Long Tran and invited us to join the CKBuilders program. Eventually, the entire TEX Labs team joined the program.

What interests TEX Labs about CKB?

One thing that really impressed us was the strong support from the CKB community, especially when we started building CKBolt’s presence on X.

At TEX Labs, we believe that a product is only truly valuable when it solves real problems and delivers meaningful value to its users. That’s why our product development efforts always go hand in hand with marketing, community building, and real user acquisition.

We’ve received tremendous support through quote posts, reposts, and positive engagement from the CKB community. This reflects a collaborative, welcoming, and forward-thinking community that genuinely supports builders and ecosystem growth.

That is something we truly appreciate about the CKB ecosystem.

What advice would you give to anyone looking to build on CKB, and what AI tools would you advise to help them on their journey to build on the cell model?

Our advice is to focus on building products that genuinely deliver value to users and the community, rather than simply building to secure grants and complete milestones.

Across various blockchain ecosystems, we’ve seen many promising proposals whose products never make it to mainnet, achieve real adoption, or deliver meaningful value to users.

Today, product development is increasingly limited not by technical capabilities, but by the quality of ideas. With the rapid advancement of AI tools like Claude and Codex, developers can build products in a remarkably short amount of time.

However, we strongly recommend not relying entirely on AI-generated code, as it may contain hidden vulnerabilities and security risks. Thorough testing, human code reviews, and independent security audits are essential before deploying to mainnet.

Ultimately, success should not be measured by how many grants you’ve secured or milestones you’ve completed, but by the real-world impact your product creates for users and the ecosystem.

What’s the main problem CKBolt is solving that existing Fiber or Lightning tools don’t already cover?

Currently, there is no solution that allows Lightning users to pay merchants directly in CKB, or CKB holders to pay Lightning invoices. CKBolt fills this gap.

Fiber’s Cross-Chain Hub (CCH) connects Lightning and Fiber using a single wrapped BTC token at a fixed 1:1 exchange rate, requiring operators to run their own nodes. Existing Lightning wallets and swap services do not currently support CKB.

CKBolt provides dynamic pricing for each swap route, enabling users to exchange BTC on Lightning for CKB, RUSD, or cWBTC on Fiber, and vice versa.

Merchants can receive CKB or RUSD from any Lightning wallet without holding BTC or operating a Lightning node. Every transaction is atomic: either both sides complete successfully, or the payer receives a refund.

CKBolt does not compete with CCH. Both use the same hash-lock mechanism, and CCH operators can serve as liquidity providers for CKBolt.

CKBolt’s roadmap runs in stages. The next one, Stage 5, expands it into an infrastructure platform.

Stage 5: expands CKBolt into an infrastructure platform for wallets, merchants, and third-party applications:

  • Payment API with webhooks: Enables seamless integration with wallets, POS systems, and other applications.

  • Hosted Fiber nodes: Allows merchants to receive payments without operating their own nodes.

  • On-chain BTC support: Enables submarine swaps for users who have not yet adopted Lightning.

  • Ethereum integration via Perun: Enables CKB ↔ ETH swaps through state channels, built on the open-source go-perun framework and Perun CKB backend. Ethereum will become the third supported network, following Lightning and Fiber.

Can you walk us through a simple real-world example of how someone would use CKBolt today on testnet (e.g., paying a merchant or doing a small swap), and what the user experience is like from start to finish?

One-time Testnet Setup:

  • Set up an Alby Hub Lightning wallet on Mutinynet and obtain test sats from a faucet.

  • Create a Fiber node directly in your browser and fund it with approximately 1,300 testnet CKB via JoyID.

  • Open a payment channel with the CKBolt hub.

How to Use CKBolt:

  • Merchant Payments: Go to Get Paid and enter the amount of CKB or RUSD you want to receive. The app generates both Lightning and Fiber QR codes. Customers pay using their Lightning wallets, while merchants receive CKB or RUSD, and see the payment status change to Paid.

  • Cross-Network Swaps: Enter the amount of sats, click Swap, and pay the invoice using Alby Hub to receive CKB in your Fiber node. To reverse the direction, click ⇅ and paste a Lightning invoice to receive sats in your Lightning wallet. Each swap takes only a few seconds.

  • Pay Lightning Invoices with CKB: Go to Pay, paste a Lightning invoice, review the required CKB amount and fees, and click Pay.

All transactions are atomic: either both sides complete successfully, or the funds are automatically refunded. Every outgoing payment from the user’s node requires explicit confirmation.

Lightning-to-Fiber transactions may occasionally require a retry due to Lightning routing limitations. Stage 5 aims to improve this experience through on-chain BTC support and hosted Fiber nodes.

Coming in Stage 5: CKBolt will also support CKB ↔ ETH swaps through Perun state channels, available directly within the application and through its API, providing the same seamless experience as Lightning swaps.

Full User Guide: CKBolt app - Testnet guide

How exactly does the shared SHA-256 hash-lock / HTLC mechanism work across Lightning and Fiber so that a payment either settles on both sides or fully refunds? Are there any practical timing or failure modes you’ve had to handle carefully?

How It Works:

Each swap consists of two payment legs: payer → hub and hub → recipient.

Both legs are locked using the same SHA-256 payment hash, with the preimage known only to the recipient.

The hub receives the payer’s funds through a hold invoice, without settling it, and then initiates the payment to the recipient. When the recipient reveals the preimage to claim the funds, the hub uses that same preimage to settle the incoming payment.

If the payout fails, the hub cancels the hold invoice, returning the funds to the payer. Since the hub does not know the preimage in advance, it cannot claim the incoming funds without completing the outgoing payment.

Key Technical Considerations:

  • Timelock management: The incoming payment must expire later than the outgoing payment, ensuring the hub has sufficient time to settle after obtaining the preimage.

  • LDK routing limitations: LDK-based wallets, such as Alby Hub, impose CLTV limits that can prevent wallets from finding a valid payment route to the hub. This is the primary cause of Lightning-to-Fiber transaction failures on testnet. All failed transactions are refunded.

  • Uncertain payout status: In the event of a timeout or hub restart, the hub must avoid refunding while a payout is still in progress, prevent duplicate payments, and verify the preimage before settling.

  • Hub downtime during swaps: Upon restarting, the hub automatically recovers pending swaps and either completes or refunds them. In the worst-case scenario, funds remain temporarily locked until the hold invoice expires rather than being lost.

The hub currently runs both a Lightning node and a Fiber node. How do you plan to evolve this architecture toward something more decentralized or multi-hub (especially looking at later roadmap stages)?

Currently, CKBolt operates through a single hub managed by one operator. Thanks to the hold invoice mechanism, the hub cannot claim the payer’s funds without completing the outgoing payment. However, it remains a centralized point for pricing, liquidity, and service availability.

Users are not locked into the platform: they can use any Lightning wallet and independently operate their own Fiber nodes.

Development Roadmap:

  • Stage 5 – Infrastructure Expansion:

The hub will no longer exclusively serve the CKBolt application. The Payment API and hosted Fiber nodes will enable third-party wallets, merchants, and applications to integrate with CKBolt.

  • Stage 6 – Mainnet & Decentralization:

    • Multiple independent hubs will operate simultaneously, allowing the application and API to compare quotes and select the best available route.

    • Liquidity will come from multiple sources, including CKBolt hubs, CCH operators, and independent liquidity providers, who can earn fees for providing liquidity.

    • An SDK will enable wallets, POS systems, and dApps to connect directly to any supported hub.

Each swap will continue to use the same payment hash across both payment legs, regardless of which hub processes the transaction. This preserves atomicity: either both payments are completed successfully, or the payer receives a refund.

Hubs do not need to trust one another, and users do not need to entrust their funds to any individual hub.

How does pricing/quoting work in practice? Where do the rates come from, how much spread does the hub take?

Pricing: The hub calculates the median price from CoinGecko, Binance, and KuCoin. A price is accepted only when at least two sources provide fresh data and the price deviation between sources does not exceed 3%, preventing a single inaccurate source from manipulating the price. We plan to integrate decentralized oracles in the future to enable independent price verification.

Fees: The fee structure consists of a 0.5% hub fee and an asset-specific option premium (0.5% by default and 0% for cWBTC). Routing fees are already included in the quote. Users can review the payment amount, expected received amount, and applicable fees before confirming a transaction.

How do you protect against volatility while a hold invoice is open?

Price Volatility Protection: Each quote is cryptographically signed and valid for 180 seconds. Payments received after the quote expires are refunded, preventing users from holding invoices to take advantage of price movements. The option premium compensates for price volatility during the lock period. On mainnet, premiums will be dynamically calculated based on lock duration and asset volatility, with shorter quote validity periods.

What are the biggest trust or risk assumptions users are making when they use the CKBolt hub right now (even on testnet), and how do you see those changing on mainnet?

Current Risks and Assumptions:

  • User Funds: The hub cannot claim the payer’s funds without completing the outgoing payment. The hold invoice mechanism ensures atomicity: either both payment legs complete successfully or the payer receives a refund. Users do not need to trust the hub with their funds.

  • Liquidity: This is currently the most significant assumption. A single hub provides liquidity across all supported assets and swap directions. If liquidity is insufficient, swaps are rejected or refunded. Each swap is currently limited to between 1,000 and 100,000 sats.

  • Hub Availability: If the hub goes offline during a swap, funds are not lost but may remain temporarily locked until the hold invoice expires.

  • Pricing: The hub determines prices using multiple market data sources, and users can review their quotes before confirming payments.

  • Browser-Based Fiber Node: Private keys are stored locally in the browser and encrypted with a password. The current browser-based node is intended for testnet funds only, and users are responsible for maintaining backups.

  • Code Security: The codebase has undergone four independent security reviews but has not yet undergone a formal security audit by the TEX Labs team. (A security review evaluates whether security controls are appropriate, effective, and aligned with actual risks, while a security audit formally checks whether controls and practices comply with predefined standards, policies, or regulations.)

Mainnet Risk Mitigation — Stage 6:

  • Distributed Liquidity: Liquidity will come from multiple sources, including CKBolt hubs, CCH operators, and independent liquidity providers. Multiple hubs will operate simultaneously, allowing users to select the best available quote and reducing dependency on any single hub’s liquidity or availability.

  • Operational Security: Independent security audits, transaction limits, continuous monitoring, and liquidity rebalancing mechanisms will be implemented.

  • Decentralized Pricing: We plan to integrate decentralized oracles to improve pricing transparency, verifiability, and resilience.

What trade-offs did you have to make by building on Fiber’s existing primitives (hold invoices, hash locks, token channels) versus designing something more custom? Where does that approach help or constrain you?

Benefits:

  • Hash locks and hold invoices are proven mechanisms already used by Lightning and CCH. CKBolt does not need to develop custom smart contracts or introduce additional on-chain code requiring an audit.

  • Compatible with existing Lightning wallets and Fiber nodes, eliminating the need for users to install a new wallet.

  • CKBolt directly benefits from future Fiber Network upgrades. We also actively contribute to Fiber’s development, including PR #1765.

Limitations:

  • Differences in timelock requirements between the two networks require longer hold invoice durations, which can prevent some Lightning wallets from finding a valid route to the hub. Stage 5 aims to address these limitations through on-chain BTC payments and hosted Fiber nodes.

  • Each supported token requires a dedicated payment channel with a portion of CKB locked to reserve capacity.

  • Fiber currently supports only whitelisted tokens, and browser-based Fiber nodes do not yet have watchtower support.

Why We Build on Fiber:

Developing a proprietary mechanism would require new smart contracts, security audits from scratch, and additional wallet integrations.

Building on Fiber allows CKBolt to leverage proven security mechanisms, existing infrastructure, and wallet compatibility while accelerating development and adoption.

How do you handle liquidity balancing between the Lightning side and the Fiber side? Do you ever run into situations where you have plenty of liquidity on one network but not enough on the other, and how do you plan to solve that long-term?

Bidirectional swaps naturally help rebalance liquidity. Lightning → Fiber swaps increase the hub’s BTC liquidity on Lightning while reducing its CKB liquidity on Fiber. Fiber → Lightning swaps have the opposite effect.

Liquidity imbalances occur when payment flows are predominantly in one direction, for example, when many merchants receive CKB from customers paying through Lightning.

Currently, the hub only accepts swaps when sufficient liquidity is available for the outgoing payment, accounting for liquidity already reserved for pending swaps. If liquidity is insufficient, the request is rejected at the quoting stage, preventing users’ funds from becoming locked.

Stage 6 will introduce additional liquidity management mechanisms:

  • Continuous liquidity monitoring and rebalancing, including on-chain liquidity transfers through submarine swaps.

  • Automatic closure of inactive payment channels to recover locked capital.

  • Diversified liquidity sources across multiple independent hubs and liquidity providers.

We are also considering reducing fees for swaps in the direction that helps restore liquidity balance, creating economic incentives for users to contribute to natural rebalancing.

What incentives exist (or will exist) for people to open channels with the CKBolt hub or provide liquidity? Are you thinking of fee sharing, yield, or something else so node operators and LPs are motivated to participate?

CKBolt has no native token and does not rely on artificial yield incentives. Instead, its economic incentives are driven by real transaction fees and genuine user demand.

  • Liquidity providers and CCH operators: In Stage 6, they will provide liquidity to hubs and earn a share of the fees generated by swaps utilizing their liquidity.

  • Merchants: Merchants are incentivized to open payment channels because they can receive payments directly from Lightning users. With hosted Fiber nodes introduced in Stage 5, merchants will not even need to open or manage their own channels.

This creates a sustainable economic model driven by actual payment activity rather than token emissions or speculative incentives.

How capital-intensive is running a CKBolt-style hub in practice? Roughly how much liquidity do you think a hub needs on both sides to be useful for real payments and swaps, and does that create a high barrier for others who might want to run their own hubs later?

The hub requires capital on both sides, with a minimum liquidity requirement determined by the maximum swap size multiplied by the number of concurrent swaps it can support.

On testnet, each swap is limited to between 1,000 and 100,000 sats. Each token channel (RUSD or cWBTC) also requires approximately 180 CKB in reserve capacity. This capital is not consumed; it remains locked in the channel and can be recovered when the channel is closed.

At mainnet launch, we will initially introduce conservative transaction limits to keep capital requirements manageable. The actual capital requirements will be determined based on real transaction data and liquidity demand.

To lower the entry barrier for future hub operators, our multi-hub architecture will allow operators to access liquidity from independent liquidity providers (LPs) and CCH operators, rather than requiring them to supply all the capital themselves.

Great answers, team! Thank you for taking the time to answer these questions. What are your next steps or plans for continued development on CKB?

Next Steps:

  • Stage 5 – Infrastructure Expansion (16 weeks, subject to approval):

    • Payment API.

    • Hosted Fiber nodes.

    • On-chain BTC payments.

    • CKB ↔ ETH swaps via Perun state channels.

  • Stage 6 – Mainnet Launch:

    • Independent security audit.

    • Multi-hub architecture with diversified liquidity sources.

    • SDK for wallets, POS systems, and dApps.

    • Decentralized oracle integration for pricing.

Our further Contributions to the CKB Ecosystem:

  • Continue contributing to Fiber Network through PRs and RFCs, while further developing FiberFly.

  • Continue educational initiatives and organize additional Hanoi offchain workshops to onboard more Vietnamese builders into the ecosystem.

Thank you, TEX Team, for all your answers and your work among the CKB community and through the CKBuilders initiative. That work is vital for growing the ecosystem and helping others understand CKB.

The Common Knowledge Base Association (CKBA) does not endorse, recommend, or promote any projects mentioned. We simply highlight them for informational, educational, and awareness purposes only. Coverage does not imply partnership, affiliation, approval, or any form of endorsement. Always do your own research and exercise independent judgment.

Main project:

4 Likes