tgBTC Docs
  • Intro to TON Teleport BTC
  • USER GUIDES
    • Testnet in TON
    • Signet in BTC (for PC)
    • Signet in BTC (for Mobile)
    • Mint your first tgBTC
    • Burn your tgBTC for BTC
    • View transaction history
    • Common errors and solutions
    • How passwords keep you safe
  • DEVELOPMENT
    • Build first tgBTC dApp
    • tgBTC API by TONX
  • INFORMATION DESK
    • FAQ
    • Key resources
  • Whitepaper
    • Abstract
    • Declaration of Trustlessness
    • Overview
    • Key Concepts
      • Peg-in (BTC Deposit)
        • Bitcoin Simplified Payment Verification Client
        • Transaction Confirmation, Processing and tgBTC minting
      • Peg-out (tgBTC Withdraw)
        • Building of Withdrawal Transactions
        • DKG and FROST
        • Peg-out Timing and Optimizations
      • Additional Components and Security Mechanisms
        • Bitcoin Transaction Fees
        • Validator Rotation and Key Management
        • Refund Mechanism for Expired Deposits
        • Consensus-based System Updates
        • Inspectors
    • Expanding Possibilities and Value for TON
    • Conclusion
    • Papers
Powered by GitBook
On this page
  1. Whitepaper
  2. Key Concepts
  3. Additional Components and Security Mechanisms

Refund Mechanism for Expired Deposits

PreviousValidator Rotation and Key ManagementNextConsensus-based System Updates

Last updated 6 months ago

Given that the set of validators in the TON network changes every 18 hours, deposit addresses associated with these validators also ”expire” after each rotation. This means that if a user initiates a Bitcoin transaction and the corresponding tgBTC has not yet been minted before the validator set changes, the deposit address will no longer be valid, and the transaction cannot be completed. To address this situation, the TON Teleport BTC system includes a refund mechanism that allows users to reclaim their BTC in case of expired deposit addresses.

When generating a deposit address, the user has the option to provide a Bitcoin public key, which will be used to construct an OP CSV script (CheckSequenceVerify) within the Bitcoin transaction. This script allows the user to reclaim their deposited BTC after a specified timeout period (typically two weeks) if the peg-in operation is not completed within that time. The refund process differs depending on the level of security chosen by the user:

The refund process is designed to be flexible and secure, allowing users to choose the level of protection that best suits their needs while maintaining the trustless nature of the TON Teleport BTC system.