r/NervosNetwork • u/S0l1DTvirusSnak3 • 5h ago
Community Can anyone share the sour code and details for custom token on MM
Please
r/NervosNetwork • u/ckba_build • 2d ago
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:
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.
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:
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:
Key Achievements:
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:
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:
How to Use CKBolt:
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: https://ckbolt.texlabs.org/app/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:
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:
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:
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:
Mainnet Risk Mitigation — Stage 6:
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:
Limitations:
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:
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.
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):
Stage 6 – Mainnet Launch:
Our further Contributions to the CKB 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:
r/NervosNetwork • u/ckba_build • 3d ago

The biggest honeypot in history is sitting on the Bitcoin blockchain: over a million BTC, almost certainly Satoshi's, worth more than $60 billion at today’s prices.
It's guarded by math that now faces two threats at once: quantum computers and AI.
Our new long read, Changing the Locks, asks whether Bitcoin and other blockchains can replace their cryptography before anyone can break it.
Somewhere on the Bitcoin blockchain, over a million bitcoins, almost certainly belonging to the network’s pseudonymous creator, Satoshi Nakamoto, lie untouched. Mined in Bitcoin’s first year, they haven’t moved since 2010, and they’re worth more than $60 billion at today’s prices.
Satoshi went dark in 2011. Nobody knows who they are, or whether they’re still alive, and nobody can touch the coins without the keys.
To spend a bitcoin, you first have to prove you hold the private key that controls it: a secret number only the owner should know. From that secret comes a public key, which anyone can see, and which the network uses to check that whoever is spending that bitcoin really holds the secret. Generating the public key from the private one is easy. Going the other way, back to the private key that unlocks the coins, is believed to be practically impossible. That one-way street is the lock: anyone can inspect the public key, but only the private key opens it. Much of the internet, from online banking to private messages, sits behind locks of the same kind.
There’s good reason to think the lock holds. In Bitcoin’s earliest days, mining rewards like Satoshi’s were locked directly to a public key, and those keys have sat on the ledger, in plain view, for more than fifteen years. Anyone who could work back from one of them to the secret behind it could claim the coins. It’s the biggest honeypot in history, and still nothing has moved. As far as anyone can tell, the locks have held.
Nobody has proved they can’t be broken, though. A large enough quantum computer could, in theory, do it, and some researchers now wonder whether AI might find a shortcut through the mathematics that decades of human effort have missed. The incentive is certainly there: whoever first runs the mathematics backwards will control the coins. And not only Satoshi’s: Project Eleven, a company building quantum-safe tools for bitcoin, counts about 7.2 million bitcoins whose public keys are on display. That’s more than a third of all bitcoin, worth more than $400 billion.
Alex Pruden, the chief executive of Project Eleven, draws the line between the two threats this way. A quantum computer is a known unknown: we know exactly how a large enough machine would break today’s signatures, using a method the mathematician Peter Shor described in 1994, just not when one will exist. Nobody has yet built what researchers call a cryptographically relevant quantum computer, though most experts expect someone will. AI, in his view, is much more of a wild card: an unknown unknown. It’s unclear what an AI shortcut would look like, or whether one exists. No such shortcut has been found in today’s blockchain cryptography.
Anyone who has followed the online debate will recognize a kind of vertigo. We have no good yardstick for progress that seems to compound: it looks slow for a long time, then arrives all at once. For years, the threat posed by a sufficiently capable quantum machine stayed perpetually a comfortable decade away, measured out in qubits and roadmaps. Then, on October 6, 2026, OpenAI released hundreds of mathematical results from an internal model, including claimed solutions to problems, some of which had resisted mathematicians for decades. Scott Aaronson, a quantum computing researcher at the University of Texas at Austin, called it “surely one of the biggest days in mathematical history.” Hugo Duminil-Copin, a Fields medalist, said he cried so much that he woke his daughter; the problems he had been working on had been “bulldozered.”
It wasn’t long before people in adjacent fields began asking what it meant for them. Cryptography had more reason than most: cryptographic algorithms rest on mathematical problems that have resisted human effort for decades. If machines could crack one set of decades-old problems, could they crack these too? And Aaronson flagged something else. Cryptography, he wrote, was “extremely conspicuous by its absence” from OpenAI’s list, and AI companies were “investigating whether their latest internal models can break important cryptographic protocols and primitives.” Some began to wonder whether the silence meant there was nothing to report, or that OpenAI or another frontier lab had discovered something nobody wanted to publish.
The next day, Justin Drake, a researcher at the Ethereum Foundation, sounded the alarm in a post on X that has since been viewed more than six million times. In the worst case, he warned, the cryptography protecting blockchains might have “months not years,” and the industry should calmly begin planning for “bunker mode”: moving funds to fresh addresses whose public keys have never been revealed.

Yehuda Lindell, Coinbase’s head of cryptography, called that a “really bad take” with “no evidence whatsoever.”

Seven weeks later, OpenAI’s silence on cryptography looked more pointed. In November, AI systems produced a machine-checked proof of the Riemann Hypothesis, one of mathematics’ most famous unsolved problems, and Aaronson wrote that he was “virtually certain, from multiple reliable sources, that the AI labs are now sitting on one or more bombshells” for cryptography, though “much, much less confident about the specific nature” of them.
The debate between the optimists and the pessimists (and it isn’t always clear who’s who) has been running since that October exchange. It’s a peculiar, high-stakes stalemate: nobody has shown an attack on the cryptography protecting any blockchain, and nobody can prove there won’t be one. The quarrel also reaches beyond mathematics, to how a network with nobody in charge decides anything at all. What should count as evidence that the cryptography is weakening? Who gets to make that call, and who pays if it’s made too early or too late? None of those questions has a mathematical answer. But the argument often blurs two decisions: deciding that it’s time to change, and making sure change is possible when that time comes. The first can wait for better evidence. The second can’t.
When the threat will arrive is anyone’s guess. How to prepare is not. There is one clock we can all read, and even do something about: how long it takes to move to post-quantum cryptography. For cryptographers and security engineers, being ready for moves like this one has been a design philosophy for more than a decade. They call it crypto-agility.
Crypto-agility, explains Dan Boneh, a professor of computer science at Stanford University, means deploying “systems that can quickly switch from one type of design to another if the design being used turns out to be insecure.”

Blockchains have been slower than the rest of the security world to embrace crypto-agility, partly because most weren’t built for it: their signature schemes are part of the network’s core rules, and changing those requires social consensus.
Michele Mosca, a quantum researcher at the University of Waterloo, framed the stakes years ago: if the time you need to migrate, plus the time your secrets must stay safe, is longer than the time until the threat arrives, you’re already late. On Bitcoin, that migration is likely to be measured in years. Taproot, the network’s last major upgrade, took nearly four years from first proposal to going live in 2021, and it had broad support. Even once the network agreed on quantum-resistant signatures, millions of holders would still have to move their coins, one transaction at a time, on a network with room for only a few thousand transactions every ten minutes. Bitcoin’s caution about changing its rules is a feature: it’s part of why people trust it with their money. Faced with a threat that demands change against the clock, it starts to look like a bug.
And the time until the threat arrives is harder to pin down than it looks. In 2019, the best published estimate for breaking RSA-2048, a widely used encryption standard, called for 20 million noisy qubits; one paper this February puts it at 100,000. Nobody has built a machine anywhere near that size. But a deadline that keeps moving closer on paper is a poor thing to plan around. What’s left is a lopsided bet. Move too early, and you take on the risks of a migration you may not have needed: upgrades are complex, and new code can bring new bugs. Bitcoin’s “ossifiers,” who want its rules left alone, make exactly that case, and it’s a fair one. Move too late, and there may be nothing left to move.
Meanwhile, the clock can start costing money long before any quantum computer exists. Bitcoin’s value rests on belief, and markets price doubt well before it’s confirmed. Lyn Alden, a macro strategist who thinks the technical threat can be dealt with, explained in February how that works: an institution can stay bullish on bitcoin yet add a failed or messy migration to its list of downside scenarios, so a planned 5% position becomes 3%, or never gets past the investment committee at all. “I do think that it actually has impacted price this cycle,” she said. A month earlier, Christopher Wood, global head of equity strategy at Jefferies, had dropped bitcoin from his model portfolio altogether, swapping it for gold, citing advances in quantum computing.
A lower price also means a lower security budget, and a lower security budget could make the asset even less attractive to hold, which could lead to an even lower price, and so forth in a downward spiral. But that’s a difficult conversation to have.
Governments are already planning their own switch. NIST, the U.S. standards body, intends to start retiring today’s public-key algorithms after 2030 and disallow them after 2035. Governments, banks and browsers can manage a switch like that because someone in charge can issue new keys and set a date. “Banks can recover,” wrote Haseeb Qureshi, a managing partner at the crypto venture fund Dragonfly, in October. “We, blockchains, cannot recover from a failure in public key cryptography.”

Speed alone isn’t safety, though. “I personally have lost more money in botched migrations than I have lost in all hacks combined,” Vitalik Buterin, Ethereum’s co-founder, warned in October.

