@lijiang

Sculpting in time

Do one thing and do it well.
Every story has a beginning and an end.

Interlay Btc Bridge - 2

Understanding interlay BTC cross-chain bridges

3-Minute Read

Introduction

Having previously written a blog about the overall architecture of PolkaBTC, in this blog we will understand specifically how PolkaBTC works. PolkaBTC has been renamed Interlay BTC Bridge, where the previously running Staked Relayer has been merged into the Valut module. Interlay uses the XCLAIM protocol framework, where BitCoin assets are locked in the Bitcoin chain, which then generates a 1:1 corresponding InterBTC token on the Interlay chain, and InterBTC Token can be used on parallel PolkaDOT ecological chain. For most investors who invest in digital currencies, Interlay chain is a pseudo demand, however, refer to the whole stock market as well as futures trading market, digital currency exchanges, they are nothing but centralized and users will transfer and exchange different kinds of assets, to the world of digital currencies, what we want is decentralized exchanges, exchanges rely on smart contracts to complete transactions, Bitcoin is Bitcoin is the leading digital currency, currently the way to get bitcoin we can only get it through exchange or mining, I have ETH, I have to transfer ETH to a centralized exchange and then exchange it for BTC, if it is a cross-chain decentralized exchange, then we can directly transfer assets to Tokens of other chains through cross-chain protocols, the advantage of this process compared to centralized exchanges The advantage of this process over centralized exchanges is that it is efficient and secure, think about what if the centralized exchange runs away! At a later stage my goal is to be able to use quantitative strategies to profit in the world of cryptocurrencies, which involves knowledge in the field of algorithmic strategies and high frequency trading quantitative investments.

Core Concepts

  • Issue interBTC (minted tokens)

  1. Vault locks a certain number of DOT tokens on the InterBTC parallel chain.

  2. The user selects one of the Vault to initiate a mint request and sends BTC to the selected Vault’s account.

  3. The user proves that the transaction to send BTC to the Vault has been completed.

  4. After the transaction is proven, the user receives interBTC tokens.

  • Redeem interBTC (Redemption Token)

  1. user locks interBTC tokens

  2. Parallel chain will guide Vault to complete the BTC redemption operation.

  3. Vault sends the correct amount of BTC to the user’s BTC account.

  4. In order to receive the DOT token reward, Vault needs to send the credentials of the transaction with the user to the BTC-Relay for confirmation.

  5. If the credentials are correct, the parallel chain will send the DOT reward to the Vault’s wallet.

  6. If the credentials are invalid, then the parallel chain will punish Vault by deducting a certain amount of DOT from the DOT pledged by Vault and repaying it to the user in a certain percentage.

  • XCLAIM && BTC-Relay

XCLAIM module implements four main protocols: casting, transfer, redemption, and replacement. It maintains the life cycle of interBTC tokens in the system.

The BTC-Relay module is mainly used to confirm transactions that occurred on the Bitcoin blockchain, for example, if a user exchanges a locked BTC position for an interBTC of the same value, the user can use BTC-Relay to prove that the transaction actually occurred on the BTC chain.

  • Modules

interlay BTC modules invoke sketch

Recent Posts

Categories

About

Keep thinking, Stay curious
Always be sensitive to new things