Cointime

Download App
iOS & Android

How will Zero-knowledge Proofs Empower Bitcoin?

While there are a lot of projects working on using zero-knowledge proofs to scale and improve blockchain infrastructure or dApps, most of them are built on Ethereum. Comparably, the possibilities of applying zero-knowledge proofs to the Bitcoin network are much less explored. 

However, theoretically, zero-knowledge proofs have a huge potential to improve the Bitcoin network in terms of privacy, scalability, security, and room for innovation. 

For example, as a decentralized virtual currency, Bitcoin uses the blockchain to store all the transaction information. That means everyone is accessible to such information, leaving the network with privacy risks. Zero-knowledge proofs (“ZKPs”) is a technology that can be effectively used in privacy protection. It is a mathematical method by which one party (the prover) can prove to another party (the verifier) that a given statement is true without revealing any additional information about the statement. Using ZKPs, transaction data can be encrypted, enabling users to transact with more privacy on the Bitcoin blockchain. 

Additionally, the Bitcoin network is considered unsuitable for commercial use because of its slow transaction speed due to limited block size and the issue of network congestion. ZKPs can help scale the network to solve this by buddling up transactions for batch processing and minimizing the size proofs for validation.

Let’s delve into the landscape in this field and the potential to be discovered.

ZkSNARKs vs ZkSTARKs

ZkSNARKs and zkSTARKs are two prominent vibrations of the zero-knowledge proof technology. Both allow one party to prove to another the validity of a given statement without revealing any sensitive information. But they differ in their workings, performance, and possible use scenarios. 

ZkSNARKs (Zero-Knowledge Succinct Non-Interactive Argument of Knowledge) are based on elliptic curve cryptography (ECC), which involves complex mathematical equations that are difficult to solve. They can generate extremely small-sized proofs without interacting with either the prover or the verifier. ZkSNARKs are mostly used in cryptocurrencies and privacy protection.

ZkSTARKs (Zero-Knowledge Scalable Transparent Argument of Knowledge) are a new type of zero-knowledge proof technology. They use a much simpler mathematical framework that includes irreversible cryptographic hash functions and polynomial interpolation, allowing them to be implemented more efficiently on a larger scale.

And different from zkSNARKs, zkSTARKs do not require a potentially vulnerable trusted setup phase, making them more secure. zkSTARKs are also considered to be quantum resistant.

ZkSTARKs have larger proof sizes than zkSNARKs but the proof for zkSTARKs can be verified by anyone without access to any external parameters. Also, they can better support parallel processing and distributed computing, enabling them to handle complex computing tasks efficiently. This means zkSNARKs can be used in wider fields such as Internet-of-Things. 

ZkSTARKs also allow developers to use more complex algorithms and run complex mathematical operations, thus providing more possibilities for technological upgrades. 

As zkSNARKs were developed ahead of zkSTARKs, they have got a head start in terms of adoption.

Limitations of ZkSNARK-based Bitcoin Projects

Take Zcash for example. Zcash is a code fork of the Bitcoin protocol. It builds on the existing work of the Bitcoin core team to enable shielded transactions that encode the sender, recipient, and amount using zk-SNARKs. 

Zcash works like this. Firstly, there are two types of Zcash addresses, shielded and transparent. Transparent addresses start with “t” and behave similarly to Bitcoin addresses, exposing the address and balance on the blockchain. Shielded addresses that start with “z” include the privacy enhancements provided by zero-knowledge proofs.

Secondly, when users send cryptocurrencies between shielded addresses, a zkSNARK proof will be generated to prove that the sender has enough amount of a cryptocurrency that is unspent. The process involves complex mathematical and cryptographical operations including generating the public parameters, calculating the hashes, and constructing arithmetic circuits.

While generating a zkSNARK proof takes a lot of time and computing power, validating a zkSNARK proof is very fast and simple. The validator only needs to check if a transaction is processed in line with the consensus rules of the blockchain without knowing the amount, sender, and receiver of the transaction.

In this way, the use of zkSNARKs helps Zcash achieve anonymity and verifiability for transactions.

However, there are some limitations to Zcash’s use of this technology. Firstly, like Bitcoin, Zcash uses unspent transaction outputs (UTXO) to determine what transactions are spendable. This means transaction data has been yielded but only shielded from the public.  By analyzing patterns and traffic of transactions between the shielded addresses, attackers may obtain information that can undermine users’ privacy. 

Secondly, Zcash maintains its own blockchain, which makes it difficult for Zcash to integrate or interact with other applications. This has limited the application of Zcash and impeded its further development. Despite its success in achieving privacy-preserving transactions, the use of Zcash is low. Also, privacy-preserving transactions have a much higher cost than public transactions, which is one of the reasons behind Zcash’s low use and another limitation of it.

