deBridge 백서

deBridge

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 31쪽 중 27쪽

urity <Accordion title="Is deBridge safe?"> deBridge is designed with security-first principles: * **0-TVL**: No liquidity pools to hack—solvers provide liquidity on-demand * **Decentralized model**: deBridge is fully decentralized with no ability to hold or retain user funds. Unfulfilled orders can always be [cancelled](/dln-details/integration-guidelines/order-creation/cancelling-order). * **Multi-validator consensus**: For cross-chain messaging * **Audited smart contracts**: By leading security firms * **Bug bounty program**: Active responsible disclosure program See [Security Overview](/home/security/security-overview). </Accordion> <Accordion title="What happens if a trade fails?"> If an order isn't filled, users can cancel and reclaim tokens after expiry. </Accordion> <Accordion title="Are my funds at risk while waiting?"> With DLN, your tokens are deposited in a smart contract for the duration of the order (a few minutes at most), but you can cancel and reclaim them if the order isn't fulfilled. 0-TVL means there are no shared liquidity pools sitting in contracts. Funds pass through per-order like water through pipes - funds are never pooled. </Accordion> <Accordion title="What security audits have been completed?"> deBridge has undergone 25+ security audits by leading firms: * **Auditors**: Halborn, Neodyme, Zokyo, Ackee Blockchain * **Audit reports**: Available in the [deBridge GitHub repository](https://github.com/debridge-finance/debridge-security) * **Bug bounty**: \$200,000 program on [Immunefi](https://immunefi.com/bounty/debridge/) See [Security Overview](/home/security/security-overview) for more details. </Accordion> ## Troubleshooting <Accordion title="My order is stuck. What do I do?"> 1. Check order status via the [tracking API](/dln-details/integration-guidelines/order-creation/order-tracking-api/tracking-orders) 2. Wait for solver fulfillment (usually \< 2 minutes) 3. If unfilled after expiry, [cancel the order](/dln-details/integration-guidelines/order-creation/cancelling-order) to reclaim funds 4. Contact support on [Discord](https://discord.com/invite/debridge) </Accordion> <Accordion title="Why was my transaction rejected? (DLN)"> Common reasons: * Insufficient token balance * Approval not granted * Exceeded slippage tolerance (market conditions abruptly changed during execution, or the order was not submitted promptly - within 30 seconds of receiving the response from deBridge API) </Accordion> <Accordion title="Where can I get help?"> * [Discord](https://discord.com/invite/debridge) - Community and team support * [GitHub](https://github.com/debridge-finance/) - Technical issues * [Integration guides](/home/guides/guides) - Docs and examples </Accordion> ## Technical <Accordion title="How does the 0-TVL model work?"> Instead of liquidity pools, solvers provide liquidity on-demand: 1. User creates order (deposits tokens in smart contract) 2. Solver sends tokens directly to user on destination 3. Solver claims locked tokens on source No shared pool = no honeypot to attack. </Accordion> <Accordion title="How are order IDs generated?"> [Order IDs](/dln-details/protocol-specs/deterministic-order-id) are deterministically computed from order parameters (amounts, addresses, chains). This ensures: * Unique ID per order * Tamper-proof (changing params = different ID) * Reproducible (can verify ID from params) </Accordion> # Status & Limits Source: https://docs.debridge.com/home/resources/status-limits API endpoints, rate limits, and operational constraints ## API Endpoints ### deBridge Liquidity Network (DLN) | API | Base URL | Purpose | | ----------------------------------------------------------------------------------------------------------- | ----------------------------------- | ------------------------------------------------- | | [Swap API](/dln-details/integration-guidelines/order-creation/creating-order/creating-order) | `https://dln.debridge.finance/` | Create and quote same-chain or cross-chain orders | | [Order Tracking API](/dln-details/integration-guidelines/order-creation/order-tracking-api/tracking-orders) | `https://dln-api.debridge.finance/` | Track order status and history | DLN offers **generous rate limits without requiring an API key**. Most integrations can operate without authentication. | Access | Requests/Minute | | --------------- | --------------- | | Public (no key) | 50 | | Authenticated | 300 | Each endpoint has its own separate rate limit — they are not accumulated across APIs. <Tip> Need higher limits? See the [Authentication guide](/dln-details/integration-guidelines/order-creation/authentication) to request an API key. To expedite the process, reach out to the team on [Discord](https://discord.com/invite/debridge). </Tip> Rate limit responses return `HTTP 429`. Implement exponential backoff in your integration to handle these gracefully. ## Trade Limits deBridge APIs enforce trade size limits to ensure optimal performance and security. DLN comfortably supports trades ranging from **1 USD to 5.5m USD** in value. ## Expiration ### DLN Orders * Funds are deposited in smart contract until order is filled or cancelled * User can always cancel and reclaim tokens * Typical fill time: \< 2 minutes <Tip> deBridge is completely decentralized — there is no central authority that can pause or halt orders and lock the funds. With DLN, users can cancel orders at any time to reclaim their assets. </Tip> ### Gas Limits Maximum gas per hook/transaction varies by the choice of source and destination chains and the market conditions. ## Support * [Discord](https://discord.com/invite/debridge) - Real-time support * [GitHub](https://github.com/debridge-finance/) - Bug reports and code examples # Supported Tokens Source: https://docs.debridge.com/home/resources/supported-tokens How token support works in deBridge's free market model deBridge operates as a self-organizing free economy where professional market makers called [solvers](/home/architecture/execution-model) compete to fulfill cross-chain orders profitably. This model means that **any token with sufficient on-chain liquidity can be traded** — as soon as a token is indexed by a DEX aggregator, it becomes available through deBridge. ## Reserve Assets While any liquid token can be traded, the settlement between chains always happens in a small set of **reserve assets**. This design minimizes the capital management burden on solvers — they only need to maintain liquidity in these core assets rather than hundreds of different tokens. <Tip> **Long-tail tokens** are any tokens that aren't reserve assets — this includes governance tokens, meme coins, newer DeFi tokens, and thousands of other assets with DEX liquidity. When you trade a long-tail token, here's what happens behind the scenes: 1. Your input token is swapped to a reserve asset on the source chain 2. The reserve asset is settled cross-chain 3. The reserve asset is swapped to your desired output token on the destination chain </Tip> ### Reserve Assets by Chain To reduce operational complexity, deBridge is designed in such a way that solvers only need to maintain liquidity in a small set of reserve assets. These assets currently include: * ETH on Ethereum, Arbitrum, Base, and Linea * wETH on Avalanche, BNB Chain, and Polygon * USDC (issued by Circle Inc.) on all supported chains * USDT on TRON <Note>When USDC is available on both chains, it is prioritized as the settlement asset for optimal efficiency.</Note> ## How Token Support Works Token support in deBridge is determined by **market dynamics**, not a whitelist: * **Liquidity determines availability** — If a token has sufficient liquidity on DEXs, solvers can profitably fulfill orders involving it * **Automatic indexing** — Once a token is indexed by an aggregator (like 1inch or Jupiter), it becomes tradable * **No listing required** — There's no approval process or listing fee for new tokens This means new tokens become available organically as their liquidity grows. <Warning> **Always verify token addresses and chains before trading.** Many tokens have similar names or tickers. Confirm you're using the correct contract address from official sources to avoid sending funds to the wrong token. </Warning> ## Fetching Supported Tokens You can retrieve the full list of supported tokens via the API. <Card title="Get Token List" icon="list" href="/api-reference/utils/get-v10token-list"> Returns all tokens available for trading on each chain </Card> <Warning> For popular chains, the token list response can be several hundred kilobytes. Consider caching the response and implementing pagination in your application. </Warning> ## Specifying Tokens in API Requests When making API calls, specify tokens using their contract addresses and chain IDs. For native tokens (ETH, POL, BNB, etc.), use the zero address: * **EVM chains**: `0x0000000000000000000000000000000000000000` And for SOL and Wrapped SOL on Solana, use the following addresses: * **SOL**: `11111111111111111111111111111111` * **Wrapped SOL**: `So11111111111111111111111111111111111111112` ## Documentation <CardGroup> <Card title="Reserve Assets" icon="vault" href="/dln-details/dln-specifics/reserve-assets"> Technical details on reserve asset mechanics </Card> <Card title="Specifying Assets" icon="code" href="/dln-details/integration-guidelines/order-creation/creating-order/specifying-assets"> Complete guide to token specification in API </Card> <Card title="Supported Chains" icon="link" href="/home/architecture/supported-chains"> All networks supported by deBridge </Card> <Card title="Fees by Chain" icon="coins" href="/dln-details/overview/fees-supported-chains"> Operating costs and fee structure </Card> </CardGroup> # Security Overview Source: https://docs.debridge.com/home/security/security-overview Understanding deBridge's security model and trust assumptions deBridge is designed with security as a foundational principle, not an afterthought. This page provides an overview of the security model across deBridge products. deBridge has settled over \$20 Billion in transfer volume with zero security incidents. ## Security Pillars ### 0-TVL Architecture Traditional bridges have lost over \$2 billion to hacks targeting locked liquidity. deBridge eliminates this attack surface entirely. Smart contracts act as pipes, not pools — funds pass through them briefly on a per-order basis, and there is no shared liquidity sitting in contracts for attackers to target. * **No shared liquidity pools**: No honeypot to attack * **Per-order isolation**: Each trade is independent — no systemic risk * **Solvers provide liquidity on-demand** from their own capital * **Native tokens**: Users receive real assets, not wrapped representations ### Cancellation & Fund Recovery Unfulfilled orders can always be cancelled — users are never locked out of their funds. Cancellation is initiated on the destination chain and unlocks tokens on source in full, including all fees. [Auto-cancellations](/dln-details/affiliates/auto-cancellations) can handle this automatically after a set timeout (typically 5–15 minutes). See [cancelling an order](/dln-details/integration-guidelines/order-creation/cancelling-order) for the full flow and [execution model](/home/architecture/execution-model) for how orders work. ## Product-Specific Security ### deBridge Liquidity Network (DLN) Security * **Order determinism**: [Order ID](/dln-details/protocol-specs/deterministic-order-id) computed from parameters, tamper-proof * **Guaranteed rates**: Quoted rate is locked — no slippage * **Cancellation rights**: Users can cancel unfulfilled orders DLN is built on top of the deBridge Messaging Protocol and inherits its security model, including multi-validator consensus and economic security guarantees. ### deBridge Messaging Protocol (DMP) Security The messaging protocol uses a decentralized validator network: * **Multi-validator consensus**: Messages require threshold signatures * **Decentralized storage**: Signatures stored on Arweave * **Trustless claiming**: Anyone can claim with valid signatures For detailed DMP security, see [DMP Security](/dmp-details/dmp/security). ## Comparison to Traditional Bridges | Risk | Traditional Bridges | deBridge | | ------------------------ | ----------------------- | -------------------------------------------- | | Locked asset theft | High (TVL honeypot) | Eliminated (0-TVL) | | Wrapped token depegging | Possible | N/A (native tokens) | | Validator key compromise | Single point of failure | Threshold required | | Smart contract bugs | Affects all users | Isolated per trade | | Funds stuck in escrow | Common | Mitigated (cancellation + auto-cancellation) | ## Audits deBridge smart contracts are audited by leading security firms: * Halborn * Neodyme * Zokyo Audit reports are available in the [deBridge Security repository](https://github.com/debridge-finance/debridge-security). ## Bug Bounty deBridge maintains an active [bug bounty program on Immunefi](https://immunefi.com/bug-bounty/debridge/information/) for responsible disclosure of security vulnerabilities. ## Security Resources * [DMP Security](/dmp-details/dmp/security) * [Slashing & Delegated Staking](/dmp-details/dmp/slashing-and-delegated-staking) * [DLN Deployed Contracts](/dln-details/overview/deployed-contracts) * [DMP Deployed Contracts](/dmp-details/dmp/deployed-contracts) # Chain Abstraction Source: https://docs.debridge.com/home/use-cases/chain-abstraction Build chain-abstracted apps with deBridge Chain abstraction hides the complexity of multi-chain execution from users. They interact with your app without worrying about which chain their assets are on or where execution happens. deBridge is building a new execution primitive called **[Bundles](/home/bundles)** that makes chain abstraction a first-class capability. Bundles let users express what outcome they want, and the system handles the execution flow across chains, abstracting away fragmented liquidity, native gas balances, and cross-chain orchestration. <Card title="Stay tuned" icon="sparkles" href="/home/bundles"> Bundles are currently in private rollout. See the [Bundles overview](/home/bundles) to learn more and request access. </Card> # Hooks & Workflows Source: https://docs.debridge.com/home/use-cases/hooks Build complex cross-chain workflows with Hooks Hooks enable arbitrary contract calls after cross-chain trades. This unlocks powerful workflows: move assets across chains, swap, and deposit into a protocol — all in a single user action. ## What Are Hooks? Hooks are contract calls that execute after your cross-chain swap completes. They let you trigger actions like deposits, staking, or liquidity provision on the destination chain without requiring users to manage multiple transactions. ## DLN Hooks DLN hooks are available for integrations using the deBridge Liquidity Network API. * **Hooks**: Execute after cross-chain swaps — deposit, stake, add liquidity * **Gas payment**: User pays gas on source chain * **Caller identity**: DLN contract (not user's EOA) — target protocol must support beneficiary parameters like `onBehalfOf` ### DLN Hook Options **EVM chains** support configurable hook behavior: * **`isNonAtomic`** (true/false): When `false` (atomic), the hook executes within the same transaction as order fulfillment. When `true` (non-atomic), the hook executes in a separate transaction. * **`isSuccessRequired`** (true/false): When `true`, hook failure prevents the order from being filled. When `false`, the order completes even if the hook fails. **Solana** only supports non-atomic success-required hooks. The hook executes as serialized instructions after order fulfillment. [DLN Hooks Guide](/dln-details/integration-guidelines/order-creation/hooks/integrating-hooks) | [EVM Hook Anatomy](/dln-details/protocol-specs/evm-chains-hook-anatomy) ## Next Steps * [DLN Hooks Guide](/dln-details/integration-guidelines/order-creation/hooks/integrating-hooks) * [DLN EVM Hook Anatomy](/dln-details/protocol-specs/evm-chains-hook-anatomy) # Cross-Chain Messaging Source: https://docs.debridge.com/home/use-cases/messaging Send arbitrary messages and execute calls across chains <Note> Cross-chain messaging via the deBridge Messaging Protocol (DMP) is **not relevant to most API integrations**. It deals with cross-chain authenticated messages and arbitrary data transfer — not value transfers or swaps. For swaps, onboarding, and hooks, see the [deBridge Liquidity Network API](/dln-details/overview/introduction). </Note> For use cases beyond asset transfers, the deBridge Messaging Protocol (DMP) enables arbitrary cross-chain message passing and contract calls. DMP is the foundational messaging layer for the rest of the [deBridge products](/home/products/dln-overview), which are built on top of it. ## When to Use DMP DMP is the right choice when you need: * **Arbitrary data transfer**: Send any data across chains * **Cross-chain contract calls**: Trigger actions on remote contracts * **Custom protocol building**: Build cross-chain applications from scratch * **Governance**: Cross-chain voting and execution ### Primary Use Case: dePort The most prominent use case for DMP is **[dePort](/dmp-details/dePort/getting-started)** — multi-chain asset deployment. dePort uses DMP to create and manage synthetic representations of assets across chains, enabling protocols to deploy their tokens on multiple chains with canonical bridging powered by deBridge's validator network. ## DMP vs DLN | Aspect | DMP | DLN | | -------------------------- | ---------------------------------------- | -------------------------------- | | **Purpose** | Arbitrary messaging | Value transfer & swaps | | **Data payload** | Any arbitrary data | Trade/swap instructions | | **Execution** | Custom receiver contracts | Built-in fulfillment via solvers | | **Integration complexity** | Higher (custom smart contracts required) | Lower (API-based) | | **Authenticated messages** | Yes (via `PROXY_WITH_SENDER`) | N/A | | **Use case** | Custom protocols, dePort. | Swaps, onboarding | ## How DMP Works 1. **Send message**: Contract calls `deBridgeGate.send()` with your data 2. **Validation**: deBridge validators wait for finality, then sign the message 3. **Storage**: Signatures stored on Arweave (permanent, decentralized) 4. **Claim**: Anyone can claim and execute on destination chain 5. **Execute**: Your receiver contract processes the message ```mermaid theme={null} flowchart TD subgraph src["Source Chain"] direction LR A["Source Contract"] -->|send| B["deBridge Gate"] end subgraph off["Off-Chain"] direction LR C["deBridge Validators"] -->|sign| D["Arweave"] end subgraph dst["Destination Chain"] direction LR E["deBridge Gate"] -->|execute| F["Receiver Contract"] end src -->|validate| off off -->|claim| dst ``` ## Key Concepts ### Authenticated Messages DMP supports authenticated messages, allowing receiver contracts to verify the origin of cross-chain calls. When you set the `PROXY_WITH_SENDER` flag, the [CallProxy](/dmp-details/dev-guides/evm/periphery/CallProxy) contract exposes: * **`submissionNativeSender`**: The address that initiated the message on the source chain * **`submissionChainIdFrom`**: The chain ID where the message originated See the [Building EVM dApp guide](/dmp-details/dev-guides/evm/building-evm-dapp) for a complete example. ### Validators deBridge validators: * Monitor all supported chains * Sign messages after finality is reached * Store signatures in Arweave (permanent storage) * Enable trustless claiming ## Getting Started with DMP 1. **Understand the protocol**: [Protocol Overview](/dmp-details/dmp/protocol-overview) 2. **Review security model**: [Security](/dmp-details/dmp/se
프로젝트로 돌아가기