Nor is a migration a one-time fix. None of the one-way problems behind digital signatures has ever been proven hard. They’re trusted because clever people have attacked them for decades and failed.
The leading replacements rest on unproven assumptions too. Lattice-based schemes, now U.S. government standards, swap today’s mathematics for a different hard problem. Hash-based signatures rely only on hash functions, which makes them the conservative choice, though their signatures are larger and harder to manage. Even that is disputed. Drake argues that attackers exploit mathematical structure, and hash functions have the least of it. Lindell points out that hash functions have historically been broken more often than curves. Both are reading the record of past attacks, and that record may be a poor guide to an attacker unlike any before. Which family will survive the next decade is an open question.
Some of the newest candidates have already been caught out. In 2022, an IBM researcher broke Rainbow, a finalist in the U.S. competition to pick quantum-resistant signatures, and titled his paper “Breaking Rainbow Takes a Weekend on a Laptop.” In July 2026, an AI system found a weakness in HAWK, another candidate, and its designers withdrew it. Neither touched the long-established cryptography guarding Satoshi’s coins. But any replacement will be younger and less tested than today’s locks, and moving once doesn’t protect you from having to move again.
Satoshi did think about Bitcoin’s cryptography failing. In June 2010, a forum user called lachesis asked what Bitcoin would do if SHA-256, the hash function at its core, were cracked. “SHA-256 is very strong,” Satoshi replied. “It can last several decades unless there’s some massive breakthrough attack.” If it did break, the community could “come to some agreement” and “continue from there with a new hash function.”
Satoshi was right about the hash: SHA-256 is still standing strong a quarter of a century after it was published. What changed was how many people would have to agree. Coming to “some agreement” was workable when the whole community fitted inside a forum thread.
Today the hardest question is one no software can settle: what do you do about coins whose owners never move them? Satoshi’s aren’t the only ones. Chainalysis, a blockchain analytics firm, estimated in 2017 that between 2.8 million and 3.8 million bitcoins, Satoshi’s among them, were lost for good, their keys forgotten, discarded or taken to the grave (or, in one well-known Welsh case, to the local landfill). Those coins can’t be moved to safety, whatever happens. Some developers propose phasing out old signatures after a deadline, which would freeze any coins left behind, Satoshi’s included.
For many bitcoiners it’s a question of principle. Bitcoin was built so that nobody, whether a government, a bank or its own developers, could seize or freeze anyone’s coins. Resistance to confiscation is the entire point of the project. Here that promise points both ways. Freezing the coins would break it, starting with Satoshi’s. Leaving them would let a thief do the seizing instead, and more than $60 billion of selling pressure is no joke. There’s no CEO to sign off, no court to decide, and no authority whose ruling would be accepted.
And the crowd that would have to agree is vast. Bitcoin now sits in exchange-traded funds run by BlackRock and Fidelity, and through them in the retirement savings of people who have never opened a crypto wallet. Developers, miners, people running full nodes (the computers that independently check every transaction), exchanges, custodians and fund managers would all have a say. The last time Bitcoin’s community fought over the network’s rules, over how to scale it, the argument ran for years and ended in 2017 with a split, and that was years before the ETFs. Proposals to add quantum-resistant signatures are now under discussion, and each one needs that crowd to agree.
In October, Coinbase urged developers to start the technical work now and to settle the fate of dormant coins as a separate question. Untangling the two lets the engineering begin before the argument ends.
Ethereum, the second-largest blockchain, shows that a different culture can move faster. It treats change as routine: in 2022 it replaced its entire method of agreeing on blocks on a live network without stopping, and in January 2026 the Ethereum Foundation declared post-quantum security a “top strategic priority.” A proposal called Frame Transaction would let each account set its own rules for proving who owns it. It’s scheduled for the upgrade after next, and retiring old keys for good will take further changes. But once accounts can choose, switching to a new signature scheme wouldn’t need the whole network to agree.
The security world had already worked this out. Ten months before Satoshi’s forum post, a Microsoft security specialist named Bryan Sullivan, writing in MSDN Magazine after attacks exposed weaknesses in the MD5 hash function, warned that “there’s no guarantee that the code you write today will remain secure.” His advice: “plan for this scenario from the beginning.” Build systems so that their cryptography can be swapped without rebuilding everything else.
Satoshi’s answer to a broken algorithm was a flag day, when everyone upgrades at once. Sullivan’s was to design systems so that nobody has to wait for everyone. Most blockchains were built the first way.
Sullivan’s approach doesn’t require knowing when a lock will break, or which one. It assumes only that one eventually will. Whether Drake or Lindell turns out to be right, a system built for replacement is better placed than one that isn’t.
For blockchains, Alex Pruden put the principle in a sentence in October: “transaction authorization logic specifically has to be separated from consensus.” In other words, the rules for proving you own a coin shouldn’t be written into the rules every computer on the network enforces. Ethereum is heading that way: its Frame Transaction proposal names “a native off-ramp” to post-quantum security among its aims.
At least one blockchain doesn’t need an off-ramp: crypto-agility was a design choice from the outset. When the Common Knowledge Base (CKB) was being designed in 2018, its architects noted that “a hard fork is required to implement new cryptographic primitives in all blockchain protocols we have examined,” and set out to build, from first principles, a chain that wouldn’t need one. CKB launched in November 2019, nearly seven years before Pruden put the principle into words.
On CKB, the signature scheme was never written into the network’s rules. Each coin is guarded by a small program its owner chooses, called a lock script. Lock scripts run on a virtual machine based on RISC-V, an open design used for real computer chips. So a new signature scheme is new software: deploying it needs no change to the rules, and moving coins under it is an ordinary transaction. That takes the sting out of having to move again.
This is already happening. An implementation of SPHINCS+, a hash-based post-quantum signature scheme, is live on CKB’s main network, and other post-quantum schemes are running on its test network.
Agility has its costs, which is partly why not every blockchain works this way. A single signature rule, fixed in the protocol, is easier to check and harder to get wrong; every extra scheme is more code to audit. Crypto was already hard for ordinary people to use, and a chain where every holder chooses their own lock hands them one more decision, unless their wallet makes it for them. Agility moves the burden from governance to engineering, and some of it onto users.
Nor does agility do the moving for anyone. A new scheme protects only the coins moved under it, wallets and exchanges have to support it, and post-quantum signatures take up more room on the chain. But adding agility later requires the very network-wide agreement it’s meant to avoid. It was built into CKB before launch, so the network never had to change its engine in mid-flight.
What it changes is the order of events. On most chains, nothing can begin until the network agrees, and a chain that writes one scheme into its rules has to pick a winner. CKB doesn’t have to. A new scheme can be deployed as software whenever it’s ready, and anyone who wants to move can move today. The argument over coins like Satoshi’s can run as long as it needs to without holding everyone else hostage. On CKB, the locks are already being changed.
So what does all this mean for blockchains? So far, nothing protecting them has been broken. But nothing guarantees it won’t be. Still, the scare has done something useful. “When we first started Project Eleven, it was taboo to be talking about quantum’s impact on crypto,” says CTO Conor Deegan. October’s alarm, he says, finally “ripped the band-aid off.” Ethereum Foundation researchers are now pushing for a full switch to “post-quantum and post-AI cryptography” by December 2028. Bitcoin’s developers have proposals on the table, and Coinbase is pressing them to start the engineering now, rather than get stuck on what to do about dormant coins.
Nobody can agree on when Q-Day will come. Researchers will keep arguing about what AI can discover and which replacements to trust. But waiting for certainty has costs of its own, which may show up in investment committees before they show up on the blockchain. New schemes can fail, as Rainbow and HAWK did, and migrations can go wrong. Those are reasons to make replacement routine while there’s still time to find the mistakes. The worst moment to discover how hard it is to change a lock is after someone has broken it.
That’s the case for crypto-agility. For Bitcoin, building it in is part of the task ahead. CKB was built for exactly this, from first principles: its cryptography can be replaced without anyone’s permission, so a new signature scheme doesn’t have to wait for the whole network to agree on the danger, or on the fix. Crypto-agility won’t resolve Bitcoin’s dilemma over coins whose owners never come back. What it offers is narrower and more practical: a way for people to protect what they control now, instead of waiting on decisions that are out of their hands.
Satoshi’s coins are still there, guarded by the same mathematics as in 2010. Their long silence is evidence that the lock has held. It can’t tell us how much longer it will. The work of preparing a replacement has to happen while that question is still unanswered.
r/NervosNetwork • u/S0l1DTvirusSnak3 • 5h ago
Please
r/NervosNetwork • u/Adept_Mountain9532 • 1d ago
source: chatgpt
CKB (Nervos Network) is actually one of the most interesting projects in the quantum-resistance discussion.
The reason is that CKB has something Bitcoin and Ethereum don't currently offer in the same way: cryptographic agility built into its architecture.
2. CKB already has post-quantum signatures on mainnet
Live on mainnet
This is the most important development.
CKB has implemented SPHINCS+, now standardized by NIST as SLH-DSA (FIPS 205).
It provides:
The implementation has also undergone an external security audit, according to Nervos documentation.
Nervos CKB
r/NervosNetwork • u/djminger007 • 1d ago
Someone posted me this Website
Top Level Agility for CKB
Crypto agility is how fast a blockchain can replace a broken signature scheme. Here is how 72 ecosystems compare.
r/NervosNetwork • u/ckba_build • 3d ago

Quantum computing is turning cryptographic rigidity into an existential risk, but Nervos CKB stands as the only blockchain architected for true cryptographic agility.
Blockchains are often described as trustless systems, but that trustlessness rests on a very specific kind of trust: trust in cryptography.
Every cryptocurrency wallet and transaction ultimately depends on the assumption that certain mathematical problems are infeasible to solve. For most major blockchains today, that means relying on public-key cryptography, especially elliptic-curve cryptography, to prove that the person authorizing a transaction actually controls the corresponding private key.
That assumption, which has held for decades, is now being threatened by a new kind of machine: the quantum computer.
Unlike classical computers, which process information using bits that represent either 0 or 1, quantum computers use quantum bits, or qubits, which can represent and manipulate information in fundamentally different ways.
Through properties such as superposition and entanglement, quantum computers can explore certain mathematical structures far more efficiently than classical machines. They are not simply “faster computers” in the ordinary sense. For most everyday tasks, they offer no magical shortcut. But for a narrow class of problems, including the number-theoretic problems behind much of modern public-key cryptography, they could be transformative.
A sufficiently powerful Cryptographically Relevant Quantum Computer (CRQC) running Shor’s algorithm could, in principle, derive private keys from exposed public keys.
For cryptocurrency users, this is not an abstract concern. Public keys are typically exposed when users make peer-to-peer transactions, interact with smart contracts, bridge assets across chains, operate validator infrastructure, or simply reuse addresses. Once exposed, those keys can be harvested and stored by an adversary preparing for a future quantum attack.
The timeline for “Q-Day”, the point at which CRQCs become a practical threat, remains one of the most contentious debates in technology. Estimates vary widely, ranging from several years to several decades. The incentives behind those estimates are, of course, to some degree biased: quantum hardware companies have every reason to emphasize rapid progress, while blockchain communities often have every reason to downplay the urgency of the threat.
What is increasingly difficult to deny, however, is that the timelines are compressing, and blockchains have a serious security problem to solve before the threat becomes real.
In ordinary Web2 systems, migrating to post-quantum cryptography can be difficult, but it’s still relatively straightforward. A company can inventory its cryptographic dependencies, rotate keys, update libraries, deprecate vulnerable algorithms, issue new certificates, and push upgrades through a controlled deployment pipeline. The process may be expensive and operationally painful, but the authority to execute the migration is centralized. The organization controls the servers, the software stack, the release process, and the timeline.
Public blockchains do not have that luxury.
A blockchain is not—or at least is not supposed to be—a product controlled by a single operator. It is a decentralized ledger maintained by thousands of independent actors who must agree on the protocol rules. Its cryptography is often embedded at the deepest level—the consensus or protocol layer—determining how these actors distinguish between valid and invalid state transitions.
Changing the cryptography of a blockchain is therefore not as simple as a Web2 software upgrade, but instead a contentious technical and socio-economic event affecting the entire network and ecosystem.
When a signature scheme is baked into consensus, replacing it means changing the rules every full node uses to recognize a valid transaction. For most blockchains, this requires a protocol-level intervention that the entire ecosystem must coordinate around—wallets, exchanges, custodians, hardware devices, infrastructure providers, developers, and users alike.
That might be tolerable if cryptographic assumptions were permanent, but they are not.
Cryptography has a long history of primitives moving from “secure enough” to “legacy” to “dangerous.” SHA-1 was once widely used for digital signatures and certificates before practical collision attacks made it unfit for sensitive or security-critical use. MD5 was widely used for checksums and data integrity, but became unsafe in adversarial settings. DES was once a federal encryption standard; today, its key size is so small that it can be brute-forced with commodity-scale hardware.
The lesson is straightforward: cryptographic assumptions do not last forever. Algorithms age, attacks improve, hardware gets faster, and standards bodies eventually deprecate primitives that earlier generations of systems were built around. The systems that survive these transitions are not simply those using the strongest cryptography at a given moment, but those able to replace it when circumstances change.
For most blockchains, that is precisely where the problem begins.
To understand the crux of the problem, we need to look at where signature verification actually happens.
In most blockchains, signature schemes are not merely wallet-side preferences or replaceable software libraries. Depending on the chain, they may be embedded as precompiled contracts, script opcodes, native account rules, or hardcoded transaction verification logic. In each case, they are deeply tied to the rules the network uses to determine transaction validity.
Bitcoin illustrates the problem clearly.
When a user makes a normal P2PKH transaction, their wallet spends one or more UTXOs by providing two pieces of unlocking data: a public key and a digital signature produced with the corresponding private key. The transaction is then broadcast to the Bitcoin peer-to-peer network, where each node that receives it validates it before accepting it into its mempool or relaying it further.
“Valid” here means several things: the referenced UTXO must exist and remain unspent, the transaction must not create more bitcoin than it spends, and each input must satisfy the spending conditions of the output it is trying to spend. In a P2PKH transaction, that ultimately comes down to one key question: was this transaction signed by the private key that controls the UTXO?
Bitcoin answers that question through Script, a simple stack-based language used to define and evaluate spending conditions. Script is made up of opcodes: operations already defined by the Bitcoin protocol that every validating node executes deterministically during transaction validation.
In a P2PKH spend, the previous output contains a locking script that commits to a public-key hash and ends with OP_CHECKSIG, the opcode responsible for signature verification. To spend it, the transaction provides a signature and public key. Bitcoin Script checks that the public key matches the hash committed in the UTXO, then uses OP_CHECKSIG to verify that the signature is valid for the transaction under that public key. In traditional P2PKH, that means checking the signature against Bitcoin’s native ECDSA/secp256k1 rules.
This is the essence of Bitcoin’s cryptographic rigidity: the user’s wallet creates the signature, but the protocol defines which signatures the network recognizes as valid. A signature produced with another scheme—BLS, SPHINCS+, ML-DSA, or anything else—would not satisfy the existing P2PKH rules, causing the network to reject the transaction.
That is the key point: ECDSA/secp256k1 is part of the validity logic enforced by every full node. To enable Bitcoin to natively recognize a different signature scheme, the network must change the rules that nodes enforce. That can happen by introducing new spending rules through a soft fork, as Taproot did for Schnorr, or by changing existing rules through a hard fork.
Ethereum shows the same rigidity through a different architecture.
Unlike Bitcoin, Ethereum is account-based. A user does not spend UTXOs locked by scripts; they control an externally owned account, or EOA, and submit cryptographically signed transactions that update Ethereum’s global state. In Ethereum’s native account model, state-changing transactions originate from EOAs, and EOAs are controlled by private keys.
When a user sends an Ethereum transaction, their wallet signs it with the private key associated with their EOA. The transaction includes the usual execution fields—recipient, value, nonce, gas parameters, input data—and a signature proving that the account owner authorized it.
Once the transaction is broadcast, Ethereum nodes check that it is well-formed, that the nonce is correct, that the account can pay for gas, and that the signature is valid. To verify authorization, the protocol uses the signature to recover the sender, derive the sender’s address, and confirm that the transaction came from the claimed EOA.
This native signature check is part of Ethereum’s built-in transaction verification rules. The user’s wallet creates the signature, but Ethereum’s protocol defines what the network recognizes as a valid transaction from an EOA. At that layer, validity depends on a signature that satisfies Ethereum’s ECDSA/secp256k1 rules.
That is Ethereum’s version of cryptographic rigidity. A user cannot simply decide that a normal EOA transaction will be authorized by a BLS, Ed25519, SPHINCS+, or ML-DSA signature instead. If the transaction does not satisfy Ethereum’s native signature rules, nodes reject it before it ever reaches application logic. As with Bitcoin, the signature scheme is not merely a wallet preference; it is part of the protocol’s transaction-validity machinery.
The same pattern appears across much of the industry.
Many account-based chains define transaction authenticity at the protocol level. Solana, for example, uses Ed25519 signatures for native transaction signing and also offers built-in verification programs for schemes such as secp256k1 and secp256r1. Those additional programs are useful for application logic, cross-chain bridges, and custom protocols, but they do not make native transaction authentication freely pluggable. The base transaction pipeline still defines what kind of signature ordinary signers must provide—and the native/default schemes used here are not post-quantum secure.
That is why blockchain quantum resistance or quantum readiness is usually framed too narrowly.
The question is not whether a blockchain can eventually support a post-quantum signature scheme, but whether it can change its cryptographic primitives without disruptive protocol upgrades such as soft or hard forks.
Can different signature schemes coexist? Can users migrate gradually? Can developers deploy new verification logic without waiting for the base protocol to change? Can applications experiment with stronger cryptography before the entire network standardizes around it?
In other words, the real issue is not just post-quantum cryptography.
The real issue is crypto agility.
This is where Nervos CKB stands apart.
On most blockchains, cryptographic primitives are baked deep into the protocol. On CKB, transaction authorization is programmable: the logic that decides whether a Cell can be spent lives in a Lock Script, not in a fixed native account model, opcode, or precompile.

