QITMEER: CROSS CHAIN EXPLAINED

QITMEER: CROSS CHAIN EXPLAINED

Cross Chain Qitmeer is dedicated to undertake the tokenized liquidity and host applications of global ecosystem of Islamic nance. Consequently the design goal of Qitmeer is to build up a simple and robust UTXO-based value transfer network, which prefers interoperability solutions to integrate various blockchains and applications, such as smart contract. Eventually, they will be part of Qitmeer’s ecosystem and can interact with each other.

UTXOinteroperability Currently, Qitmeer has supported P2SH script contracts and cross-chain functions through hash-locking. Process (BTC to MEER) The implementation process of hash locking across the chain is:

  1. Alice and Bob generate their addresses on ’MEER’ and ’BTC’ chains respectively;
  2. Alice generates her own Secret Key and Secret Key hash; 3. Alice locks her ’MEER’tokenintothehashlockcontract in the mainchainof’MEER’.The unlock condition is that Bob holds the Secret Key or returns it to Alice after exceeding the specied time;
  3. Bob checks the contract of Alice’s main chain in ’MEER’ and USES to generate the corresponding contract in ’BTC’. The unlock condition is that Alice holds the Secret Key or returns it to Bob after the specied time;
  4. Alice USES to remove Bob’s lock ’BTC’ in the hash lock contract;
  5. After obtaining , Bob locks Alice ’MEER’ in the hash lock contract, and completes the transaction;

UTXO Smart Contract Interoperability Qitmeer completes the cross-chain transaction between the block chain assets of Qitmeer and other account models through hash lock Smart contract. Smart Contract Interoperability Process (ETH to MEER)

  1. Alice and Bob generate their addresses on ’MEER’ and ’ETH’ chains respectively;
  2. Alice generates her own Secret Key and Secret Key hash; 3. Alice locks her ’MEER’tokenintothehashlockcontract in the mainchainof’MEER’.The unlock condition is that Bob holds the Secret Key or returns it to Alice after exceeding the specied time;
  3. Bob checks the contract of Alice in the main chain of ’MEER’ and generates the corresponding contract on ’ETH’. The unlock condition is that Alice holds the Secret Key or returns it to Bob after exceeding the specied time.
  4. Alice USES to call Smartcontract to remove ’ETH’