Bitcoin, Babylon Understanding Non-Custodial Staking on the Babylon

<p></p><h2 id="what-is-babylon">What is Babylon?</h2><p><a href="https://twitter.com/babylon_chain?ref=p2p.org" rel="noreferrer">Babylon</a> is <strong>a revolutionary staking protocol that allows Bitcoin holders to provide their BTC assets to secure PoS systems</strong> and receive a yield on their assets.</p><blockquote>The idea of BTC staking is relatively new and needs further explanation. When discussing BTC staking, many people associate it with locking BTC in some multisig account, bridging BTC to other chains, and minting new synthetic tokens. The addition of third parties always reduces security. However, that's not the case with Babylon.</blockquote><p>To avoid misunderstandings, let’s clarify that Babylon is a Bitcoin Staking Protocol that provides shared security for PoS systems and allows Bitcoin holders to delegate their BTC to Finality Providers, who can then provide Bitcoin security to a consumer PoS chain or DA layer. On the other hand, there is also the Babylon chain, built on Cosmos SDK, which receives security from the Babylon Bitcoin Staking Protocol and acts as the first chain that Finality Providers can support. However, <strong>Babylon plans to support different PoS systems from various blockchain ecosystems and provide them access to shared security collateral with BTC.</strong></p><p>In this article, we’ll focus on the Babylon Bitcoin Staking Protocol. <strong>We’ll show you how the staking flow works</strong>, how Babylon applies non-custodial features, and why the process is secure.</p><h2 id="core-parts-of-the-babylon-bitcoin-staking-protocol">Core Parts of the Babylon Bitcoin Staking Protocol</h2><p>The Babylon Bitcoin Staking Protocol consists of two key protocols designed to enhance security in decentralized systems. These protocols leverage the robust features of both Bitcoin and Babylon:</p><ol><li><strong>Bitcoin Timestamping Protocol. </strong>This protocol in Babylon allows data from PoS systems, such as blockchains or DA layers, to be securely timestamped on the Bitcoin network. The protocol enables any data submitted to Babylon to receive Bitcoin timestamps, enhancing their security as more blocks are added over time. This increased immutability helps protect PoS systems from long-range attacks, improving their integrity. Additionally, this protocol facilitates data exchange between Bitcoin and other PoS systems that utilize BTC for security.</li><li><strong>Bitcoin Staking Protocol.&nbsp;</strong>Babylon’s Bitcoin Staking Protocol enables Bitcoin to secure decentralized systems through trustless, self-custodial staking. Bitcoin holders can stake their Bitcoin for PoS systems without needing third-party custody, bridges, or wrapping. This protocol offers economic security guarantees to PoS systems, allowing for slashing if necessary, and ensures efficient stake unbonding to enhance liquidity for Bitcoin holders. It’s designed to be modular and compatible with various PoS consensus protocols, serving as a foundation for building restaking protocols.</li></ol><p>These protocols form a solid foundation for Babylon, providing the ability to stake BTC and exchange data between Bitcoin and chains that use BTC as security collateral.</p><h2 id="how-does-staking-work">How does staking work?</h2><p>Before describing the entire flow, <strong>let’s briefly talk about the staking process's cornerstones: the Finality Providers' role, a time lock, and an EOTS signature.</strong></p><h3 id="finality-providers">Finality Providers</h3><p>Babylon introduces an additional layer of finality that can be added on top of CometBFT or other consensus protocols. Finality Providers are responsible for voting in a finality round on top of these consensus protocols.<br>Finality Providers can receive voting power delegations from BTC stakers and earn commissions from the staking rewards denominated in the tokens of the networks they support.</p><p>If a Cosmos chain decides to integrate with the Babylon Bitcoin Staking Protocol, they need to onboard Finality Providers in addition to their existing set of validators. Additionally, they must incentivize Finality Providers to secure the network by providing additional rewards.</p><p>This dual-layer security system creates a strong shared security that can be used by various PoS systems. <strong>By combining the efforts of current validators and Finality Providers, Babylon offers a solid foundation that PoS systems can use to boost their own security.</strong> This shared security strengthens the Babylon network and provides a reliable security setup for other networks and applications that connect with Babylon.</p><h3 id="a-time-lock">A Time Lock&nbsp;</h3><p>A UTXO time lock is a feature of the Bitcoin blockchain that ensures certain coins can't be used until a specific time or block height is reached. Since Bitcoin doesn't have smart contract functionality, developers use UTXO scripts to create these time locks. To set up a time lock on a UTXO, users need to utilize Bitcoin's script language. Bitcoin scripts define the conditions under which a transaction output can be spent. In the case of a time lock, the script includes specific opcodes (operations) that enforce the time-based restriction.</p><figure class="kg-card kg-image-card"><img src="https://p2p.org/economy/content/images/2024/05/1920x1080-9.jpg" class="kg-image" alt loading="lazy" width="1920" height="804" srcset="https://p2p.org/economy/content/images/size/w600/2024/05/1920x1080-9.jpg 600w, https://p2p.org/economy/content/images/size/w1000/2024/05/1920x1080-9.jpg 1000w, https://p2p.org/economy/content/images/size/w1600/2024/05/1920x1080-9.jpg 1600w, https://p2p.org/economy/content/images/2024/05/1920x1080-9.jpg 1920w" sizes="(min-width: 720px) 720px"></figure><p>Using time locks, Babylon can maintain a secure and trustless staking environment, giving users confidence that their staked assets remain controlled until the time lock conditions are met. This approach not only secures the funds but also enhances the overall integrity of the staking process.</p><h3 id="eots-signature">EOTS Signature</h3><p>An EOTS (Extractable One-Time Signature) is a cryptographic feature used by Babylon to enhance the security and integrity of its staking process. EOTS signatures are built using Schnorr signatures, which prevent finality providers from double-signing. In the context of Babylon, an EOTS signature ensures that if a finality provider attempts to sign two conflicting blocks, their secret key is revealed. This exposed secret key can then be used to penalize the malicious actor by triggering a slashing mechanism.</p><figure class="kg-card kg-image-card"><img src="https://p2p.org/economy/content/images/2024/05/1920x1080-36.jpg" class="kg-image" alt loading="lazy" width="1920" height="804" srcset="https://p2p.org/economy/content/images/size/w600/2024/05/1920x1080-36.jpg 600w, https://p2p.org/economy/content/images/size/w1000/2024/05/1920x1080-36.jpg 1000w, https://p2p.org/economy/content/images/size/w1600/2024/05/1920x1080-36.jpg 1600w, https://p2p.org/economy/content/images/2024/05/1920x1080-36.jpg 1920w" sizes="(min-width: 720px) 720px"></figure><p><br>Babylon employs EOTS signatures to ensure that Finality Providers validate blocks correctly and honestly. When a user like Alice stakes her Bitcoin, she relies on a Finality Provider to validate blocks using her staked BTC as collateral. If the Finality Provider behaves maliciously, for example, by signing the same block twice, the EOTS signature mechanism kicks in. Observers can detect the double-signing, reveal the provider’s EOTS secret key, and use this information to initiate a slashing transaction.</p><p><strong>Here’s how the EOTS signature is involved in the staking process:</strong></p><ol><li>Generating an EOTS Key Pair: The Finality Provider creates a pair of keys: a secret nonce and a public nonce.</li><li>Public Declaration: The Finality Provider announces in advance that for chain-X at block height-1000, this public nonce will be used to verify her vote. This ensures that only votes signed with this specific nonce will be accepted.</li><li>Signing the Block: After verifying block-1000 and being satisfied with it, the Finality Provider uses the secret nonce and her EOTS secret key to sign the block. She then publishes this signature as her vote.</li><li>Verification: The other participants can verify the vote using the finality provider’s EOTS public key and the pre-declared public nonce.</li></ol><p>Using EOTS signatures, Babylon adds an extra layer of security to its staking process. This mechanism guarantees that any attempt by a finality provider to act dishonestly is met with immediate consequences, such as slashing the staked BTC. This approach protects Alice's funds and maintains the integrity and trustworthiness of the entire Babylon staking system.</p><p>Let's imagine that Alice decides to stake her coins. What steps should she take?</p><figure class="kg-card kg-image-card"><img src="https://p2p.org/economy/content/images/2024/05/1920x1080-37--1-.jpg" class="kg-image" alt loading="lazy" width="2000" height="782" srcset="https://p2p.org/economy/content/images/size/w600/2024/05/1920x1080-37--1-.jpg 600w, https://p2p.org/economy/content/images/size/w1000/2024/05/1920x1080-37--1-.jpg 1000w, https://p2p.org/economy/content/images/size/w1600/2024/05/1920x1080-37--1-.jpg 1600w, https://p2p.org/economy/content/images/2024/05/1920x1080-37--1-.jpg 2000w" sizes="(min-width: 720px) 720px"></figure><h3 id="creating-a-staking-transaction">Creating a Staking Transaction&nbsp;</h3><p>When signing the transaction, Alice makes four essential steps:</p><ol><li>Creates a time lock for her BTC for a specified time range.</li><li>Chooses a Finality Provider to validate blocks and use Alice's BTC as security collateral.</li><li>Pre-signs a slashing transaction: Alice approves the transaction to be slashed if the finality provider she chooses acts maliciously. The finality provider's secret key is the only thing needed to broadcast this transaction. Bitcoins are slashed by sending them to a Bitcoin burn address like 0000…0000.</li><li>Links a Cosmos-based wallet for receiving rewards.</li></ol><h3 id="block-validation">Block Validation</h3><p>After staking BTC, the Finality Provider starts validating blocks to secure the PoS systems using the BTC delegated by Alice. There are two main scenarios for the finality provider:</p><ol><li>Acts Correctly—If the Finality Provider acts correctly and validates blocks without double-signing or being offline, the provider receives rewards for validating blocks, which Alice can claim. The Finality Provider can charge a fee for its validation services.</li><li>Acts Maliciously – If the Finality Provider acts maliciously, it can lead to a slashing transaction. Here’s how it can happen:<ol><li>For example, the Finality Provider acts maliciously by signing one block twice.</li><li>Whoever sees both votes can decrypt the provider’s EOTS secret key.</li><li>A special covenant committee signs the pre-signed slashing transaction created by the staker using the finality provider’s EOTS secret key.</li><li>The slashing transaction is broadcast to the network, and a portion of BTC is sent to a burn address like 0000…0000.</li><li>The remaining portion is returned to Alice.</li></ol></li></ol><p>Because of Babylon's approach's beauty, BTC is always held in Alice's account. If slashing occurs, her Bitcoin can only be withdrawn or sent to a burn address. The EOTS secret key is required to slash Alice's transaction, which can only be revealed if the validator acts maliciously. This architectural approach provides confidence that the whole process is secure and trustless, ensuring that Alice maintains control over her assets at all times.&nbsp;</p><p><strong>Alice's most important decision is choosing a provider with enough experience in the validating industry to secure her BTC without the risk of slashing it.</strong></p><h2 id="why-is-babylons-btc-staking-approach-different-from-alternatives">Why is Babylon's BTC staking approach different from alternatives?</h2><p>BTC holders can find different BTC staking solutions on the market. The most popular ones are Bitcoin L2s. If users want to stake their Bitcoins, they typically need to bridge Bitcoin using bridges, mint BTC derivatives on the receiving network, and find a protocol that allows them to stake their coins.</p><p>Most Bitcoin Layer 2 solutions don't use BTC as collateral for supporting PoS chains. Instead, they provide yield to BTC holders through additional emission, liquidity provision, or lending mechanisms.</p><p>Babylon's approach is more secure because it doesn't involve bridging or minting synthetic BTC. The source of yield is always clear, as it comes from supporting PoS networks, which reward validators with their coins.</p><p>We believe in the Bitcoin staking narrative and are committed to helping the Babylon Foundation use idle Bitcoin capital to fortify PoS systems. We will continue sharing content about this. Stay tuned for updates!</p><h2 id="how-to-participate">How to Participate?</h2><p>If you're interested in participating in the launch of Babylon, we recommend two main directions for involvement:</p><ol><li><strong>Testnet Participation:</strong> Engage with the Babylon testnet by staking your SignetBTC directly on Babylon's <a href="https://btcstaking.babylonchain.io/?ref=p2p.org"><u>official website</u></a>. This allows you to familiarize yourself with the platform's features and functionalities without risking real assets.</li><li><strong>Support for Large Bitcoin Holders: </strong>If you hold significant Bitcoin, don't hesitate to contact our team. We can provide tailored validator solutions that will be optimal for you when the mainnet launches.</li></ol><p>The Babylon Testnet-4 has already been launched, and the mainnet launch is anticipated by the end of the first half of the year. This new testnet focuses on the security of staked Bitcoins by testing user interactions with the BTC Signet test network. The Babylon team is actively monitoring updates and feedback from the community to ensure the network's robustness and security before the mainnet launch. </p><h1 id="about-p2p-validator"><strong>About P2P Validator</strong></h1><p><a href="https://p2p.org/?ref=p2p.org">P2P Validator</a>&nbsp;is a world-leading non-custodial staking provider, securing over $7 billion from over 10,000 delegators/nominators across 40+ high-class networks. We have actively participated in the Babylon Chain activities since the beginning.</p><hr><p>Do not hesitate to ask questions in our&nbsp;<a href="https://t.me/P2Pstaking?ref=p2p.org">Telegram</a>&nbsp;chat or contact Alik via&nbsp;<a href="mailto:[email protected]" rel="noreferrer">[email protected]</a>. We are always open to communication.</p><hr><p><strong>Web:</strong>&nbsp;<a href="https://p2p.org/?ref=p2p.org">https://p2p.org</a></p><p><strong>Twitter:</strong>&nbsp;<a href="https://twitter.com/p2pvalidator?ref=p2p.org">@p2pvalidator</a></p><p><strong>Telegram:</strong>&nbsp;<a href="https://t.me/P2Pstaking?ref=p2p.org">https://t.me/P2Pstaking</a></p>

Kamil Jakub Natil

from p2p validator