CKB was designed around the Cell Model, a generalized version of Bitcoin’s UTXO model. In Bitcoin, UTXOs represent spendable coins. In CKB, Cells are generalized state containers. Like UTXOs, Cells are immutable once created: they are not edited in place. To update state, a transaction consumes existing live Cells and creates new Cells with updated data.

This means a CKB transaction is a state transition: old Cells are consumed, new Cells are created, and the network validates whether that transition is allowed.
CKB performs that validation by executing the Scripts associated with the Cells involved in the transaction. There are two main kinds of Scripts: Lock Scripts and Type Scripts.

A Lock Script controls ownership. It determines whether a Cell can be used as an input in a transaction. In ordinary payment terms, this is the authorization layer: who is allowed to spend this Cell?
A Type Script controls application logic. It defines the rules for creating, transforming, or destroying Cells of a certain type. In smart contract terms, for example, a Type Script can enforce token issuance and transfer rules, while the Lock Script still determines who owns the specific Cell.
In short, Lock Scripts answer “who can spend this Cell?” while Type Scripts answer “how is this Cell allowed to change?”
When a user spends a CKB Cell, the transaction includes the Cell as an input and provides witness data. That witness can contain a signature, public key, proof, or any other data the Lock Script expects. During validation, the node executes the referenced Lock Script in CKB-VM, CKB’s RISC-V virtual machine. The Lock Script reads the relevant transaction data, reads the witness, applies its verification logic, and returns success or failure.
If the Lock Script returns success, the Cell is unlocked. If it fails, the transaction is invalid.
The crucial point is that the CKB protocol does not need to know in advance whether the Lock Script is verifying ECDSA, Schnorr, multisig, WebAuthn, a zero-knowledge proof, SPHINCS+, ML-DSA, or another future primitive. From the network’s perspective, these are not new native account types requiring new protocol rules. They are different pieces of executable validation logic running in the same VM.
That is why CKB can support new cryptographic primitives without base protocol changes. Instead of redefining what every node considers a valid native signature, developers can deploy new verification logic as Lock Scripts, and users can migrate to Cells secured by those Scripts at their own pace.
This also means different cryptographic schemes and authorization policies can coexist on CKB simultaneously. One Cell can be locked by the default secp256k1-style Lock Script. Another can be locked by a multisig Script. Another can be locked by a post-quantum Script.
Most importantly, the network does not need to undergo a protocol upgrade just to introduce a new signature scheme. As long as the verifier can be implemented as a CKB Script and executed within CKB-VM’s constraints, it can be deployed permissionlessly at the script layer.
This is what genuine crypto agility looks like in the blockchain context.
CKB already has a SPHINCS+ post-quantum Lock Script deployed on-chain, allowing users to experiment with quantum-resistant asset protection today. But the larger point is architectural: CKB is not limited to SPHINCS+, or to any single post-quantum scheme. When the cryptographic landscape changes again, CKB can adopt new signature schemes through new Lock Scripts deployments rather than disruptions to the base protocol.
That is what makes CKB more than merely quantum-resistant today, but quantum-ready forever.
Crypto agility is the ability of a blockchain to adopt, replace, or support new cryptographic primitives quickly and easily, without major network disruptions, such as soft or hard forks.
A sufficiently powerful quantum computer running Shor’s algorithm could derive private keys from exposed public keys, undermining the cryptography used to prove ownership of blockchain assets.
Not today. Bitcoin and Ethereum currently rely heavily on elliptic-curve cryptography, which is vulnerable to attacks by sufficiently powerful quantum computers.
On most blockchains, signature schemes are part of transaction validity rules. Changing them requires protocol-level changes, which in turn necessitate network- and ecosystem-wide consensus and coordination that can take years.
CKB moves transaction authorization into programmable Lock Scripts. Developers can permissionlessly deploy new cryptographic verification logic as scripts, and users can migrate assets to Cells secured by those scripts at their own pace.
Yes. CKB already has a SPHINCS+ post-quantum Lock Script deployed on-chain, and Quantum Purse provides a self-custodial wallet built around that script, allowing users to secure their assets against potential quantum attacks today.
Q-Day is the point at which cryptographically relevant quantum computers become powerful enough to break widely used public-key cryptography, including the signature schemes that secure most blockchain wallets and transactions.
SPHINCS+ is a post-quantum digital signature scheme based on hash functions. It was standardized by NIST as SLH-DSA and is designed to remain secure against both classical and quantum attacks.
https://www.nervos.org/knowledge-base/blockchain_crypto_agility
r/NervosNetwork • u/ckba_build • 3d ago
Ed25519 is a digital signature scheme that lets anyone verify that a transaction was authorized by the holder of a particular private key and hasn't been altered since signing.
When you send tokens on Solana, your wallet authorizes the transaction by signing it with your private key, a secret that never needs to be shared.
The network then uses your public key, which anyone can see, to verify the signature.
If someone changes even a single digit of the amount after you've signed, the signature will no longer be valid, and the network will reject the transaction.
Outside crypto, Ed25519 is widely used for secure server authentication. It's the default key type generated by OpenSSH.
We broke down how it works 👇

Ed25519 is a digital signature algorithm that lets someone sign data with a private key and lets others check the signature with the matching public key. It helps establish that the signed data came from the holder of that key and has not been altered.
Ed25519 belongs to the Edwards-curve Digital Signature Algorithm (EdDSA) family and operates on the twisted Edwards curve edwards25519. Today, Ed25519 is used in systems such as OpenSSH for user and server authentication, and in blockchains such as Solana for authorizing transactions. Its appeal comes from a combination of fast signing and verification, compact keys and signatures, and a signing process that avoids needing fresh randomness for every signature.
Imagine Alice wants to send Bob 10 tokens on a blockchain that uses Ed25519. Her wallet prepares the transaction details and signs the data required by that blockchain’s rules.
Two keys serve different purposes:
The signature binds Alice’s signing key to the particular data being signed, known as the message, which can be transaction data, a document, or another sequence of bytes.
If someone changes a covered detail, such as the amount or recipient, the original signature will no longer verify against the altered data. This lets the network check Alice’s signature without learning her private key.
Note that digital signatures provide authenticity and integrity. They do not hide the transaction’s content, which remains visible on-chain. Hiding data (confidentiality) requires a separate encryption.
Ed25519 brings together three useful properties that make it well suited for high-throughput networks and everyday software.
Ed25519 was designed to make both creating and checking signatures efficient. In a blockchain network, a single transaction must be verified by many nodes. Faster verification directly reduces the computational load across the network.
An Ed25519 public key is 32 bytes, and a signature is 64 bytes. Together, they add 96 bytes of fixed overhead alongside the message being checked. These compact, fixed sizes reduce storage and bandwidth costs. The signature remains 64 bytes regardless of how large the message is, though the full message must still be available and processed during verification.
Standard Ed25519 signing is deterministic, meaning signing the same exact message with the same private key produces the same signature.
Instead of relying on a random number generator to create a fresh per-message secret nonce per signature, Ed25519 derives that nonce from private information and the message itself. This removes the need to generate fresh randomness per signature, while keeping the nonce unpredictable to outsiders because the calculation depends on private information.
The process has three stages: creating a key pair, signing a message, and verifying the signature.
Key generation starts with a 32-byte secret seed, generated using cryptographically secure randomness. Ed25519 processes it with the SHA-512 cryptographic hash function to derive private values used for signing.
It then uses elliptic-curve arithmetic to calculate the public key from one of those secret values. Calculating the public key is efficient, whereas recovering the secret value from the public key is computationally impractical with conventional computers.
The public key can therefore be distributed freely while the seed and derived signing secrets remain private. Some software stores additional information alongside the seed, so a saved private-key file can be larger than 32 bytes.
The signer derives a message-specific secret nonce from the message and private material. It uses that nonce to calculate a public value that becomes the first part of the signature.
It then hashes that public value together with the public key and the message. The result ties these inputs together. The signer combines it with the nonce and the long-term signing secret to produce the second part. These two parts form the 64-byte signature. The signing secrets are not included.
For Alice’s transfer, this process ties her signature to the transaction details covered by the blockchain’s signing rules.
A verifier needs three public inputs: the message, the public key, and the signature.
The software checks that the inputs have valid encodings and values, then tests the mathematical relationship established during signing. Elliptic-curve arithmetic lets it check that relationship using public values, without reconstructing the secret ones.
If someone changes Alice’s signed transfer from 10 tokens to 100, the verifier uses that altered message in its calculations. The original signature no longer passes the check.
No. Ed25519 only provides digital signatures to verify who authorized the message and confirm it was not altered. It does not hide the contents. Applications that need confidentiality must use a separate encryption algorithm.
No. Ed25519 is used for digital signatures (authenticity and integrity), while X25519 is used for Diffie-Hellman key exchange, allowing two parties to agree on a shared secret for encrypting communications.
Both are digital signature algorithms, but they differ in two practical ways:
r/NervosNetwork • u/OrganicSashimi612 • 4d ago

