# Cross-Chain Bridge

## **Cross-Chain Bridge**

**Interconnection of Blockchains Through Secure Multiparty Computation**

The interconnected bridges facilitate the seamless transfer of assets between different blockchain chains. Here's an in-depth breakdown:

## **Asset Transfer and Management**:

1. **Origin Chain Holding**: An asset, on its native chain, is directed to a specific address managed through secure multiparty computation (SMC). This address serves as a decentralized escrow, ensuring assets remain intact during the transfer process.
2. **Token Multiplication on the Destination Chain**: Upon reaching the destination chain, a smart contract autonomously replicates the escrowed tokens on a 1:1 ratio and transfers them directly into the user's wallet.
3. **Reversion Process**: Should tokens be sent back to the smart contract, they undergo a "burning" process. Post this, the SMC nodes release the corresponding assets back to the origin chain.

## **Roles of Secure Multiparty Computation Nodes**:

1. **Asset Transfer and Holding**:
   * The SMC nodes utilize the designated address of the new bridge for asset transfers.
   * This address, governed solely by the SMC nodes, ensures the secure retention of on-chain assets. No external or human-managed addresses have jurisdiction over this address.
2. **Bridge Creation Between Chains**:
   * When a new bridge forms between two blockchain chains, SMC nodes synchronize with a novel smart contract on the destination chain, especially for intricate assets.
   * This contract, either established as INTDSwap.sol or a customized version of it, is responsible for token burning when assets revert to their original chain.
3. **Monitoring Centralized Management Account**:
   * The Centralized Management Account is under the vigilant watch of the multiparty computation nodes.
   * Whenever a new asset arrives, the relevant smart contract on the destination chain is triggered.
4. **Token Burning Protocol**:
   * In the event of asset burning, the Wrapped Asset smart contract is instigated by the SMC nodes to execute the process.
   * Post this, assets held in the management account are released and transmitted to the user.

## **Specifics of the INTDSwap Contract**:

The INTDSwap complex asset token contract, present on the destination chain, is an enhanced version of the standard XRC20 contract. It exclusively permits a network of multiparty computation nodes to mint assets. To ensure there's no mismatch between the assets at the SMC address and the created complex assets, no external addresses are authorized to conduct multiplication.

In conclusion, assets, whether innate or developed via the INTD Bridge, can be effortlessly transferred across multiple chains, ensuring a seamless and secure blockchain experience.

## Flowcharts of bridges

### Assets Deposit&#x20;

<figure><img src="/files/dsrvwWspD2UUv0pCTcYw" alt=""><figcaption></figcaption></figure>

### Assets Withdraw

<figure><img src="/files/ES4pap3CPXZ4Jar2xXdU" alt=""><figcaption></figcaption></figure>

### XCHAIN Bridge

<figure><img src="/files/a1UQNovT2Byo3Zhj0dm2" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://intdest.gitbook.io/intdestcoin-1/project-possibilities/cross-chain-bridge.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