Experiments and Prospects of Applying ZkSTARKs to Bitcoin

The characteristics of zkSTARKs mean that they might be the more suitable ZKP technology for Bitcoin. 

One of the cutting-edge experiments is called elliptic-curve STARKs or EC-STARKs. EC-STARKs aims to increase Bitcoin’s scalability and security by moving off-chain the validation of the Elliptic Curve Digital Signature Algorithm (ECDSA) signature using STARKs. By replacing hash functions with elliptic curves, EC-STARKS can make already-existing scalability solutions for Ethereum compatible with Bitcoin. You can run an off-chain protocol for Bitcoin and keep proofs in STARKs. It means Bitcoin can be emulated inside STARKs, allowing highly sophisticated protocols to be built on Bitcoin-based tokens with the same elliptic curve keys.

Put simply, this technology can not only increase the scalability of Bitcoin but also enable the Bitcoin blockchain to transform itself into a platform where developers can create dApps, potentially becoming a rival for Ethereum. It also enhances privacy and reduces storage needs as data can be turned into significantly smaller proofs. However, some of the challenges include compatibility with the existing Bitcoin infrastructure and the demand for computing resources. 

zkSTARKs can also be used to prove the validity of block headers, enabling light clients to verify the latest state of the chain in an instant. In combination with UTreeXO, a dynamic hash-based accumulator designed for the Bitcoin UTXO set, zKSTARKs can be used to instantly sync a Bitcoin full node without the need to download gigabytes of blockchain history. And a block can be validated only by checking the UTreeXO root hashes that represent the whole UTXO set and the output state. 

ZkSTARKs may also be applied to the transaction verification process, including serialization of transactions, calculation of Double-SHA256 hashes, secp256k1 operations, and other core operations in the verification process. They could ensure a high degree of security and operational reliability in the process. What’s more, ZKSTARKs can also be used to verify Cairo built-ins for Bitcoin acceleration. Leveraging the built-in feature of Cairo, the highly efficient zero-knowledge proof system of StarkNet, the efficiency of the transaction verification process could be dramatically increased.

Beyond the above-mentioned, zkSTARKs have other potential applications. For example, in combination with Taro, they can make Taro more scalable, allowing it to process more transactions and support larger-scale applications, thus paving the way for the multichain deployment of Taro and potentially expanding the use cases of Bitcoin. 

Also, by using zkSTARKs to compress transaction history into a single transaction and effectively shield transaction data, confidential transactions can be achieved on the Bitcoin blockchain. Furthermore, zkSTARKs can be used to realize the primitive of Taro, achieve serialization of assets by TVL, and realize and verify the Merkle-Sum Sparse Merkle trees (MS-SMT). These operations could effectively enhance privacy and security. And layer-2 solutions such as the Lightening Network can leverage zkSTARKs to verify Bitcoin transactions more efficiently without sacrificing privacy. 

More and more projects are starting to experiment with adopting zero-knowledge-proof technology to the infrastructure and dApps in the Bitcoin network. Some of the solutions are promising to accelerate the use of this technology in harnessing the block space of the Bitcoin blockchain and improving the blockchain’s privacy and scalability. 

But overall, most of the activities are on Ethereum. There is an obvious lack of attention to the intersection of Bitcoin and zero-knowledge-proof technology. What’s more, the current engineering practice is lagging far behind the achievements of academic research. 

We believe more exploration and experiments are needed in this space, but it is a promising direction worth our attention and support.

Comments

All Comments