The biggest honeypot in history is sitting on the Bitcoin blockchain: over a million BTC, almost certainly Satoshi's, worth more than $60 billion at today’s prices.
It's guarded by math that now faces two threats at once: quantum computers and AI.
Our new long read, Changing the Locks, asks whether Bitcoin and other blockchains can replace their cryptography before anyone can break it 👇
r/NervosNetwork • u/kevtam515 • 7d ago
Fiber Dev Log 42:
Channel V2 is now part of our stable releases (v0.10.0 and v0.10.1), and Hosted LSP support has merged into the development branch.
Here is what we've been working on:
- Channel V2 updates: Stable releases now support Channel V2 with fixes for shutdowns, force-close recovery, and externally funded channels. Meanwhile, the development branch has moved to a V2-only node setup.
- Hosted LSP (in development): Public trampoline nodes can now host multiple users using private channels, token-based access control, and offline invoice buffering.
- Less repeated node work (in development): Added an in-memory channel cache, split static channel data from live state to avoid full disk rewrites, and cached MuSig2 key setups to skip duplicate signing steps.
- Settlement and routing: Watchtower records now track commitment rounds to avoid state confusion, and final-hop failures are attributed directly to the recipient's channel so earlier hops are not penalized on retries.
-In the pipeline:
We are reviewing just-in-time CKB channels for receivers without an open channel yet, finalizing hosted watchtower checks, and building a deterministic testing tool to replay crashes and dropped links.
Full dev log: 👉 https://github.com/nervosnetwork/fiber/discussions/1792
r/NervosNetwork • u/djminger007 • 8d ago
Show Me the Use Case: Fiber Network Product Hackathon has now been announced, with registrations going live tomorrow! This hackathon will challenge developers to create real world products to address real world problems on Fiber Network.
Check out the announcement on Nervos Talk!
https://talk.nervos.org/t/show-me-the-use-case-fiber-network-product-hackathon-announcement
Registration for Show Me the Use Case: Fiber Product Hackathon opens soon!
This is the follow-up to the Fiber Network Infrastructure Hackathon. Where that hackathon explored gaps in Fiber’s supporting infrastructure, this one focuses on building compelling products on Fiber Network that address real user needs.
As a peer-to-peer payment network, Fiber offers a fast, low-cost alternative payment rail to traditional systems. It could support products across many areas, including regional and cross-border payments, gaming, social media, commerce and metered services.
We’re asking developers to think like entrepreneurs: connect their technical expertise with real-world challenges and business opportunities. Strong projects will identify a specific audience, make a case for user demand and product-market fit, and show how they will reach, engage and onboard users. User experience and a credible path to market are central to this hackathon. In order to help guide developers in this respect, we’ve partnered with BlockDev to provide access to seasoned experts from MDI Venture and BRI Venture.
Registration opens: 27 November
Pre-hackathon preparation and advice sessions: 30 November–4 December
Hackathon: 4–18 December
Duration: 2 weeks
All dates and deadlines: UTC
Platform: CKBoost
Prize pool: $20,000
Participation: Individuals and teams may enter; teams are strongly encouraged
AI tooling: Successful submissions may claim up to $20 as an AI tooling allowance
Registration: Link - goes live on 27 November
Nervos CKB is a proof-of-work Layer 1 blockchain built for flexibility, decentralisation and long-term extensibility. Its Cell model supports smart contracts, custom assets, ownership and verification logic, while its RISC-V-based virtual machine gives developers flexibility in choosing the cryptography and protocols they use.
Fiber Network is a payment-channel network for fast, low-cost, off-chain payments on CKB. It supports multiple asset types, including RGB++ assets and stablecoins, and creates opportunities for wallets, merchants, micropayments and other payment-focused services.
This hackathon, organised by Nervos Community Catalyst, is about putting that payment capability to work in products people can understand and use. The strongest ideas will start with a specific problem and audience, show why Fiber is useful to the solution, and explain how that audience will be engaged.
Build a user-facing product on Fiber Network that solves a real problem for a clearly defined audience.
Possible areas to explore include:
These examples are inspiration, not formal categories. All submissions will be judged together.
The hackathon is open to CKB community developers and developers who are new to CKB. Participants may enter individually or as a team.
Teams are strongly encouraged, since developing a product often calls for complementary skills. Team size alone will not affect judging. A team will be required for projects seeking post-hackathon support, and there will be a Best Team prize.
This hackathon, organised by Nervos Community Catalyst, is supported by the Common Knowledge Base Association, including teams from CKB Devrel, CKB, and Fiber. Alongside technical support, senior developers will give presentations during registration week on key topics for developers to get up to speed.
Furthermore, we’re working with BlockDev as our hackathon business advisory partner.
During registration week, BlockDev will announce presentations covering the essentials of building a blockchain startup and what makes a startup investable. Advisors include Markus Liman, venture capitalist and CEO of BRI Venture, and Alvin Evander, Vice President of MDI Venture.
After the hackathon, prizewinning projects will be invited to a further advice session with the advisors to help them consider the next steps in their journey.
Use these resources to familiarise yourself with CKB and Fiber Network, and to find tutorials and examples to build from:
CKB documentation
Community-contributed learning
Fiber Network
Fiber Network product demos:
To complete quests on CKBoost, you will need CKB testnet tokens. You can claim them from the Nervos Pudge Faucet.
Fiber LSP infrastructure will be available for developers to use, but there will be no shared public LSP service for this hackathon. Teams should plan to run the Fiber service their project needs locally, or run it on a public server if they prefer.
A publicly hosted product interface plus a video demonstration is sufficient. The video should show the product in action, including Fiber-connected functionality that may not be available through the hosted interface.
More detailed technical setup instructions will be shared before the hackathon.
Each submission should include:
Functional demos are required; written proposals alone will not qualify. Code does not need to be open source, but must be made privately available to the judges for review. Submissions should explain what is fully working and identify any parts that are mocked or simulated.
You may use AI tools to research, develop and document your project. Successful submissions may claim up to $20 as an AI tooling allowance.
Use AI as an aid, and test and review your project throughout development to ensure it works as intended. We’ll be sharing more AI related tips and guidance over the pre-hackathon registration week.
Projects will be assessed on:
The Build on CKB Telegram group will be the main discussion channel for hackathon-related questions and support. Participants will also receive information about support channels by email after registering.
The Fiber DevRel team will be available to assist with technical questions.
The total prize pool is $20,000:
Submissions close on Friday 18 December 23:59 UTC.
As mentioned earlier, prizewinning teams will have the opportunity to discuss and receive advice from our hackathon partners who have a background in venture capital. This, however, is simply an initial step, and projects will be encouraged to move towards market viability and seeking further support where necessary.
I’m excited to see what the community produces. Good luck to everyone!
r/NervosNetwork • u/ckba_build • 8d ago

