# Decentralized Bridge

The decentralized bridge powered by **Surge MetaLayer** enables cross-chain transfers between Bitcoin and Gameplan’s rollup. By utilizing advanced cryptographic techniques such as **Threshold Signature Scheme (TSS)** and the **DKLs23 signature scheme**, the bridge ensures tamper-resistant, decentralized asset management.

**Key Technical Components:**

1. **TSS DKLs23-Based Decentralized Bridge**:
   * **Threshold Signature Scheme (TSS)** distributes control over private keys across multiple participants, ensuring that no single entity can approve a transaction. A predefined number of participants must collaboratively sign to authorize asset transfers, preventing any single point of failure.
   * The **DKLs23 signature scheme** adds a layer of cryptographic security, making the bridge highly resistant to malicious attacks and unauthorized access.
2. **BTC Vault for Peg-In and Peg-Out**:
   * **Peg-In**: When a user transfers BTC into the Gameplan rollup, the BTC is locked in the BTC Vault using TSS. The system mints an equivalent token on Gameplan’s rollup.
   * **Peg-Out**: When users withdraw assets, the Gameplan token is burned, and the BTC is released from the vault back to the Bitcoin network, ensuring a seamless and secure transfer process.
3. **Cross-Chain State Synchronization**:
   * The Surge Bridge ties Gameplan’s rollup state changes directly to Bitcoin’s blockchain. This direct link ensures the security and transparency of asset transfers while preventing double spending.
4. **zk-Proof Aggregation**:
   * By utilizing **zk-proof aggregation**, the bridge minimizes the on-chain data footprint. Multiple transactions are bundled into a single proof, reducing transaction costs and enhancing efficiency.
5. **Enhanced Security and Efficiency**:
   * The use of TSS and zk-proofs ensures both high security and cost-effective operations, making the Surge Bridge a critical infrastructure for trustless cross-chain interactions.


---

# 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://docs.gameplan.io/tech-specs/bitcoin-settlement/decentralized-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.