Recommended for you

  • SK Hynix Completes 40 Trillion Won Share Buyback

    On October 21, according to Yonhap News Agency, SK Hynix's large-scale share buyback, following that of Samsung Electronics, also concluded on the 21st. SK Hynix announced that it completed a two-month share buyback worth 40 trillion won (approximately 30.213 billion USD) on the Korea Securities Exchange (KOSPI) on that day. Previously, SK Hynix had declared an investment of 40.0434 trillion won to repurchase 24.07 million shares of the company, with all shares to be canceled after the buyback is completed. This buyback represents about 3.3% of the company's total issued shares and is the largest share cancellation operation by a listed company in South Korea. The originally announced buyback period was from August 20 to November 19, but the actual buyback was completed approximately one month ahead of schedule.

  • BTC Surpasses $83,000

    Market data shows that BTC has surpassed $83,000, currently priced at $83,116.53, with a 24-hour increase of 1.81%. The market is highly volatile, so please ensure proper risk management.

  • Hang Seng Tech Index Declines by 1%

    On October 21, the Hang Seng Tech Index saw its decline widen to 1%, while the Hang Seng Index fell by 0.7%. Kuaishou Technology dropped over 12%, and CATL fell by more than 11%.

  • UK Government Debt Exceeds £3 Trillion for the First Time

    On October 21, the UK government's borrowing in the first six months of this fiscal year exceeded expectations, highlighting the constraints faced by Chancellor of the Exchequer Jeremy Hunt ahead of his first budget announcement next week. From April to September, the UK's fiscal deficit widened to £97.8 billion (approximately $130 billion), which is £6 billion higher than the forecast made by the Office for Budget Responsibility (OBR) in March. In September, government borrowing reached £24.5 billion, surpassing both the OBR's predictions and the levels from the same period last year. This set of data reflects the latest state of public finances ahead of the budget announcement on October 28, where Hunt must outline the policy direction for Prime Minister Rishi Sunak's new government while avoiding panic in the bond market, as concerns grow over the high level of UK government debt. The total UK government debt has now exceeded £3 trillion for the first time. Despite the UK economy demonstrating strong resilience against energy shocks caused by the Middle East conflict and tax revenues exceeding OBR forecasts, government borrowing has still been higher than expected for the fiscal year 2025 to 2026 so far.

  • Oman Crude Premium to Dubai Falls to Nearly 3-Month Low as Middle East Oil Exports Remain Resilient

    On October 21, a key crude oil benchmark in the Middle East dropped to its lowest level in nearly three months, indicating that despite escalating attacks on shipping by Iran, the region's oil exports are showing strong resilience. According to General Index data, this week, the premium of Oman crude over Dubai crude fell to around $4 per barrel, the lowest level since late July. This price difference reflects the strength of the physical crude oil market in the Gulf region. In the early stages of the conflict, this premium soared to over $60 per barrel as the Strait of Hormuz was nearly closed. Despite the risk of attacks, major oil-exporting countries in the Middle East have successfully allowed more tankers to pass through the waterway or completely bypassed the Strait of Hormuz via pipelines. These efforts have weakened Iran's attempts to leverage its position by disrupting global energy flows.

  • Korean Stocks Close Up Over 3%

    On October 21, the South Korean KOSPI index closed up 182.93 points, an increase of 3.29%, reaching 5735.67 points. Samsung Electronics rose by 5.67%, while SK Hynix increased by 5.8%.

  • President Trump: Large Data Centers Must Generate Their Own Power and Benefit Communities

    On October 21, President Trump stated that newly constructed large—sometimes even giant—data centers must generate their own power and either return excess electricity to the local community or sell it to the grid. This way, electricity prices are not only unlikely to rise but may actually decrease significantly! Other relevant parties should take similar measures! If businesses want their data centers to be welcomed, they should pay 'dividends' to the community and/or individuals within the community. I have closely observed this process: data centers that were initially very unpopular in certain areas became highly favored after reaching economic compensation agreements. Reaching agreements and building data centers is greatly beneficial for the United States!

  • Two Whales Open Long Positions on Nearly 30,000 ZEC in 15 Hours on Hyperliquid

    On October 21, according to on-chain analysis platform Lookonchain, two whale addresses opened long positions totaling 29,798 ZEC with 10x leverage on Hyperliquid within the past 15 hours, valued at approximately $37.57 million. The data shows that address 0x30af…6393e opened a long position of 14,800 ZEC at an average price of $1,243.28 (approximately $18.65 million, isolated margin), while address 0xbf73…5d58 opened a long position of 15,000 ZEC at an average price of $1,217.06 (approximately $18.91 million, full margin). Based on the current price of about $1,260.5, the unrealized profits for both addresses are approximately $255,000 and $655,000, totaling about $910,000.

  • French AI Planning Software Company Pigment Raises $250 Million at $2.3 Billion Valuation

    On October 21, Bloomberg reported that French AI business planning software company Pigment announced the completion of a $250 million funding round, reaching a valuation of $2.3 billion. This round was led by Scaleup Europe Fund, with participation from Nvidia, World Innovation Lab, Iconiq, IVP, and Meritech Capital. CEO Eléonore Crespo stated that the company plans to attract Asian investors to accelerate its business expansion in Asia. Founded in 2019, Pigment primarily offers a financial and business planning platform for enterprises and has launched agentic AI features; its annual recurring revenue (ARR) has surpassed $100 million.

  • Samsung Plans to Transition Xi'an Factory to 286-Layer Flash Chip Production by 2027

    According to reports, sources indicate that Samsung plans to transition its Xi'an factory in China to the production of 286-layer flash chips by 2027. Meanwhile, SK Hynix intends to produce chips with 240 layers and above at its factory in Dalian, China. (Golden Ten)