In simple terms:
Imagine you have a shared project wallet (a “Pocket”) that holds some CKB. You don’t want to give your teammates the main key. Instead, you set a spending budget and let two people (delegates) spend from that budget. Each has their own key and their own limit, but they share one overall allowance.
In technical terms:
QuotaCell is an experimental native CKB protocol for shared delegated spending. It lets a treasury owner create a protected Pocket from which two independent delegates can draw funds under a shared cumulative allowance and individual limits. The rules are enforced on-chain by CKB scripts during transaction validation (not only by an application), so invalid spends are rejected by the network itself. It is designed for use cases such as team treasuries, delegated contributor budgets, or restricted spending by autonomous agents, while the owner keeps the main treasury key offline.
How QuotaCell works:
QuotaCell is currently experimental and only for testing (on the CKB testnet). Don’t put real money in it yet.
Below is a set of questions targeting the core design trade-offs. We want to pick TicoWorld's brain on QuotaCell, so here goes:
Hello hello TicoWorld, how’s things? Let’s start with a personal statement, shall we? Who are you, and what is your background?
“I'm doing well, thanks for having me. I'm Timothy Orichi, also known as TicoWorld, a Nigerian software developer and Computer Science graduate. I've been programming for about five years, working on web and mobile apps, SaaS products, and blockchain projects across ecosystems including Solana, TON, and CKB. Within CKB, I've worked on FiberLatch and contributed to open-source development, including the CKB light client. I enjoy understanding how things work and turning that into software people can actually use.”
Wonderful, I can see you’ve been busy with QuotaCell. How did you find out about CKBuilders, what is it like working around other CKBuilders, and what interests you about CKB?
“A friend introduced me to CKBuilders. I spent a little over three months in the program and completed it. Around the time it ended, I separately applied to the CKB Community Fund DAO and received a grant for FiberLatch. That gave me a chance to move from learning about the ecosystem to building something in it.
What I've enjoyed about other CKB builders is the technical exchange. People ask about security, real network behavior, and what happens when a design fails, not just whether a demo works. CKB interests me because of the cell model. You can put rules into transaction validation itself, rather than trusting only an application server. That freedom is powerful, but it also forces you to think seriously about capacity, signing, and how cells change state.”
What advice would you give to anyone looking to build on CKB, and what AI tools would you recommend to anyone on their journey to build on the cell model?
“I'd tell someone starting on CKB to understand the cell model first: what happens when an input cell is consumed, how a successor output is created, and what lock scripts and type scripts each enforce. Start small on a local node, try valid and deliberately invalid transactions, and then test with a real wallet on Pudge. Local tests are important, but they won't reveal every RPC or wallet problem.”
“I use ChatGPT to explore ideas, question assumptions, and work through unfamiliar concepts, and Codex locally to inspect and implement code. They're useful, but I wouldn't trust an AI-generated spending contract just because it builds or its own tests pass. I want actual CKB-VM rejections, signed transactions, chain evidence, and eventually independent review. The tools speed up the work; they don't replace understanding it.”
The verified lifecycle locks 600 CKB in the active policy and leaves 134 CKB permanently occupied in the terminal QCT4 cell after closure (to support late-deposit recovery).
What are the concrete trade-offs of this design versus a more compact state or a fully reclaimable policy cell? Would reducing the terminal capacity increase the risk of unrecovered late deposits or complicate the lock script?
“The 134 CKB is actually an improvement over where we started. In the earlier design, closing a Pocket still retained the entire 600 CKB policy cell. We redesigned closure to produce a smaller terminal state. The active policy uses 466 bytes of state data in a 600 CKB cell; the closed state uses just 28 bytes in a 134 CKB cell. That releases 466 CKB to the owner before transaction fees. We verified that on Pudge, then sent another 73 CKB to the closed Pocket and recovered it through the owner's path.”
“The remaining cell isn't arbitrary. In the current design, protected funds are tied to that policy identity, and the terminal state keeps a valid route for owner-authorized late-deposit recovery. Simply deleting it could strand supported funds. I'd like to explore a new fund lock with a carefully designed, time-gated owner recovery path that could eventually allow the policy cell itself to be retired. But that may add capacity to individual fund cells and introduce new security questions about early recovery and late deposits. The goal is zero permanently retained policy capacity if we can prove it's safe, not zero overall capacity cost.”
Because the shared allowance is tracked in a single cell that must be consumed and recreated on every valid payment, concurrent spends from the two delegates can race.
How does the current implementation (or recommended client logic) handle this? What are the trade-offs between optimistic rebuild-and-retry (like some other CKB apps) versus stricter sequencing or a different state model that reduces contention?
“If both delegates prepare a payment using the same policy cell, only one of those transactions can be confirmed as-is. Once the first payment is confirmed, that cell has been consumed and replaced with an updated one. The second delegate would need to rebuild their transaction using the latest policy cell and remaining allowance, then sign again. So both delegates can still make payments, just not from the same old policy state simultaneously. That helps prevent overspending, but it also creates contention.”
“A client can refresh the latest state, recalculate the remaining allowance, and rebuild and re-sign a genuinely stale payment. The harder case is an uncertain RPC response. We must first reconcile the original signed transaction hash; blindly sending a newly built payment could result in a duplicate payment if the first one committed. We've implemented conservative journaling and reconciliation checks, but independent concurrent-wallet usage and reorganization handling still need broader testing. A sequencer could reduce collisions but adds a coordination dependency. Splitting state could improve concurrency, though preserving one enforceable shared allowance would be harder. I'd rather measure the real problem before increasing contract complexity.”
Delegate slots and recipients are fixed at Pocket creation; there is no way to add a third delegate or rotate recipients without effectively resetting authority.
What technical or script-complexity constraints drove this choice, and what would be the capacity, validation-cost, and security trade-offs of supporting dynamic delegate management or recipient rotation while still preserving the cumulative spent amount?
“Two delegates are a choice in our current contract, not a limit imposed by CKB. We began with a fixed layout so we could test independent keys, approved recipients, per-payment limits, shared accounting, and revocation without also building a dynamic membership system. Each delegate's used amount is recorded on-chain. The owner can increase limits without resetting those counters, and revoke or restore the two existing delegates, but can't currently rotate their identities or recipients or add a third.”
“I want to investigate those improvements. Recipient rotation might be handled through a new owner-authorized state transition that preserves spending history. Supporting more delegates could mean a larger on-chain state or a commitment-and-proof design. The first increases occupied capacity; the second can add validation costs and more difficult membership and replay-security rules. We would also need to handle policy-version compatibility carefully, since existing fund locks refer to a specific policy identity. I don't want to promise unlimited delegates until we've compared the real costs and verified that changing membership cannot reset spending authority.”
Owner recovery and revocation require the owner key; loss of that key can strand remaining funds. The design also keeps the owner outside the normal spending path.
How do you weigh the security benefit of never exposing the owner key to delegates against the single point of failure? Are there planned or possible mitigations (e.g., multi-sig owner, time-locked recovery, or a separate recovery path) and what capacity or complexity costs would they introduce?
“The owner being outside everyday spending is a deliberate security choice. Delegates sign with their own keys and can only spend within the contract's limits; they never receive the owner's key. The owner still controls changes to allowances, revocation, closure, and recovery. But the downside is serious: if that owner key is lost, funds may be stranded. QuotaCell doesn't currently have a tested solution to owner-key loss.”
“A multi-sig owner, a separate recovery authority, or a time-delayed recovery branch are all worth exploring. They would require changes to authorization, signing, and possibly the lock scripts, with extra capacity, validation work, or operational complexity. A badly designed fallback could also bypass the policy too early. I'd rather keep the current security boundary clear and test a separate recovery design properly before claiming it protects users.”
The strongest property is that CKB itself rejects invalid spends even if a user bypasses the QuotaCell UI. This comes at the cost of meaningful capacity lock-up and a relatively heavy policy cell.
For the intended use cases (small team treasuries, agent budgets, etc.), at what point does the capacity overhead and fixed-slot limitation outweigh the benefit of pure on-chain enforcement? Would a hybrid model (lighter on-chain checks and stronger off-chain controls) be considered, and what security guarantees would be sacrificed?
“For me, on-chain enforcement is worth considering when the main requirement is that nobody, including someone bypassing the UI, can spend outside agreed rules. QuotaCell checks the shared allowance, personal limits, recipients, and state transitions in CKB transaction validation. We have a verified public Pudge lifecycle, and separate CKB-VM tests show that exhausted allowances and revoked permissions are rejected, but I wouldn't use this exact version everywhere. It needs a 600 CKB active policy allocation, retains 134 CKB after closure, has two fixed delegates, and the current supported ordinary payment structure starts at 61 CKB. One shared cell also serializes payments. Those costs are hard to justify for tiny frequent transfers or large rotating teams. I'm open to a hybrid approach for coordination, discovery, notifications, or transaction preparation while keeping the essential spending limits on-chain. If we move authorization itself into a server, though, someone who bypasses that server may bypass the rule. We should be clear that this sacrifices part of QuotaCell's strongest guarantee.”
Great answers, TicoWorld! Thank you for taking the time to answer these questions. What are your next steps or plans for continued development on CKB?
“My first priority is making QuotaCell usable by people other than me. The public Pudge beta is live in English and Simplified Chinese, and we've verified nine transactions covering Pocket creation, funding, payments by both delegates, revocation, closure, and late-deposit recovery. That's meaningful progress, but it's a bounded testnet lifecycle, not a security audit or proof of broad adoption. Early external feedback has also exposed slow Pocket discovery and confusing wallet or transaction states, so reliability and independent user testing come first.”
“On the engineering side, I'd like to test whether we can eventually recover the remaining 134 CKB of policy capacity, safely support more delegates and recipient rotation, improve contention handling, and explore stronger owner-recovery options. Those are directions to investigate, not features I'm promising before we have evidence. QuotaCell is still experimental and unaudited, so real treasury use isn't the next step. I'll also keep working on other CKB projects and open-source contributions, including the light client.”
Thank you, TicoWorld, for all your answers and your work among the CKB community and through the CKBuilders initiative. They are 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
Documentation and Evidence
Source and Implementation
Developer
r/NervosNetwork • u/kevtam515 • 10d ago
PSA for anyone here who still has funds on Godwoken and has been inquiring about getting those funds back. There is now a way retrieve them. Follow the links that were given in the post from the MagickBase X account below :
https://x.com/magickbase/status/2124753715982966950?a=FZgXV4FMg0kwfOxXAxI&s=20
r/NervosNetwork • u/ckba_build • 11d ago
Noir CKB is a developer toolchain that connects the Noir programming language (for writing zero-knowledge proofs) with the Nervos CKB blockchain.
In simple terms:
Imagine you want to keep a secret number (like a private score or balance) stored on a blockchain, where only you should be able to update it, without ever revealing the number itself.
Noir CKB is an experimental way to write private logic in the relatively friendly Noir language, and safely enforce it on CKB. The Private Tally is the current live demo, you can try it on testnet if you want to experiment.
Noir CKB lets you:
The key idea of the project is:
“A proof that verifies is not the same as a proof that authorizes this cell transition.”
Xiaomao.
A mathematically perfect proof could still be about the wrong cell or update. Noir CKB binds the proof tightly to the actual transaction so it can’t be reused incorrectly.
The Private Tally is a cell that holds a hidden number.
On-chain the updates look the same whether you added something or nothing. What stays private is the actual value and the amounts added. Transaction metadata (existence of the tally, timing, who paid fees) is still visible.
It is research / experimental software (pre-audit, testnet only). Not for production or mainnet use yet.
Below is a set of questions targeting the core design trade-offs (binding correctness, performance, trust, tooling, and privacy limits) rather than surface-level features.
We want to pick Xiaomao’s brain on Noir CKB so here it goes:
Hello hello Xiaomao, how’s things? Let’s start with a personal statement, shall we? Who are you, and what is your background?
“My name is Xiaomao, and I’m a ZK and privacy engineer.”
“Most of my work sits in the zero-knowledge and privacy space, what pulls me in is the idea that you can prove something is true without revealing the data behind it. I think privacy is one of the most important problems in this industry. As more of our lives move on-chain, everything being public by default stops being acceptable, and I want to build the tooling that lets people keep private what should stay private, while still proving they followed the rules.”
“For about a year, I worked with Base as a developer in East Africa, where I helped developers get started, ran workshops, and supported the local builder community. These days my focus has gone deeper into the ZK and cryptography side, and I’m building on CKB. If I had to put my focus in one line, it’s privacy, and the practical side of it: bridging the gap between what protocols can do and what builders can actually ship. A lot of powerful cryptography never reaches developers because the distance between the research and a working build is too wide, and closing that gap is the work I care about most.”
“Outside of engineering, community is a big part of what I do. I co-founded LedgerLady, a women-led developer community that trains and equips women to become strong Web3 developers, and we run cohorts and university workshops across East Africa. I’m also an open-source enthusiast and contributor, so a lot of what I build and learn happens in the open.”
Wonderful, I can see you’ve been busy. How did you find out about CKBuilders and what is it like working around other CKBuilders? What interests you about CKB?
“I found CKB through a friend, to be honest. We were just chatting and he told me about a protocol called CKB, which had a builders program, and they asked if I wanted to join. I said sure, and he referred me to Neon, who leads CKBuilders. After talking with Neon I was onboarded, and that's really when I started learning what CKB is. I hadn't come across it on my own before that.”
“It’s been a really good experience. Beyond learning CKB itself, the part I didn’t expect to enjoy so much is watching other builders grow and seeing the range of things people are shipping in the CKB space. One thing I found fascinating is that most of us coming in as new CKB devs, came from somewhere else first. Some came from Ethereum, some from Polkadot, some from Bitcoin. A lot of people wrote about that transition, coming from Ethereum, or from Polkadot, and I wrote one too. Watching people make that shift and document it is genuinely beautiful to see.”
“I’ve learned a lot from people in the community, and the thing I appreciate most is that everyone is rooting for each other. There are channels for technical discussion and for reviews, where people actually give you feedback on your work. Something I’ve realized is that it’s not easy to get someone to sit down, use your product, and tell you what they think. So when another builder takes their time to test what you built and give you a real review, that means a lot, and that kind of support is one of the best things about the community.”
“The cell model, and specifically what it does to the way you think about programs. Coming in, I expected smart contracts on CKB to work more or less the way they do on Ethereum. What CKB taught me instead was to think in verifiers. A type script isn’t a function you call to mutate storage. It looks at the old state, the new state, and the evidence, and decides whether that transition is allowed. So instead of thinking in accounts, balances, and function calls, I started thinking in state transitions that have to be verified rather than executed. That shift connected directly to how I already think. While I was learning CKB, I kept coming back to ZK in my head. The verifier mindset made it easy to plug the ZK knowledge I already had straight into CKB, and that’s actually one of the reasons I’m building what I’m building now.
The cell model and ZK proofs fit together more naturally than I expected. Putting a zero knowledge proof inside a type script stops feeling exotic once you see that the script is already a verifier, and the proof is just one more thing it checks before it accepts a transition.”
What advice would you give to anyone looking to build on CKB, and what AI tools would you advise to help anyone on their journey to build on the cell model?
“If you’re a beginner, learn the cell model from first principles before you write anything. If you’re coming from another ecosystem, the important thing is to separate what you already know from how CKB actually works, because they aren’t the same. The cell model is the fundamental thing to understand. Get clear on what a cell is, what capacity means, the difference between lock and type scripts, and what a transaction really is, which is a proposed state transition rather than a function call. Once those are solid, everything else builds on top of them.”
“On AI, I lean on it hard, but as a research and review partner, not as an autopilot. I won’t name specific tools, because I don’t want to push anyone toward one in particular, but in general some models are stronger for research and reasoning through a design, and others are better for coding. I use them to move faster and to pressure test my ideas, and I check everything myself, especially anything new or anything that touches correctness or security.”
Regarding binding and replay protection: the type script rebuilds the public statement from the live transaction before verifying the Groth16 proof.
How do you guarantee that this reconstruction is complete and cannot be gamed by clever transaction construction?
Have you formalized the binding predicate, and what is the strongest attacker model you’ve tested against?
“Honestly, I haven’t formally verified the binding predicate, and I wouldn’t claim it’s provably complete. What I’ve done is make it explicit, and then attack it hard.”
“The type script rebuilds a context digest from the live transaction. That includes the network domain, the consumed cell’s outpoint, the old and new commitments, the successor lock, the capacity, and the action. It hashes that and feeds it in as part of the proof’s public inputs, so the proof only verifies if the statement it was made for matches the transaction it’s actually sitting in. A valid proof for one cell, one network, or one transition won’t be verified anywhere else.”
“The strongest attacker model I’ve tested is someone who can build arbitrary transactions and replay proofs they’ve observed. The Private Tally’s type script runs against a 49-case adversarial CKB-VM matrix plus mutation tests, and the cases that matter here are exactly the kind you’d worry about: multiple same-type inputs in a group, a proof replayed on a different outpoint, a proof replayed on a different tally cell, a capacity change on update, a proof made for a different network, and a creation proof reused as an update. All of them are rejected. The mutation tests then remove each check one at a time and confirm that the attack the check exists to stop gets through without it, so I know each check is doing real work and not just sitting there.”
“The honest limits: the binding is per state transition, not per whole transaction. Fee inputs and change are deliberately left open, which means a third party can pay the fee or relay the exact transition the key holder authorized. They can’t change what it does, but that’s a real property people should know about. And testing against a set of adversarial transactions is not the same as proving no adversarial transaction exists. It’s pre-audit software. Part of why I’m building the generator, which is the next question, is to make the binding predicate come from a small, reviewable spec instead of hand-written script logic, so that the thing you’d formally verify is small and explicit.”
There are CKB-VM cycle costs and practical limits, right?
Groth16 verification is currently landing in the ~100–120 million cycle range on CKB-VM.
What is the realistic upper bound on circuit size / public inputs before a proof becomes uneconomical or hits the cycle limit, and have you profiled the dominant costs (pairing, multi-scalar multiplication, Molecule decoding)?
Are there planned optimizations (precompiles, different curves, batching, or a switch away from Groth16) that could bring this down by an order of magnitude?
“The accepted transaction lands around 100 to 120 million cycles, and the pairing check dominates by a wide margin. Multi-scalar multiplication comes next, and Molecule decoding is small next to those two.”
“Public inputs are the cost you scale directly. It’s roughly 0.28 million cycles for a small input, up to about 2.8 million for a full-width one, and there’s a practical ceiling around six public inputs that comes from the 512-byte witness buffers. Against the 3.5 billion block cycle limit, one verification at around 115 million means you fit on the order of 30 proofs in a block before anything else runs. So the real constraint is throughput, not a single proof hitting the limit.”
“On optimizations, I’ve been de-risking three. The first is batch verification, checking many proofs under one key in a single run with a randomized check. In the research spike it comes out to roughly a 79 million fixed cost plus about 19.9 million per proof, which moves you toward around 170 proofs in a block instead of 30. The second is a single-product rewrite of the on-chain verifier that saves a flat 20 million cycles or so per verification. The third is moving, proving fully into the browser, so the expensive part runs on the user’s machine instead of on-chain. The tally circuit proves in about a tenth of a second on a laptop and under two seconds on an entry-level Android phone.”
“An honest order-of-magnitude drop probably needs batching together with a cheaper verifier, and past that you’re into curve-level precompiles in CKB-VM, which is an ecosystem decision rather than something I can do alone. I’m on Groth16 largely because a working CKB verifier already exists. A different proof system is on the table long term, but it’s a bigger move.”
The Private Tally treats the proof as the sole authority (no additional signature lock). You also ran a multi-party phase-2 ceremony and sealed it to a mainnet block.
What is the exact trust assumption today (how many honest contributors are required), and what is the migration path if you later want to remove the trusted setup entirely (e.g., switching to a transparent or universal SNARK that Noir can target)?
“Groth16 needs a trusted setup per circuit. For the Private Tally I ran a phase-2 ceremony with four contributors and sealed it to a public beacon, the hash of a specific CKB mainnet block (number 20,870,000) that didn’t exist when the ceremony started. The trust assumption is the standard one. The setup is sound as long as at least one of those four contributors actually discarded their secret. One honest participant is enough. I want to be clear that it’s sound if one is honest, and it isn’t an audited production ceremony.”
“Removing the trusted setup entirely means moving off per-circuit Groth16 to either a universal or updatable setup, or a fully transparent system with no setup at all. The catch cuts both ways. You need a system that Noir can target, and you need a verifier for it that’s efficient inside CKB-VM. The transparent systems tend to have larger proofs or heavier verifiers, which runs straight back into the cycle costs from the last question.”
“So it’s a real research direction rather than a committed next step. The per-circuit ceremony is the honest cost of the current design, and I’d rather be upfront that removing it isn’t free.”
What is the current scope of the generator for the type scripts (which public inputs and ell patterns are supported), and how do you plan to keep the generated binding logic auditable rather than becoming an opaque compiler output?
“That last decision is the whole auditability answer. The moment you let a spec drop into arbitrary code, the generated script becomes an opaque compiler output, and you’re back to auditing generated code line by line. By keeping the binding to a few declarative primitives, the thing a reviewer actually reads is the spec, which is short and explicit, and the generated type script follows directly from it. A linter checks the spec for unsafe patterns before anything is generated, and the generated test matrix is there to catch a binding that’s missing a check.”
“However, this is still at the research stage and the prototype has rough edges. An outside review of the spec and the linter turned up gaps that I’m fixing, which is exactly why it’s being reviewed before anything gets built on top of it. The goal isn’t to trust the generator. It’s to make the part you do have to trust small enough to actually read.”
Which additional privacy properties are realistically achievable on CKB with the current architecture (e.g., unlinkable updates, private ownership transfer, or shielded multi-party state), and which ones would require fundamental changes to the cell model or the proof system?
“What the tally hides today is the value and every amount added, including whether an update added anything at all. What leaks is the existence of the tally, the timing of the updates, who pays the fee, and the fact that one cell’s updates are linkable to each other.”
“Taking it beyond the tally, to what the full Noir CKB architecture could realistically support once it’s built out: the core capability is private, proof-authorized state on CKB. A developer writes their rule in Noir, and the chain enforces a hidden state transition with no signature, just a proof bound to that exact transition. On top of that, the realistic next property is unlinkable updates. That needs a shielded pool, a commitment tree plus nullifiers, instead of a single cell you keep respending, so that a series of updates can’t be tied together through the cell’s history. That’s the direction I’ve been researching, and it’s also what a private ballot box needs. From there, things like private ownership transfer and shielded multi-party state become reachable on the same machinery, though they’re meaningfully harder, and I’d want the pool solid first.”
“What needs fundamental change, rather than just more circuits, is the L1 metadata. Fee payment, timing, and the existence of a transaction are visible at the chain level, and no amount of script logic hides that. You’d need network level changes, not cell model changes. So full transaction graph privacy is the wrong thing to promise on this architecture.”
“The sweet spot, for the whole thing, is any application where you want to hide a value or a state but you’re fine with the existence of the activity being public. Private counters and tallies, ballot boxes, private membership and allow lists, confidential state that a specific party updates under proof, those all fit CKB well. What I’d build elsewhere is anything that needs a large and cheap anonymity set, very high-frequency activity, or full metadata privacy. The cycle costs and the public L1 metadata make CKB the wrong tool for those, at least today. The way I think about it is that Noir CKB is for making specific pieces of state private and provably correct, not for making an entire system invisible.”
Great answers, Xiaomao! Thank you for taking the time to answer these questions. What are your next steps or plans for continued development on CKB?
“In the short term, I’m finishing the research that de-risks the hard parts, so the next things I build stand on tested ground rather than hope. The first real application I want to ship on top of that is a private ballot box, where each vote is a hidden update that the chain can count and verify without ever seeing who voted for what. Alongside that, I’m hardening the proof-to-transition binding with the generator and its test matrix.”
“I’m also contributing improvements back upstream to the Groth16 verifier that Cecilia Mulandi built, which is the on-chain verifier my whole project depends on. The main improvement is a single-product rewrite of the pairing check that cuts a flat 20 million cycles or so off every verification, along with the tighter checks that came out of reviewing it. The reason that matters is that it isn’t only my project that gets cheaper. Anyone doing Groth16 verification on CKB uses less of the block’s cycle budget, so the whole ZK stack on CKB gets a little more practical, not just Noir CKB.”
“The bigger vision is this. Right now, building a private, proof-authorized application on CKB means being both a ZK engineer and a CKB script engineer, and hand-writing the binding logic that ties a proof to an exact state transition, which is the part that’s easiest to get subtly wrong. I want to collapse that. The goal is a toolkit where a developer brings their own Noir circuit and a small, readable spec, and gets back a correct, auditable CKB type script, the artifacts, and the adversarial tests, generated for them. If that works, privacy on CKB stops being something only a handful of specialists can build, and becomes something any capable developer can reach for. That’s the thread running through everything I do, closing the gap between what the cryptography can do and what builders can actually ship. The Nervos community DAO grant work I gained after, is me building that bridge for privacy on CKB. Longer term, I want this to grow into a broader base of open privacy and ZK infrastructure and research on CKB that other people build on, not a single app that stops with me.”
Thank you, Xiaomao, for all your answers and your work among the CKB community and through the CKBuilders initiative. These interviews and projects are vital for ecosystem growth, and to help others understand CKB and the possibilities around ZK proofs.
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:
Developer:
r/NervosNetwork • u/kevtam515 • 15d ago
This proposal is in the discussion phase. 30 likes will send it to the voting stage. They are asking for $12K USD. Its currently at 15 likes. Follow the conversation and go here to like it, challenge it, question it etc.. https://talk.nervos.org/t/dis-twine-non-custodial-p2p-for-nervos-ckb-on-nostr-and-fiber/11228
Summary below, way more details in the full proposal linked above
CKB is still hard to buy or sell for local money. An exchange asks the seller to deposit the coins first. An identity check turns people away. Twine is the other path, and it already trades on testnet. Two people trade directly. The seller locks CKB in their own Fiber channel by paying a hold Twine creates. The buyer pays the seller in local currency, outside Twine. Twine keeps the order book. It can release that hold only by paying the buyer, and it learns the buyer’s secret only from that payment. Twine never holds the cash, and the operator cannot settle that lock into the operator’s own wallet. The operator does decide the dispute. The same person runs the hub and publishes the solver. A seller uses a hub whose solver they trust. A solver key that is also the buyer cannot award that trade.
The hub operator publishes the solver. That solver can pay the buyer or wait for the seller’s channel lock to expire. Orders travel on Nostr. The coins move on Fiber. The Twine daemon does not open or fund channels. A buyer whose Fiber node cannot receive gets inbound from an LSP. There is no open-source LSP for that yet. Milestone 3 builds one. It opens the channel from its own node to any Fiber node, not only Fiber Studio, on testnet, and the channel liquidity is mine. JIT receive inside testnet Cellula stays a collaboration with the Cellula developers and is not part of this grant. This grant finishes the solver app, the rebuilt trading app, the website, and that LSP. Every check during those four months is testnet. When that work is in, the public hub switches to mainnet.
Buying or selling CKB for local currency today means a centralized exchange or an identity-checked on-ramp. Where those are banned, people still need a way to trade.
Twine lets a seller and a buyer trade CKB for local currency while the CKB stays in Fiber channels they already control. The buyer pays the seller directly. Twine records the payment method and the clock. It does not hold the cash or process the payment. The beta ran more than 20 testnet trades while bugs were being fixed, so I do not have an exact count.
Fiber hold invoices make this escrow possible with the tools Fiber already ships. Twine adds no custom CKB script. A normal trade window is 48 hours from the lock. A trampoline payout, including a buyer on testnet Cellula, is 68 hours. Those are the clocks Twine enforces. The seller’s channel stays locked until Fiber’s TLC expires. On a testnet Cellula seller that expiry was measured at 64 hours and 132 hours after the lock. The coins return then. The 48-hour and 68-hour numbers are not that measurement.
The order book is public Nostr messages. A trader needs a Nostr key, a relay, and their own Fiber wallet.
On a computer: Fiber Studio, or any Fiber wallet, pays the lock and receives the CKB. The seller needs a channel that can send. A Fiber node that cannot receive gets inbound from the LSP in Milestone 3. That open is for any Fiber node, not only Fiber Studio. The Twine daemon does not open the channel.
On a phone: testnet Cellula pays the lock and receives the CKB. The Cellula wallet is testnet only. twine-app shows the lock as a QR code. The trader pays it from Cellula, or scans it with Fiber Studio on a computer. A Cellula buyer who cannot receive gets inbound from JIT in Cellula. I will build that with the Cellula developers. It is not part of this grant. Until that inbound exists, the daemon keeps payment instructions closed.
Four months from approval, all of it on testnet. Kickoff, Milestone 1, and Milestone 2 are $2,400 each. Milestone 3, the LSP, is $3,000. Milestone 4 is $1,800. Each payment follows a public progress report on Nervos Talk. I write that report, and each acceptance item is marked done or still open. I do not request the next payment while an acceptance item for the current milestone is still open.
| Milestone | Planned work | Timeline | Budget |
|---|---|---|---|
| Kickoff | Work starts on a testnet that already trades | Month 0 | $2,400 |
| Milestone 1 | The solver app | Month 1 | $2,400 |
| Milestone 2 | The fee, the public trade record, and a coordinator someone else can host | Month 2 | $2,400 |
| Milestone 3 | The LSP. It opens inbound for any Fiber node that cannot receive | Month 3 | $3,000 |
| Milestone 4 | The trading app redesign, the website, guides, and store listings, accepted on testnet, then the public hub switches to mainnet | Month 4 | $1,800 |
| Total | 4 Months | $12,000 |
r/NervosNetwork • u/kevtam515 • 16d ago
A new proposal has entered the discussion phase. The ask is $7,000 USD, 30 likes to get to the vote phase. You can weigh your opinions here https://talk.nervos.org/t/dis-ckb-x-near-intents-building-a-cross-chain-bridge-and-multichain-swap-gateway/11244
Summary below, more technical details and funding breakdown in the complete proposal listed above
This project proposes building a bridge between CKB and NEAR and integrating with NEAR Intents to create a gateway for exchanging CKB across blockchain ecosystems.
Users will be able to bridge CKB to NEAR, receive its bridged representation, nCKB, and exchange it for a target asset through an intent-based swap flow. In the reverse direction, users will be able to exchange supported assets for nCKB and redeem it for native CKB.
The project will cover architecture, bridge contracts, MPC signing, relayer services, Intents integration, a reference quoting service, a user interface, and testing documentation. The deliverable will be a reproducible testnet prototype demonstrating the complete bridge-and-swap lifecycle.
We request 7,000 USDT equivalent from the CKB Community Fund DAO to complete this work over 8 weeks, establishing the technical foundation for future mainnet integration and liquidity partnerships.
Expanding CKB’s adoption requires making it easier for users from other ecosystems to acquire and use CKB, while giving CKB holders access to a broader range of assets and applications.
A bridge enables asset transfers between networks. An exchange integration addresses the next question: what can users do with those assets after bridging?
This project combines both capabilities:
Native CKB → nCKB on NEAR → NEAR Intents settlement → Target asset
The reverse path will be:
Source asset → NEAR Intents settlement → nCKB → Native CKB redemption
NEAR Intents provides infrastructure for expressing desired outcomes, obtaining quotes, and settling exchanges. Its documentation describes cross-chain swap interfaces and custom contract integrations.
By connecting CKB to this infrastructure, the project aims to reduce the friction of entering and leaving the CKB ecosystem and make CKB more accessible to multichain users and applications.
Implement CKB deposits, nCKB issuance on NEAR, nCKB burning, and withdrawals back to CKB.
nCKB will follow the NEP-141 token standard and use a reserve accounting model designed around 1 nCKB representing 1 CKB. Deposit, issuance, withdrawal, and reserve reconciliation rules will be documented publicly.
Implement the integration needed to deposit nCKB into an Intents settlement contract, query balances, obtain quotes, sign swap intents, execute settlement, and withdraw assets.
This phase will include a reference quoting and execution service that demonstrates bidirectional swaps between nCKB and at least one test asset in a controlled environment.
Users will be able to view deposit addresses, select a swap direction, review quotes and fees, and track bridge and swap progress through one interface.
Publish reusable interfaces and documentation for future integrations with wallets, aggregators, and cross-chain applications.
The initial scope focuses on native CKB. Support for additional CKB ecosystem assets will be evaluated separately based on demand, security requirements, and liquidity availability.
Broader access to CKB. The project will establish a technical route for users from other ecosystems to acquire CKB with fewer manual steps.
More opportunities to use CKB. CKB holders will gain a foundation for accessing other assets and applications through a unified flow, supporting future payment and cross-chain use cases.
New liquidity connections. Intents-based quoting and execution can create opportunities to connect CKB with external market makers and asset networks. Actual depth and pricing will depend on liquidity participation.
Greater ecosystem visibility. Open-source integrations, demonstrations, and developer documentation will introduce CKB to more NEAR and multichain developers and reduce future integration work.
Reusable public infrastructure. The funded work will include bridge contracts, signing adapters, relayers, Intents integration, and a reference interface that other teams can inspect and reuse.
Success will be measured through verifiable software deliverables rather than speculative promises about users, trading volume, or total value locked.
r/NervosNetwork • u/ckba_build • 18d ago
Seven years ago today, CKB's mainnet went live.
Ten months before launch, tucked away in its section on the virtual machine, the whitepaper said being crypto-agnostic "allows CKB users to keep their assets secure even in the post-quantum era."
That's because signature checks were never hardcoded into CKB's protocol. Every coin is guarded by a lock script running on CKB's RISC-V VM, so new signature schemes can be added just like any other software.
This year, the quantum threat moved up the agenda for the biggest chains. Ethereum researchers want to clear room in the next hard fork for post-quantum signatures, and Bitcoin developers are drafting a soft fork. Either way, changing the cryptography takes a fork and a ton of coordinated work.
On CKB, a post-quantum lock based on SPHINCS+ is already live on mainnet. Adding it took no fork.
In 2019, the whitepaper called it being crypto-agnostic. Today, the industry calls it crypto-agility.
Seven years and 21 million blocks in. Happy birthday, CKB.

