“We expect the next cycle of exponential blockchain growth to come from the large-scale application of Bitcoin.”
With the official establishment of Satoshi Lab, co-sponsored by Web3 Labs and Waterdrip Capital, in Hong Kong, discussions about the Bitcoin ecosystem are gradually rising throughout the entire crypto market. Using client-side verification solutions to build smart contracts on Bitcoin scripts, while being compatible with the infinitely scalable Lightning Network for channel transactions, may become a block on the triangle that simultaneously ensures “security, decentralization, and scalability” Chain large-scale application solutions.
This article will provide a popular science explanation on some basic concepts of the Bitcoin ecosystem. From the “Blockchain Impossible Triangle” that hinders large-scale application, to the Bitcoin “Lightning Network” that overcomes the “Impossible Triangle”, to the current solutions to Bitcoin scripts and UTXO model principles.
Vitalik Buterin, the founder of Ethereum, and Chang Chao, the founder of Babbitt, both proposed that “blockchain networks cannot achieve security, decentralization and scalability at the same time”, which is the “impossible triangle of blockchain”. The problem of the “Impossible Triangle” has long hindered the large-scale application of blockchain.
On the basis of ensuring security, Ethereum has focused on the development of decentralization in the past ten years and continued to innovate at the infrastructure layer of the underlying public chain to expand the scalability of the Ethereum public chain. In order to achieve this goal, Ethereum has also iterated on various air algorithms, sharding, rollup and other technologies in the past ten years.
But for the scalability problem, judging from Ethereum and its Layer 2 attempts, it seems that as long as the solution is still limited to the blockchain, there will be an upper limit on performance. Even the most powerful blockchain we currently see is still difficult to break through the upper limit of TPS (transactions per second). It is far from the requirements of large-scale commercial applications of millions of TPS, and the global industry There is still a huge gap to achieve the goal of hundreds of millions of TPS. For mainstream public chains, whether it is Ethereum or Bitcoin, they all face a bottleneck - “How to solve scalability?”
Lightning Network uses off-chain computing, that is, “Payment Channel”, to completely solve the scalability problem of the “Impossible Triangle” -As long as it is built With enough channels, you can run any number of concurrent transactions.
If during the channel transaction, A performs fraudulent behavior - closing the channel early to settle Bitcoins. Then when the channel is closed, a fraudulent transaction will immediately be generated on the Bitcoin chain. Based on the openness of the Bitcoin chain, B can observe in time and punish A with a penalty agreement signed in advance. The penalty is to confiscate all A’s reserves.
Theoretically, the Lightning Network achieves infinite scalability and overcomes the impossible triangle of blockchain. But the most critical problem that hinders the large-scale application of Lightning Network is that Lightning Network uses the same script as Bitcoin, while there are no smart contracts on the Bitcoin chain, only simple scripts, which cannot carry complex applications. That is, the Bitcoin chain is Turing incomplete. Turing complete means that it can theoretically solve any computational problem. Using a Turing-complete scripting language, it can be logically compatible with other programming languages, and can theoretically realize the logic that any other language can realize, and replicate real business logic to the greatest extent. There are no smart contracts on the Bitcoin blockchain, let alone building applications based on smart contracts. Sothe biggest problem that the Lightning Network needs to overcome is “how to implement smart contracts on Bitcoin.”
In 2016, Bitcoin core developer Peter Todd published a paper proposing the client verification paradigm,by simulating the traditional contract signing method to ensure that only both parties know the privacy premise of the contract content< /span>, without any third-party participation, achieving complete decentralization. At the same time, when the transaction is executed, the transaction initiator provides the necessary complete transaction history data and the other party verifies it by itself to prevent the occurrence of fraud problems. There is no centralization problem, and the off-chain verification is not limited by performance, so it is currently considered by most people to be the “optimal” solution to solve the Turing completeness deficiency of the Bitcoin blockchain.
Traditional contract signing vs blockchain smart contract signing
Is client-side validation watertight?
Seeing this, some people seem to have doubts. The decentralized Bitcoin blockchain itself solves the security problems in traditional business, but with the introduction of client verification, the solution returns to the off-chain, even if it is solved Fraud problem, so how to effectively prevent the double-spending problem?
Introducing “disposable seals”
Since client-side verification itself does not include a double-spending prevention mechanism, we have to introduce third-party assistance to solve this problem. To achieve this, we bind every state of every contract that needs to be verified in client validation to a specific Bitcoin’s Unspent Transaction Output (UTXO). Since there are only two forms of UTXO, “spent” and “unspent”. Once you want to change the status of the verification contract, you must spend the bound UTXO (any amount is acceptable), so that the transaction that spends it can get the blockchain Confirmation. In addition, the Bitcoin transaction that spends it must also provide proof of the content of the state transition (acting similar to a hash value). Simply put, the bound UTXO can be regarded as the sealing wax of this state “envelope” If you want to open the envelope one by one, you must open the sealing wax.
Different from Ethereum’s account model,Unspent transaction output (UTXO) is sent from one address to another but has not yet been The sum of cryptocurrencies redeemed by the recipient in order to send the funds to someone else in a subsequent transaction.
For example, if Alice sends 1 Bitcoin to Bob, then Bob owns the UTXO as long as he does not spend the BTC he received from Alice. Once Bob spends 1 BTC, the life cycle of the UTXO is over.
Assuming that Bob’s wallet has only participated in one transaction in which Bob received 1 BTC from Alice, the transaction verifier knows that Bob’s UTXO balance is 1 BTC. If Bob sends 1 BTC to Carol, his UTXO immediately becomes 0 BTC. If Bob then attempts to double spend his coins in a second outgoing transaction, the validator will find that his UTXO balance is insufficient to be used as a second outgoing transaction. input of a transaction, and an honest validator will notpropagateor confirm his double-spending transaction.
During the evolution of Bitcoin, the design of client-side verification has cleverly circumvented the centralization issues of side-chain and colored coin solutions, and introduced a one-time sealing mechanism to further improve security. At this moment, the Bitcoin ecosystem is ushering in the birth of a series of new protocols. Among them, the RGB protocol not only follows the above concepts, but also proposes to be compatible with the Lightning Network, laying the foundation for unlimited scalability. Although the compatibility of the RGB protocol and the Lightning Network is not yet perfect, we are full of confidence in the future and believe that the infrastructure that helps the protocol to continuously optimize will break through the long-standing limitations of the “impossible triangle of blockchain”.
We have more reason to expect that the exponential growth of blockchain in the next cycle will come from the large-scale adoption of blockchain driven by the explosion of the Bitcoin ecosystem. We believe that Bitcoin will break through its original single store of value and highlight its currency attributes. At the same time, it will continue to graft more applications into the Bitcoin ecosystem through diversified solutions, promote ecological scalability and sustainable development, and continue to contribute to the blockchain world. Bring endless possibilities.
“We expect the next cycle of exponential blockchain growth to come from the large-scale application of Bitcoin.”
With the official establishment of Satoshi Lab, co-sponsored by Web3 Labs and Waterdrip Capital, in Hong Kong, discussions about the Bitcoin ecosystem are gradually rising throughout the entire crypto market. Using client-side verification solutions to build smart contracts on Bitcoin scripts, while being compatible with the infinitely scalable Lightning Network for channel transactions, may become a block on the triangle that simultaneously ensures “security, decentralization, and scalability” Chain large-scale application solutions.
This article will provide a popular science explanation on some basic concepts of the Bitcoin ecosystem. From the “Blockchain Impossible Triangle” that hinders large-scale application, to the Bitcoin “Lightning Network” that overcomes the “Impossible Triangle”, to the current solutions to Bitcoin scripts and UTXO model principles.
Vitalik Buterin, the founder of Ethereum, and Chang Chao, the founder of Babbitt, both proposed that “blockchain networks cannot achieve security, decentralization and scalability at the same time”, which is the “impossible triangle of blockchain”. The problem of the “Impossible Triangle” has long hindered the large-scale application of blockchain.
On the basis of ensuring security, Ethereum has focused on the development of decentralization in the past ten years and continued to innovate at the infrastructure layer of the underlying public chain to expand the scalability of the Ethereum public chain. In order to achieve this goal, Ethereum has also iterated on various air algorithms, sharding, rollup and other technologies in the past ten years.
But for the scalability problem, judging from Ethereum and its Layer 2 attempts, it seems that as long as the solution is still limited to the blockchain, there will be an upper limit on performance. Even the most powerful blockchain we currently see is still difficult to break through the upper limit of TPS (transactions per second). It is far from the requirements of large-scale commercial applications of millions of TPS, and the global industry There is still a huge gap to achieve the goal of hundreds of millions of TPS. For mainstream public chains, whether it is Ethereum or Bitcoin, they all face a bottleneck - “How to solve scalability?”
Lightning Network uses off-chain computing, that is, “Payment Channel”, to completely solve the scalability problem of the “Impossible Triangle” -As long as it is built With enough channels, you can run any number of concurrent transactions.
If during the channel transaction, A performs fraudulent behavior - closing the channel early to settle Bitcoins. Then when the channel is closed, a fraudulent transaction will immediately be generated on the Bitcoin chain. Based on the openness of the Bitcoin chain, B can observe in time and punish A with a penalty agreement signed in advance. The penalty is to confiscate all A’s reserves.
Theoretically, the Lightning Network achieves infinite scalability and overcomes the impossible triangle of blockchain. But the most critical problem that hinders the large-scale application of Lightning Network is that Lightning Network uses the same script as Bitcoin, while there are no smart contracts on the Bitcoin chain, only simple scripts, which cannot carry complex applications. That is, the Bitcoin chain is Turing incomplete. Turing complete means that it can theoretically solve any computational problem. Using a Turing-complete scripting language, it can be logically compatible with other programming languages, and can theoretically realize the logic that any other language can realize, and replicate real business logic to the greatest extent. There are no smart contracts on the Bitcoin blockchain, let alone building applications based on smart contracts. Sothe biggest problem that the Lightning Network needs to overcome is “how to implement smart contracts on Bitcoin.”
In 2016, Bitcoin core developer Peter Todd published a paper proposing the client verification paradigm,by simulating the traditional contract signing method to ensure that only both parties know the privacy premise of the contract content< /span>, without any third-party participation, achieving complete decentralization. At the same time, when the transaction is executed, the transaction initiator provides the necessary complete transaction history data and the other party verifies it by itself to prevent the occurrence of fraud problems. There is no centralization problem, and the off-chain verification is not limited by performance, so it is currently considered by most people to be the “optimal” solution to solve the Turing completeness deficiency of the Bitcoin blockchain.
Traditional contract signing vs blockchain smart contract signing
Is client-side validation watertight?
Seeing this, some people seem to have doubts. The decentralized Bitcoin blockchain itself solves the security problems in traditional business, but with the introduction of client verification, the solution returns to the off-chain, even if it is solved Fraud problem, so how to effectively prevent the double-spending problem?
Introducing “disposable seals”
Since client-side verification itself does not include a double-spending prevention mechanism, we have to introduce third-party assistance to solve this problem. To achieve this, we bind every state of every contract that needs to be verified in client validation to a specific Bitcoin’s Unspent Transaction Output (UTXO). Since there are only two forms of UTXO, “spent” and “unspent”. Once you want to change the status of the verification contract, you must spend the bound UTXO (any amount is acceptable), so that the transaction that spends it can get the blockchain Confirmation. In addition, the Bitcoin transaction that spends it must also provide proof of the content of the state transition (acting similar to a hash value). Simply put, the bound UTXO can be regarded as the sealing wax of this state “envelope” If you want to open the envelope one by one, you must open the sealing wax.
Different from Ethereum’s account model,Unspent transaction output (UTXO) is sent from one address to another but has not yet been The sum of cryptocurrencies redeemed by the recipient in order to send the funds to someone else in a subsequent transaction.
For example, if Alice sends 1 Bitcoin to Bob, then Bob owns the UTXO as long as he does not spend the BTC he received from Alice. Once Bob spends 1 BTC, the life cycle of the UTXO is over.
Assuming that Bob’s wallet has only participated in one transaction in which Bob received 1 BTC from Alice, the transaction verifier knows that Bob’s UTXO balance is 1 BTC. If Bob sends 1 BTC to Carol, his UTXO immediately becomes 0 BTC. If Bob then attempts to double spend his coins in a second outgoing transaction, the validator will find that his UTXO balance is insufficient to be used as a second outgoing transaction. input of a transaction, and an honest validator will notpropagateor confirm his double-spending transaction.
During the evolution of Bitcoin, the design of client-side verification has cleverly circumvented the centralization issues of side-chain and colored coin solutions, and introduced a one-time sealing mechanism to further improve security. At this moment, the Bitcoin ecosystem is ushering in the birth of a series of new protocols. Among them, the RGB protocol not only follows the above concepts, but also proposes to be compatible with the Lightning Network, laying the foundation for unlimited scalability. Although the compatibility of the RGB protocol and the Lightning Network is not yet perfect, we are full of confidence in the future and believe that the infrastructure that helps the protocol to continuously optimize will break through the long-standing limitations of the “impossible triangle of blockchain”.
We have more reason to expect that the exponential growth of blockchain in the next cycle will come from the large-scale adoption of blockchain driven by the explosion of the Bitcoin ecosystem. We believe that Bitcoin will break through its original single store of value and highlight its currency attributes. At the same time, it will continue to graft more applications into the Bitcoin ecosystem through diversified solutions, promote ecological scalability and sustainable development, and continue to contribute to the blockchain world. Bring endless possibilities.