XRGB
  • XRGB
    • XRGB Introduciton
    • XRGB-404
    • XRGB Token
    • Roadmaps
    • XRGB L2 Chain
    • X404 Protocol
    • How to Use the XRGB Bridge on Lynex
  • XRGB WALLET
    • Overview
    • Social Login
    • XRGB Web Wallet
    • XRGB Mobile Wallet
    • XRGB Extension Wallet
    • Assets Supported
      • BRC20
        • Technical implementation
        • User Tutorial
      • RGB20
        • Overview
        • User Tutorial
    • Address type
  • XRGB STAKING
    • Babylon Staking
    • Lorenzo Staking
    • Other Staking Protocols
  • XRGB USB
    • Tech Implementation
    • USB Design
    • USB Tutorial
    • Musig2 Introduction
  • X404 NFT Hub
    • Get started
    • Mint X404 Tutorial
    • Buy X404 Tutorial
    • Bridge X404 Tutorial
    • Redeem or claim X404 Tutorial
    • Send & Receive X404 Tutorial
  • FAQs
    • XRGB Wallet
      • Quick Question
      • Executing a payment using RGB
      • What are the benefits of MPC wallets with Social Login?
      • MPC Wallet Use Cases
    • RGB
      • Quick Question
      • Client-Side-Validation
      • Introduction of RGB Contract
      • Introduction of Single-Use Seals
      • Client to client communications
      • RGB state transitions
      • RGB state transition commitments
      • RGB Privacy Protection
    • BRC20
      • Quick Question
      • Pros of BRC-20 Tokens
      • Cons of BRC-20 Tokens
  • 📖User Tutorials
    • Get started
      • Usage conditions
      • Create a new account
      • Social Login
      • Import Wallet
    • BRC20 Tutorial
      • View BRC20 tokens and balances
      • View BRC20 token detail
      • Inscribe transfer
      • Send BRC20
      • Receive BRC20
    • RGB20 Tutorial
      • View RGB20 assets and balance (Testnet)
      • Mint RGB20 assets (Testnet)
      • Send and receive RGB20 tokens (Testnet)
    • ERC20 Tutorial
      • View ERC20 assets
      • Send and receive ERC20
    • BTC Token
    • BRC20 - ERC404 Bridge
Powered by GitBook
On this page
  • 1. Overview
  • 2.Security Guarantees
  • 3.Staking workflow
  • 4.Integration with XRGB Wallet
  1. XRGB STAKING

Babylon Staking

1. Overview

Babylon's protocol for Bitcoin staking enables owners of Bitcoin to directly stake their Bitcoin towards POS blockchains, eliminating the need for intermediary custody, bridging, or wrapping services. It offers economically enforceable security assurances for PoS networks and facilitates rapid unbonding of stakes, thereby improving liquidity for Bitcoin stakers. Babylon protocol is crafted as a flexible module, ensuring compatibility with a range of PoS consensus mechanisms, and lays the groundwork for the development of further re-staking protocols.

2.Security Guarantees

Babylon's Bitcoin staking protocol ensures these security features:

  • Fully Slashable PoS Security: If there's a breach of safety rules, it's certain that one-third of the Bitcoin stakes will be penalized.

  • Staker Security: Staked bitcoins are guaranteed to be safe and redeemable, as long as the staker (or the validator it delegates to) follows the protocol honestly.

  • Staker Liquidity: The process to unbind staked Bitcoin is both secure and fast, negating the need of social consensus.

3.Staking workflow

From a Bitcoin staker's perspective, the Bitcoin staking protocol works as follows:

Staking bitcoin: the staker initiates the process by sending a staking transaction to the Bitcoin mainnet, locking his bitcoin in a self-custodian vault. More specifically, it creates a UTXO with two spending conditions: 1) timelock after which the staker can use his secret key to withdraw, and 2) burning this UTXO through a special extractable one-time signature (EOTS). In case of delegation, this EOTS belongs to the validator the stake delegates to.

Validation on PoS Chain: Once the staking transaction is confirmed on the Bitcoin mainnet, the staker (or the validator that staker delegates to) can start validating the PoS chain and signing votes valid blocks using the EOTS secret key. During his validation duty, there are two possible paths:

  • Happy Path: In the honest condition, the staker follows the protocol and earns yield. The staker can then unbond via two approaches: 1) wait for the existing timeclock to expire and then withdraw; or 2) submit an unbonding transaction to Bitcoin, which will unlock the bitcoin and return it to the staker after a parameterized unbonding period.

  • Unhappy Path: If the staker behaves maliciously, e.g., participates in double-spending attacks on the PoS chain, the staking protocol ensures her EOTS secret key is exposed to the public. Consequently, anyone can act as the staker to submit a slashing transaction on the Bitcoin chain and burn her bitcoin. This unhappy path ensures that safety violations are penalized, maintaining the overall integrity of the system.

4.Integration with XRGB Wallet

XRGB Wallet, utilizes the Babylon protocol, offers users a complete, seamless, and smooth staking userflow including the process of BTC staking, the option to select or operate their own validator, the process of stake unbonding, and acquiring staking rewards.

PreviousAddress typeNextLorenzo Staking

Last updated 1 year ago