bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 31쪽 중 26쪽
n="code" href="/dln-details/integration-guidelines/same-chain-swaps/engineer">
Endpoints, code examples, and production checklist
</Card>
</CardGroup>
## Foundational Role
DLN sits at the top of deBridge's protocol stack:
1. **deBridge Messaging Protocol (DMP)** is foundational for DLN — providing the cross-chain messaging layer
2. **DLN** — providing the order fulfillment and solver network
## How to Integrate
DLN offers three integration paths depending on how much control you need:
* **[Widget](/dln-details/widget/deBridge-widget)**: Drop-in UI component — the fastest way to add cross-chain swaps to your app
* **[API](/dln-details/integration-guidelines/order-creation/creating-order/quick-start)**: Full programmatic control over order
creation, tracking, and hooks — best for custom UIs and backend integrations
* **[Smart contracts](/dln-details/integration-guidelines/smart-contracts/introduction)**: Direct on-chain integration for
specialized use cases. Note that accurate pricing depends on significant simulation infrastructure that the API already
provides, so smart contract integration is rarely the right choice
Most teams should start with the **Widget** (for speed) or the **API** (for flexibility).
<Note>
Accurate pricing for solver profitability and competitive user rates requires significant simulation infrastructure. The
deBridge API provides this. Smart contract integration is available for very special cases but is not the primary integration
path.
</Note>
## Architecture
```mermaid theme={null}
graph LR
A[User] -->|Create order| B[DLN Contract]
B -->|Emit event| C[Solver Network]
C -->|Fulfill| D[Destination Chain]
D -->|Tokens to user| E[User]
C -->|Claim| B
```
## Integration Options
<Columns>
<Card title="Widget" icon="window" href="/dln-details/widget/deBridge-widget">
Drop-in UI component
</Card>
<Card title="API" icon="code" href="/dln-details/integration-guidelines/order-creation/creating-order/quick-start">
Full programmatic control
</Card>
<Card title="Smart Contracts" icon="file-contract" href="/dln-details/integration-guidelines/smart-contracts/introduction">
On-chain integration (not recommended for most use cases)
</Card>
<Card title="Universal Swaps" icon="arrows-repeat" href="/dln-details/integration-guidelines/order-creation/authentication">
Universal swaps - same-chain and cross-chain.
</Card>
</Columns>
## Documentation Sections
* **[Introduction](/dln-details/overview/introduction)**: Core concepts
* **[Protocol Overview](/dln-details/overview/protocol-overview)**: How DLN works
* **[API Integration](/dln-details/integration-guidelines/order-creation/creating-order/creating-order)**: Build with the API
* **[Hooks](/dln-details/integration-guidelines/order-creation/hooks/integrating-hooks)**: Add contract calls
* **[Tracking](/dln-details/integration-guidelines/order-creation/order-tracking-api/tracking-orders)**: Track orders
## Get Started
[Go to DLN Documentation](/dln-details/overview/introduction)
# deBridge Messaging Protocol
Source: https://docs.debridge.com/home/products/dmp-overview
Everything you need to know about deBridge's foundational cross-chain messaging layer
The deBridge Messaging Protocol (DMP) is the foundational messaging layer that enables arbitrary cross-chain communication. It is
foundational for the deBridge Liquidity Network (DLN), inheriting the same secure, decentralized messaging layer for custom
cross-chain applications.
## Key Features
* **Arbitrary data transfer**: Send any message across chains
* **Cross-chain contract calls**: Execute calls on remote chains
* **Decentralized validation**: Multi-validator consensus
* **Trustless claiming**: Anyone can claim with valid signatures
* **External calls**: Include execution instructions with messages
## When to Use DMP
Choose DMP when building:
* **Custom protocols**: Cross-chain applications with unique logic
* **Governance systems**: Multi-chain voting and execution
* **NFT bridges**: Lock-and-mint token transfers
* **State synchronization**: Keep data consistent across chains
* **Cross-chain automation**: Trigger actions across chains
* [**dePort**](/dmp-details/dePort/getting-started): Multi-chain asset deployment (synthetic asset creation)
## Architecture
```mermaid theme={null}
graph LR
subgraph Source Chain
A[Source Contract] -->|send| B[deBridgeGate]
end
subgraph Off-chain
C[Validators] -->|sign| D[Arweave]
D -->|signatures| E[Claimer]
end
subgraph Destination Chain
F[deBridgeGate] -->|execute| G[Receiver Contract]
end
B -->|monitor| C
E -->|claim| F
```
## How Messages Flow
1. **Send**: Contract calls `deBridgeGate.send()` with a message
2. **Validate**: Validators wait for finality, then sign
3. **Store**: Signatures stored on Arweave
4. **Claim**: Anyone can claim with sufficient signatures
5. **Execute**: Receiver contract processes the message
## Documentation Sections
* [**Protocol Overview**](/dmp-details/dmp/protocol-overview): Core concepts
* [**Security**](/dmp-details/dmp/security): Trust model
* [**EVM Guide**](/dmp-details/dev-guides/evm/building-evm-dapp): Build EVM dApps
* [**Solana Guide**](/dmp-details/dev-guides/solana/sending-cross-chain-messages): Solana integration
* [**Development Tools**](/dmp-details/dev-guides/development-tools): Testing and debugging
## Comparison with DLN
| Aspect | DMP | DLN |
| ----------- | ------------------------ | ------------------- |
| Purpose | Arbitrary messaging | Value transfer |
| Integration | Smart contract | API-based |
| Complexity | Higher | Lower |
| Flexibility | Maximum | Optimized for swaps |
| Use case | Custom protocols, dePort | Swaps, onboarding |
## Get Started
[Go to DMP Documentation](/dmp-details/dmp/protocol-overview)
# Infrastructure-as-a-Service
Source: https://docs.debridge.com/home/products/iaas
Connect your chain to deBridge for end-to-end interoperability across EVM and SVM ecosystems, including authenticated messaging, liquidity bridging, and cross-chain custody.
# deBridge IaaS
**deBridge IaaS** (Interoperability-as-a-Service) is the first service enabling complete cross-chain interoperability for **any
EVM or SVM blockchain** ecosystem. It's a turnkey solution that allows any chain to plug into deBridge infrastructure, solving all three pillars of interoperability simultaneously:
* [**Transfers of authenticated messages**](/dmp-details/dmp/protocol-overview)
* [**Native high-performance value exchange (liquidity bridging)**](/dln-details/overview/introduction)
* [**Cross-chain asset custody**](/dmp-details/dePort/getting-started)
<img alt="IaaS" />
Blockchain ecosystems no longer have to solve each hurdle individually but instead can open up to global composability from day one. As a complete solution, deBridge IaaS can enable any chain to become fully composable within the global DeFi ecosystem by attracting developers, users, and liquidity from outside their ecosystem. Teams get a [battle-tested system with 17 supported chains](/dmp-details/dmp/fees-supported-chains) instead of the complexities of building and maintaining a separate, fragmented interoperability system. deBridge IaaS allows teams to focus on building features that differentiate their chain instead of reinventing the wheel.
The subscription can be initiated by any on-chain address that pays the subscription fee.
<Tip>
Get started here to initiate an IaaS subscription for your chain: [https://app.debridge.com/subscriptions](https://app.debridge.com/subscriptions)
</Tip>
## Features and opportunities include
* [**deBridge Messaging**](/dmp-details/dmp/protocol-overview): Provides a decentralized infrastructure powering cross-chain message and data transfers — with authentication. deBridge allows smart contracts deployed across different EVM and SVM chains to establish an authenticated communication channel.
* [**DLN Cross-Chain Exchange**](/dln-details/overview/introduction): A high-performance cross-chain trading infrastructure built on deBridge with a unique 0-TVL design. DLN offers zero slippage on any order size, deeper market depth, fastest settlement times, and native asset trading without wrapped assets and risks of locked liquidity.
* [**dePort Asset Custody**](/dmp-details/dePort/getting-started): Allows for seamless custody of assets from other networks in just one click. Projects and DAOs can scale effortlessly into neighboring ecosystems and create utility for their assets across different chains.
## Who is it for?
deBridge IaaS is an end-to-end solution for blockchain ecosystems in the space, designed to make global interoperability easy and accessible.
With a simple subscription fee, blockchains can solve all three interoperability challenges and make their ecosystem instantly accessible and composable from (and between) any EVM or SVM chain.
## Limitations
There are certain KPI criteria used to evaluate chains before they are added to the [main deBridge app](https://app.debridge.com/) for liquidity transfers:
* Security
* TVL
* Daily transactions
* DAUs
Even if a chain is not listed in the main app, it remains fully accessible for [swaps](/dln-details/integration-guidelines/same-chain-swaps/executive) and [bridges](/dln-details/dln-specifics/bridging-non-reserve-assets) through [the DLN API](/dln-details/integration-guidelines/order-creation/creating-order/quick-start) and [deBridge widget](/dln-details/widget/deBridge-widget).
Users can bridge to and from the chain directly from the chain's own UI or landing page with the integrated widget. The chain is still supported at the infrastructure level, including [messaging](/dmp-details/dmp/protocol-overview), [deBridge custody (dePort)](/dmp-details/dePort/getting-started), [DLN hooks](/dln-details/overview/deBridge-hooks), and more.
## Pricing structure
deBridge IaaS uses an on-chain subscription-based model where the first year is paid in full upfront (120,000 USDC). After year one, the subscription can continue with monthly, quarterly, or annual payments.
After the first year, the available pricing options are:
* 11,000 USDC/month with monthly payments
* 10,000 USDC/month with quarterly or annual payments
Once the subscription is initiated on-chain via the [IaaS smart contract](https://etherscan.io/address/0x2328ee20fa271073328dc94e52dd5b61aa0c91a7), the deBridge team will perform all necessary deployments and deBridge validators will automatically start validating messages coming to and from the newly added ecosystem. DLN market makers automatically start receiving quotes on all trades created, receiving the ability to monetize their liquidity, and fulfill trades coming to or from a new chain.
<Warning>
deBridge validation nodes perform continuous state and balance-sheet validation. If any inconsistencies are discovered (e.g. if total supply of dePort-issued assets calculated by validators differs from the total supply observed on-chain), validators will automatically stop operation for this chain and terminate the subscription without issuing any refunds.
</Warning>
<Note>
If a blockchain stops paying the IaaS subscription, there will be a grace period of up to 10 days. This allows users to move their funds if necessary before validation of cross-chain messages fully stops. If subscription is resumed, the subscription timer starts again the moment the first message is validated after the continuation.
</Note>
## Risks for users
The process of IaaS subscription initialization is decentralized and performed through an IaaS smart contract, so deBridge doesn't perform due diligence on any blockchain ecosystems connected through IaaS and doesn't bear any responsibility for the quality and validity of the data returned by the chain's RPC endpoint, which is specified by the subscription's governance address as one of the parameters when initiating the subscription.
Users interacting with any IaaS chains should do their own research about the chain and its IaaS subscription parameters such as RPC and governance address (similar to how Uniswap users can interact with arbitrary tokens simply by specifying a token address).
## Getting started today
Get started by initiating an IaaS subscription for any chain [here](https://app.debridge.com/iaas).
# Quickstart
Source: https://docs.debridge.com/home/quickstart
Start building cross-chain experiences in minutes
# Get Started with deBridge
deBridge offers multiple integration paths depending on your needs. Choose the approach that best fits your use case.
<Columns>
<Card title="Widget Integration" icon="window" href="/dln-details/widget/deBridge-widget">
**30 minutes to production**
Drop-in UI component for cross-chain swaps. Perfect for adding cross-chain functionality without building custom UI.
</Card>
<Card title="deBridge Liquidity Network API" icon="code" href="/dln-details/integration-guidelines/order-creation/creating-order/quick-start">
**Programmatic swaps**
Full control over cross-chain orders. Build custom UIs and integrate swaps into your existing flows using the proven DLN
infrastructure.
</Card>
<Card title="Cross-Chain Messaging" icon="envelope" href="/dmp-details/dmp/protocol-overview">
**Arbitrary data transfer**
Send messages and execute calls across chains via the deBridge Messaging Protocol. Build custom cross-chain applications.
</Card>
</Columns>
## What's the Difference?
| Feature | Widget | deBridge Liquidity Network API |
| ---------------------- | -------------- | ------------------------------ |
| Custom UI | Limited | Full control |
| PostHooks | PostHooks only | PostHooks only |
| Fee structure | Flat + % | Flat + % |
| Integration complexity | Low | Medium |
## Next Steps
* Explore [use cases](/home/use-cases/swaps) to find the right product for your needs
* Read the [architecture overview](/home/architecture/execution-model) to understand how deBridge works
* Check out [supported chains](/home/architecture/supported-chains) and tokens
# FAQ
Source: https://docs.debridge.com/home/resources/faq
Frequently asked questions about deBridge
## General
<Accordion title="What is deBridge?">
deBridge is cross-chain infrastructure enabling fast, secure asset transfers and messaging across [17
blockchains](/dln-details/overview/fees-supported-chains) including EVM chains and Solana.
</Accordion>
<Accordion title="How is deBridge different from other bridges?">
* **0-TVL architecture**: No liquidity pools to hack
* **Native tokens**: You receive real assets, not wrapped versions
* **Fast settlement**: Most trades complete in seconds
</Accordion>
<Accordion title="Which chains are supported?">
deBridge supports 18 blockchains:
* **Major chains**: Solana, Ethereum, Polygon, Base, Arbitrum, Optimism, Avalanche, BNB Chain
* **Additional chains**: Robinhood, Arc, Story, Cronos, HyperEVM, TRON, Injective, Monad, MegaETH, Linea
See [Fees and Supported Chains](/dln-details/overview/fees-supported-chains) for the full list with chain-specific fees.
</Accordion>
<Accordion title="How long do transactions take?">
Transaction speed depends on the source/destination chains and trade size:
* **Small amounts**: Solvers typically fulfill immediately after on-chain events are emitted (seconds)
* **Large amounts**: Solvers may wait for more block confirmations to mitigate chain reorg risk (minutes)
DLN uses a free market of solvers who assess and price chain reorg risks themselves. Most trades complete in under 2 minutes.
</Accordion>
## Products
<Accordion title="When should I use the Widget vs API?">
* **Widget**: Fastest integration (30 minutes), pre-built UI
* **API**: Custom UI, programmatic control, hooks support
</Accordion>
<Accordion title="What's the difference between deBridge Liquidity Network (DLN) and deBridge Messaging Protocol (DMP)?">
**deBridge Liquidity Network (DLN)**:
* Cross-chain value/asset transfer
* API-based integration (Widget, REST API)
* Lower complexity, optimized for swaps
* Best for: cross-chain swaps, user onboarding
**deBridge Messaging Protocol (DMP)**:
* Arbitrary cross-chain messaging (any data)
* Smart contract integration required
* Higher complexity, maximum flexibility
* Foundation layer—DLN is built on top of DMP
* Best for: custom protocols, governance, state synchronization
| Aspect | DMP | DLN |
| ----------- | ------------------- | ------------------- |
| Purpose | Arbitrary messaging | Value transfer |
| Integration | Smart contract | API-based |
| Complexity | Higher | Lower |
| Flexibility | Maximum | Optimized for swaps |
Learn more: [DLN Overview](/home/products/dln-overview) | [DMP Overview](/home/products/dmp-overview)
</Accordion>
<Accordion title="What are Hooks?">
Hooks let you execute arbitrary contract calls alongside trades:
* **PostHooks**: Execute after trades complete (e.g., swap to USDC then deposit into Aave)
</Accordion>
## Integration
<Accordion title="How do I get started?">
Choose the integration that fits your needs:
* **[Widget](/dln-details/widget/deBridge-widget)**: Easiest option—pre-built UI, 30-minute setup
* Use the [Widget Builder](https://app.debridge.com/widget) to customize
* **[DLN API](/dln-details/integration-guidelines/order-creation/creating-order/quick-start)**: Full programmatic control, custom
UI
* No API key required for basic usage
</Accordion>
<Accordion title="What programming languages are supported?">
deBridge integration is API-based, so any language that can make HTTP requests works:
* **REST API**: JavaScript, Python, Go, Rust, Java, or any language
* **Widget**: HTML/JavaScript/React embed
* **Smart contract integration**: Solidity (EVM chains), Rust (Solana)
Documentation examples primarily use JavaScript/TypeScript, along with the [example repository](https://github.com/debridge-finance/api-integrator-example).
</Accordion>
<Accordion title="Do I need an API key?">
No API key required for basic usage of the DLN API. You can start creating orders and tracking them immediately.
</Accordion>
<Accordion title="How do I test my integration?">
* Use small amounts of real assets for testing on mainnets
* Track orders via the [tracking API](/dln-details/integration-guidelines/order-creation/order-tracking-api/tracking-orders) to verify behavior
</Accordion>
<Accordion title="Which testnets are supported?">
deBridge does not support testnets. The protocol relies on extensive on-chain infrastructure across multiple chains, making testnet maintenance impractical.
For testing, use small amounts of real assets on mainnets. This also provides a more accurate representation of production
behavior.
</Accordion>
## Fees & Pricing
<Accordion title="How are fees calculated?">
**DLN** fees include:
1. **[Flat fee](/dln-details/overview/fees-supported-chains)**: Paid in native gas token (e.g., 0.001 ETH on Ethereum, 0.015 SOL on Solana)
2. **Variable protocol fee**: 4 bps (0.04%) of input amount
3. **Taker margin**: \~4 bps (0.04%) solver profit
4. **Operating expenses**: Gas costs for [fulfillment, unlock, and claim transactions](/dln-details/dln-specifics/order-fulfillment/order-fulfillment)
**Note**: All fees are fully refunded if an order is cancelled.
Optional: Integrators can add an [affiliate fee](/dln-details/affiliates/integrators) to monetize their integration.
See [Fee Structure](/dln-details/overview/fee-structure) for detailed breakdown.
</Accordion>
<Accordion title="Can I monetize my integration?">
Yes! Integrators can set an affiliate fee and earn on every trade. See [Affiliate Program](/dln-details/affiliates/integrators).
</Accordion>
<Accordion title="Can my orders be cancelled automatically?">
Yes. Orders can be cancelled automatically if they aren't fulfilled within 5-15 minutes, depending on the cancellation reason.
See [Auto-Cancellations](/dln-details/affiliates/auto-cancellations) for details.
</Accordion>
## Sec프로젝트로 돌아가기