r/NervosNetwork • u/ckba_build • 18d ago
Will quantum computing break crypto? In a talk, a CKB developer explains the risks to signatures, hashing, and encryption, why upgrading cryptography is hard for blockchains, and how CKB can adapt.
This article is adapted from a keynote that Chunteng Xiao (Alive24), a full-stack blockchain developer in the CKB community, gave at CryptoMondays London in February 2026. It keeps the talk's first-person voice. Minor edits have been made for readability and technical clarity.
In this talk, I’ll cover four things: what quantum computing is and why it matters; how to think clearly about the risk it poses; what the blockchain industry is doing about it and what it has achieved so far; and how CKB's design makes it flexible enough to adopt quantum-resistant cryptography.
I pitch it at the level of a blockchain enthusiast. By the end, you should know enough to explain it to friends and family and sound like you've done your homework.
To give you a sense of how seriously this is being taken: the big names are already moving. The Ethereum Foundation formed a dedicated quantum-security team in January 2026. That same month, Coinbase launched an expert advisory board to assess what quantum computing means for crypto.
To see what's special about quantum computing, it helps to start with the computers we already have. Over the decades, they've evolved toward ever more efficient ways to store and process information, saving time, space, and cost.
We started with punch cards, then moved to vacuum tubes, transistors, and finally the integrated circuits inside today's CPUs. All of them work in binary: everything is a zero or a one.
Quantum computers are different because they use qubits. A qubit can be a zero or a one, like an ordinary bit, but until it's measured it can also be in a superposition of both. That's the mind-bending part.
Two stories help. The first is Schrödinger's cat, which you may be familiar with. The physicist Erwin Schrödinger imagined a cat sealed in a box with a poison that's released only if a single radioactive atom decays, which may or may not happen. Until someone opens the box and looks, quantum physics describes the cat as both alive and dead.
That's superposition. In quantum physics, a system can be in a combination of possible states, rather than simply in one state we don't yet know. It's hard to grasp, and that's exactly what the cat story is meant to show.
The second story, "quantum socks," is less well known. Suppose you buy a pair of socks, pack only one of them, and fly to the other side of the world without knowing which one you took. The moment you open your suitcase and see the left sock, you know the one at home is the right.
You know instantly, however far apart the socks are. That's a rough picture of two quantum particles that are entangled. Real entanglement is more subtle than this story, but properties like these are what make quantum computing so powerful.
Ordinary computers use bits: zero or one. Quantum computers use qubits, which can be both zero and one at once and can also be linked. That doesn't make them faster at everything, but for certain problems, including the math behind crypto, they could be decisive.
These are fun stories, but why does a quantum computer matter for crypto?
Because a sufficiently powerful one could be a silver bullet against elliptic-curve cryptography (ECC), one of the most widely used forms of asymmetric cryptography today. Much of what you use every day may rely on it, and it underpins trust in blockchains and many other digital systems.
Asymmetric cryptography, also called public-key cryptography, protects trust with mathematical problems that are easy to compute in one direction and very hard to reverse. ECC isn't the only kind; RSA is another, and it may well be running on your home router.
Here's how it works in a blockchain wallet. When you create a wallet, you get a randomly generated mnemonic phrase, which you must keep strictly secret.
Your wallet then shows you an address straight away. You don't have to register it anywhere, because it's derived from your keys: the address comes from a public key, which in turn comes from your private key. The address and the public key are both public. Your private key stays secret.
You share your address every time you use the wallet. So how do you prove, or how does a program check, that you are you? That's where asymmetric cryptography comes in.
With the private key, it's easy to derive the public key or sign a piece of content. With the public key, the signature, and the content, anyone can easily verify that signature. But going the other way, and forging a valid signature without the private key, is extremely hard.
Asymmetric cryptography is the backbone of digital systems that need to be secure, and blockchains above all. Bitcoin uses ECDSA signatures, and Ethereum, Solana, Polkadot, and Cardano rely on elliptic-curve cryptography too.
Hashing is another tool cryptography relies on. A hash function turns any piece of data, however large, into a short string of fixed length called a hash, a kind of digital fingerprint. Change a single character of the data and the hash changes completely, so hashes are a quick way to check that data hasn't been altered. They're used well beyond crypto: websites store a hash of your password rather than the password itself, and software makers publish hashes so you can check a download hasn't been tampered with. Blockchains use them everywhere: every transaction is identified by its hash.
Producing a hash is easy. But finding different data with the same hash, or recovering the original data from the hash alone, is extremely hard. That's why we say hashing is one-way.
So how should we think about the risk today? In short, the attack algorithms already exist. What's holding things up is building a quantum computer capable of running them. To me it feels imminent, especially with AI now able to help, but that's my judgment, not a confirmed schedule.
We're already seeing promising prototypes and proofs of concept. So how close is it? One optimistic estimate is that there's no chance by 2030 but a strong likelihood by 2040. These are guesses, not established dates, and some people expect it sooner.
When I say the attack algorithms are ready, I mean two in particular.
The first is Shor's algorithm. On a sufficiently capable quantum computer, it can efficiently solve the mathematical problems behind widely used elliptic-curve signature schemes. In other words, it can work out a private key from a public key, which makes it the main quantum threat to private keys.
The second is Grover's algorithm. It speeds up brute-force searches, which reduces security margins and poses a possible risk to hash functions.
That all sounds very technical, so here's a more intuitive question: what would happen if the threat became real tomorrow?
First, private keys would no longer be private, so your assets would no longer be yours.
Second, authentic would no longer mean authentic. You could no longer prove that you are you.
Third, and this one is subtler, encrypted would no longer mean encrypted forever. If I harvest a copy of your encrypted data today, perhaps from a hacked server or an intercepted message, I can't read it now. But if the cryptography protecting it becomes vulnerable later, I may be able to decrypt that old copy. That's the worrying part.
As I mentioned, this wouldn't just threaten blockchains. It would threaten many other digital systems too, which is a little terrifying.
Hashing, signatures, and encryption are the three most important tools we use in cryptography and software today, and quantum computing affects each one differently.
To sign something, we take content of any size, called a message or payload, and generate a signature from it using a signature algorithm and a private key.
Anyone can then check that signature against the message using the corresponding public key. If the check succeeds, it proves mathematically that the signature is valid for that public key and that message. The verifier never needs the private key itself, yet knows the signature was made with it.
A sufficiently powerful quantum computer, however, could work out the private key from an exposed public key in a vulnerable elliptic-curve scheme. An attacker could then forge signatures and pretend to be you. Note that this requires the public key; a transaction hash alone isn't enough.
Unlike signatures, hashing involves no private or public key. You calculate the hash of some content and compare it with a trusted one, which makes hashes easy to create, store, send, and verify. A hash on its own, though, doesn't prove that the content is authentic.
Quantum computers can speed up the search for an input that matches a hash. If they have clues about the data, they can also try to guess secret content from its hash. They don't need the whole message: knowing its structure or a basic pattern lets a quantum computer test likely combinations until it finds a match.
[Editor's note: The speed-up is modest. Hash functions like SHA-256 are still considered safe, and where more margin is needed, the fix is simply a longer hash.]
Finally, encryption. Much of what we do online is already encrypted, from messaging apps to web browsing and online banking. With symmetric encryption, the data is encrypted with a shared secret key, sent to the other end, and decrypted there with the same key. Many systems use public-key cryptography to agree on that shared key in the first place.
The symmetric encryption itself holds up well. The weak point is the shared key: if it was agreed using public-key cryptography, a quantum computer could break that exchange and recover the key.
Once encrypted data has leaked, there's no way to undo the damage, and leaks like that are common today. That's the worry: someone can harvest encrypted data now and store it. They can't read it yet, but they may be able to decrypt it in the future. And what people encrypt is usually their most sensitive information.
Signatures are the most exposed: a powerful enough quantum computer could forge them. Hashes are only weakened, and longer hashes fix that. Encrypted data stolen today could be read later, once the key exchange that protected it is broken.
Fortunately, it probably won't happen tomorrow.
The more reassuring news is that we already have post-quantum cryptography: new schemes built on mathematical problems believed to be hard even for future quantum computers. They already run on ordinary computers, and there's more than one to choose from.
Traditional software companies can replace vulnerable cryptographic components and become quantum-safe. For blockchains it's trickier, because they're decentralized. There's no CEO to sign off an upgrade: thousands of independent node operators, miners or validators, and users all have to choose to adopt it.
Some newer blockchains were designed with quantum resistance from the start, such as the Quantum Resistant Ledger (QRL), which has similarities to Bitcoin, and Cellframe.
The bigger problem is for existing Layer 1 blockchains. Many are implementing post-quantum cryptography or researching roadmaps, but the transition could take years and cost a great deal.
They face three main challenges. First, quick patches often won't work. Most chains have their signature algorithms built into the protocol itself, so changing them may require a protocol upgrade.
Second, some post-quantum schemes have much larger signatures than ECC and need more computation, so they cost more to store and to run.
Third, the whole network has to agree, and choosing which algorithm to use, how to implement it, and what to prioritize can all be contentious.
For a sense of how slow this can be: Taproot, Bitcoin's last major upgrade, took nearly four years from first proposal in January 2018 to going live in November 2021, and it had broad support. After a switch to post-quantum signatures, every holder would still have to move their coins to be protected, which is a major undertaking in its own right.
This is where CKB comes in.
You can think of CKB as Bitcoin with more general smart contracts. Launched in 2019, it's a Layer 1 blockchain that scales through layers built on top of it. It shares Bitcoin's core principles: both use Proof-of-Work, and CKB's Cell model builds on Bitcoin's UTXO idea. It's also open source and permissionless.
What makes CKB special? If I could give only one answer, it would be RISC-V.
RISC-V is a real computer architecture, the kind used to design actual chips, and CKB's virtual machine is based on it. That means you can compile most ordinary code to run on the blockchain, including different kinds of cryptography, post-quantum schemes among them. That's been possible from the start.
The Cell model, meanwhile, lets you choose which lock script protects your assets, or Cells. Thanks to this UTXO-style design, adding a new kind of lock requires no protocol changes.
How good is this design? We have high praise from Vitalik Buterin himself. When he proposed RISC-V as a possible future execution model for Ethereum, one precedent he cited was the Nervos CKB VM, "which is basically RISC-V."
"This post proposes a radical idea for the future of the Ethereum execution layer. … The idea: replace the EVM with RISC-V as the virtual machine language that smart contracts are written in."
— Vitalik Buterin, co-founder of Ethereum, Ethereum Magicians forum, April 2025
Back to quantum resistance. A SPHINCS+-based lock script is already live on CKB mainnet. SPHINCS+ is the basis for SLH-DSA, which NIST standardized in FIPS 205.
Because it's just a lock script, the protocol doesn't have to build in one fixed signature scheme. You can use the SPHINCS+ lock for new Cells, or move existing assets to it when their spending conditions allow.
CKB can adopt future post-quantum cryptography the same way: build it, deploy it, and people can use it.
To make this easier to use, the community has released Quantum Purse, a wallet built on CKB and available for mainnet use. As far as I know, it's the first desktop wallet based on SPHINCS+.
It runs its own light client, so you don't need to rely on a third-party RPC endpoint, and there's a browser demo you can try. It has had an external security audit, although an audit covers only the code and scope it reviewed. We're also working toward a quantum-resistant hardware wallet built on it, for key management. Quantum Purse is open source.
On CKB, a signature scheme is just a lock script, so new cryptography can be added without changing the protocol. A SPHINCS+ lock is already live on mainnet, and Quantum Purse lets you use it.
I'll end with some personal thoughts.
People in the CKB community have always been proud of the architecture and vision it started with, and how the technology has evolved since. That pride is where our community-driven culture comes from.
If you're building infrastructure or services where users truly own their assets and data, and you want full control over how it all works, I don't think you'll regret choosing CKB. That's especially true for newcomers from the traditional software industry, whether you're an organization, a company, or an independent developer. That's my honest view.
Originally delivered as a keynote by Chunteng Xiao (Alive24) at CryptoMondays London in February 2026. Watch the recording on LinkedIn.
https://www.nervos.org/knowledge-base/will_quantum_computing_destroy_crypto
r/NervosNetwork • u/PSBerlin • 20d ago
How I run a CKB full node, and why Neuron alone isn’t the best setup
What makes a good node
A node is most useful when it’s online 24/7. Any machine that runs all the time works:
I used to run Neuron as a full node. It works, but the node stops whenever you close Neuron or shut down your laptop. The setup below is much better.
The setup
Step 1: Run a CKB node on your always-on machine
Get it here: https://github.com/nervosnetwork/ckb
Step 2: Install Neuron on your laptop or daily computer
Not sure about a step? An AI assistant can walk you through the ckb.toml settings and the Neuron connection.
Bonus: I run a mainnet and a testnet node on the same machine (different ports) and follow both with one Neuron. Just switch the network in Settings.
Check what your Neuron is doing now
Open Neuron → Settings → Network and see which node it uses:

Why bother?
Every independent full node verifies the chain itself and helps keep CKB decentralised.
If you’d like your node to do more, I’m building CSR (CKB Service Runner). It installs next to your full node and gives you a dashboard (sync, peers, uptime, a ranking with other nodes), and later paid service jobs. It needs a real full node, so it runs on the setups above but not on a light client.

Happy to help anyone getting their node up. Ask below.
r/NervosNetwork • u/PSBerlin • 20d ago
How I run a CKB full node, and why Neuron alone isn’t the best setup
What makes a good node
A node is most useful when it’s online 24/7. Any machine that runs all the time works:
I used to run Neuron as a full node. It works, but the node stops whenever you close Neuron or shut down your laptop. The setup below is much better.
The setup
Step 1: Run a CKB node on your always-on machine
Get it here: https://github.com/nervosnetwork/ckb
Step 2: Install Neuron on your laptop or daily computer
Not sure about a step? An AI assistant can walk you through the ckb.toml settings and the Neuron connection.
Bonus: I run a mainnet and a testnet node on the same machine (different ports) and follow both with one Neuron. Just switch the network in Settings.
Check what your Neuron is doing now
Open Neuron → Settings → Network and see which node it uses:

Why bother?
Every independent full node verifies the chain itself and helps keep CKB decentralised.
If you’d like your node to do more, I’m building CSR (CKB Service Runner). It installs next to your full node and gives you a dashboard (sync, peers, uptime, a ranking with other nodes), and later paid service jobs. It needs a real full node, so it runs on the setups above but not on a light client.

Happy to help anyone getting their node up. Ask below.
r/NervosNetwork • u/kevtam515 • 21d ago
Fiber Dev Log 41
Channel V2 has landed in v0.10.0-rc2! ⚡️
Alongside the new signing and recovery protocol, we’ve been working on smoother channel funding and more accurate payment queries.
Here's a closer look at this release candidate and the accompanying Mainnet update:
- Channel V2 (rc2): V2 improves upon V1 with independent signing sessions (removing extra empty exchanges) and safer context saving for dropped connections. It also introduces full 32-byte payment hashes for on-chain settlement.
- Mainnet deployment: An updated commitment-lock contract is now live on CKB Mainnet to support the new V2 settlement format.
- Node operations: Channel funding and watchtowers now coordinate their CKB cell selection upfront, preventing transaction conflicts and saving setup work.
- We're also working on Hosted LSP support for multiple channels per client, including separate CKB and token channels.
Clients will be able to cancel their own invoices as well. These changes are still under review.
Full dev log:👉 https://github.com/nervosnetwork/fiber/discussions/1745
r/NervosNetwork • u/PSBerlin • 22d ago
🌍 Multilanguage: csr-monitor.chainsolution.net/join
🚀 Get started: csr-monitor.chainsolution.net
r/NervosNetwork • u/kevtam515 • 22d ago
The monthly CKB development log is out:
This cycle focused on stabilizing light-client data consistency and expanding local developer tooling, alongside targeted infrastructure upgrades.
We've overhauled how the browser light client handles storage and proof requests.
By grouping database writes into single, atomic transactions, the client is now far more resilient against inconsistent data and interrupted syncs.
A few other highlights:
- OffCKB plugins: A new sandboxed host lets developers pull in compatible tools directly from npm or GitHub without bloating the core CLI.
- Faster infrastructure: CKB Explorer was optimized to process heavy testnet blocks much faster, while the discovery service improved its connection handling.
- DAO treasury: The experimental voting project added a standalone local demo, allowing developers to test the full path from a proposal to a treasury payout.
Meanwhile, heavier architectural changes, such as the transaction-pool refactor and a new RocksDB layout, continue to move through rigorous review and benchmarking.
Full dev log: 👉 https://github.com/nervosnetwork/ckb/discussions/5367
r/NervosNetwork • u/kevtam515 • 24d ago
Voting for this proposal is now currently live here 👉 https://dao.ckb.community/thread/vot-cellula-on-fiber-a-wallet-a-checkout-and-an-ai-agent-on-a-public-mainnet-lsp-81853
Use you CKB if you want to vote pass or reject this proposal
Brief Summary-
Fiber works. What it lacks is a way in for people who will never run a node, and Fiber Link, funded by this DAO, says the same. Cellula brings three, all running on testnet today: a wallet people open with their face or fingerprint, a checkout any shop adds with two lines, and an agent that lets AI pay for what it uses within limits a person sets. This proposal takes them to mainnet, on a public LSP (the node that opens payment channels for wallets, so they never need one of their own) that any Fiber wallet or app can use.
LusoCryptoLabs asks for $22,258.48, and at most $23,922.48 with a contingency paid only if used, in CKB over five payments, each after something anyone can check. The DAO is asked for no liquidity: LusoCryptoLabs puts in the channel capital itself (961,368 CKB, its own, at its own risk).
Five payments, each after something anyone can check:
- Payment 1 (at approval): servers set up, plan and status page posted, M1 started. $3,458.48
- Payment 2, M1 (week 3): mainnet LSP, gateway and watchtower running; wallet scripts deployed and public. $2,800.00
- Payment 3, M2 (week 6): Checkout and the agent on mainnet; approvals relay. $2,400.00
- Payment 4, M3 (week 9): the Cellula wallet on mainnet, web and Android. $4,800.00
- Payment 5 (month 6): six months of operation, help for other projects, work on Fiber. $8,800.00
- Contingency (only if used, with payment 5): up to $1,664.00
Each payment is its USD value in CKB on the day it is paid, and at most 25% more CKB than at the 2026-11-01 price, so the grant never costs the treasury more than about 24.6 million CKB. At the 2026-11-01 price the grant is about 19.7 million CKB, and this vote's quorum is set to three times that.
What already runs on testnet, the open-source plan (all CKB code open, contracts always, the seller kit and relay MIT at approval), the risks and the team are in the full proposal.
Full proposal and discussion here 👉 https://talk.nervos.org/t/dis-cellula-on-fiber-a-wallet-a-checkout-and-an-ai-agent-on-a-public-mainnet-lsp/11089