bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 31쪽 중 28쪽
curity)
3. **Build your dApp**: [Building EVM dApp](/dmp-details/dev-guides/evm/building-evm-dapp)
4. **Deploy and test**: [Development Tools](/dmp-details/dev-guides/development-tools)
## Next Steps
* [DMP Protocol Overview](/dmp-details/dmp/protocol-overview)
* [Cross-Chain Call Lifecycle](/dmp-details/dev-guides/cross-chain-call-lifecycle)
* [EVM Integration Guide](/dmp-details/dev-guides/evm/introduction)
* [Solana Integration Guide](/dmp-details/dev-guides/solana/sending-cross-chain-messages)
* [dePort — Multi-Chain Asset Deployment](/dmp-details/dePort/getting-started)
# User Onboarding
Source: https://docs.debridge.com/home/use-cases/onboarding
Choose how to onboard users and liquidity to your app with one-click deposits
Getting users onto your chain or into your protocol with assets from any source chain is a key cross-chain use case. The deBridge Liquidity Network supports deposit flows through hooks.
## deBridge Liquidity Network (DLN)
DLN with hooks is available for integrations where users are comfortable managing gas and submitting transactions directly.
### DLN Hook Limitations
DLN hooks execute in a trustless manner — the deposited funds are sent directly to the protocol contract during order fulfillment.
However, because the deposit is not executed by the user's wallet, the target protocol must have a function that accepts a
beneficiary address parameter.
**Compatible pattern**: Protocols like Aave V3 that offer `supply(asset, amount, onBehalfOf, referralCode)` work well — the
`onBehalfOf` parameter allows specifying who receives the deposit credit.
**Incompatible pattern**: Protocols that only offer `deposit(amount)` and credit `msg.sender` cannot be used with DLN hooks, since
the depositor would be the DLN contract, not the user.
## Next Steps
* [DLN Widget Integration](/dln-details/widget/deBridge-widget)
* [DLN Hooks Guide](/dln-details/integration-guidelines/order-creation/hooks/integrating-hooks)
* [Hooks & Workflows Use Case](/home/use-cases/hooks)
# Swaps
Source: https://docs.debridge.com/home/use-cases/swaps
Integrate cross-chain and same-chain swaps in your app
deBridge enables **cross-chain and same-chain swaps** from a single integration — with unified liquidity and non-custodial
execution.
Depending on your product and UX needs, you can integrate swaps in two different ways:
## deBridge Liquidity Network API
Full programmatic control over swaps using the proven DLN infrastructure. The deBridge Liquidity Network follows a familiar
**transaction-based model** — users sign and submit transactions directly, paying gas on the source chain.
* **Same-chain swaps**: Supported via [Same-Chain Swaps API](/dln-details/integration-guidelines/same-chain-swaps/executive)
* **Cross-chain swaps**: Full support with [PostHooks](/home/use-cases/hooks)
* **User experience**: Traditional — user pays gas on source chain
**Best for**: Integrations where users are comfortable with standard transaction flows
[DLN API Quickstart](/dln-details/integration-guidelines/order-creation/creating-order/quick-start) |
[API Documentation](/dln-details/integration-guidelines/order-creation/creating-order/quick-start)
## Widget
The fastest way to add swap functionality. The Widget is a drop-in UI component that uses the deBridge Liquidity Network API under
the hood.
* **Same-chain swaps**: Supported
* **Cross-chain swaps**: Supported
* **Customization**: Theme, default chains/tokens, supported assets
**Best for**: Quick integration with pre-built UI
[Widget Documentation](/dln-details/widget/deBridge-widget)
## Quick Comparison
| Aspect | DLN API | Widget |
| --------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| **Same-chain swaps** | Yes | Yes |
| **Cross-chain swaps** | Yes | Yes |
| **Fee structure** | [Flat + %](/dln-details/overview/fee-structure#order%E2%80%91creation-fees-always-paid) | [Flat + %](/dln-details/overview/fee-structure#order%E2%80%91creation-fees-always-paid) |
| **Custom UI** | Full control | Limited |
| **Hooks support** | Yes (After-trade only) | Yes (After-trade only) |
| **Execution model** | Transaction-based | Transaction-based |
## How Swaps Work (High-Level)
1. **Define a swap** e.g. "Swap SOL on Solana to USDC on Base"
2. **deBridge finds routes & liquidity** The protocol identifies the best path for the swap, whether same-chain or cross-chain.
3. **Execution & settlement** The user signs and submits one transaction on the source chain, locking the input tokens.
4. **User receives tokens**
* **Same-chain** swaps execute atomically, within the same transaction they were created in.
* **Cross-chain** swaps are fulfilled by supplying the requested tokens on the destination chain, typically within a few
seconds.
<Note>
deBridge protocol is comlpetely decentralized, and deBridge has no way of holding user funds. Should users choose to
[cancel](/dln-details/integration-guidelines/order-creation/cancelling-order) a cross-chain order, they can do so before the order
is filled on the destination chain.
Partners can also request to enable [auto-cancellations](/dln-details/affiliates/auto-cancellations) for their integrations.
</Note>
## Swap Use Cases
* **Wallets & portfolio apps** — Add cross-chain and same-chain swaps directly into wallet interfaces, letting users trade any
token across chains without leaving the app.
* **Trading platforms & DEX aggregators** — Offer same-chain best-price execution via adaptive slippage alongside cross-chain
swaps, all through a single API.
* **DeFi protocols routing liquidity** — Move or rebalance protocol-owned liquidity across chains programmatically, with
guaranteed rates and zero slippage regardless of order size.
* **Cross-chain onboarding & workflows** — Combine a swap with follow-up actions using [Hooks](/home/use-cases/hooks): buy a token
on a new chain, top up native gas, and deposit into a protocol, all in a single transaction.
## Next Steps
* [DLN API Quickstart](/dln-details/integration-guidelines/order-creation/creating-order/quick-start)
* [Widget Integration](/dln-details/widget/deBridge-widget)
* [Same-Chain Swaps](/dln-details/integration-guidelines/same-chain-swaps/executive)
<AccordionGroup>
<Accordion title="Do swaps work for both same-chain and cross-chain?">
Yes — both options support same-chain and cross-chain swaps.
</Accordion>
<Accordion title="Are swaps non-custodial?">
Yes. deBridge never takes custody of user funds. Assets are delivered directly to the destination wallet.
</Accordion>
<Accordion title="What fees do users pay?">
* DLN API / [Widget](/dln-details/widget/deBridge-widget): Flat fee + percentage fee
</Accordion>
<Accordion title="Can I customize the swap UI?">
* DLN API: Full control - [Widget](/dln-details/widget/deBridge-widget): Limited customization
</Accordion>
</AccordionGroup>
# What is deBridge?
Source: https://docs.debridge.com/home/welcome
Swap, bridge, and program actions across chains with non-custodial, 0-TVL execution
deBridge is a **non-custodial execution layer** for **cross-chain** and **same-chain** actions. It uses a 0-TVL architecture where
competitive solvers provide liquidity on-demand, with no shared liquidity pools.
deBridge handles liquidity, cross-chain messaging, and execution. For same-chain swaps, it compares outcomes across aggregators to
deliver the best rate. For cross-chain trades, it coordinates settlement through the [deBridge Liquidity Network (DLN)](/home/products/dln-overview).
deBridge has processed **\$20B+ in cross-chain volume** across 25+ blockchains and is non-custodial by design.
[Bundles](/home/bundles), a new execution primitive for intent-based, chain-agnostic interactions, is currently in private rollout.
***
## What Can You Build?
deBridge powers applications that need **cross-chain execution**. Typical use cases include:
* [Same-Chain and Cross-Chain Swaps](/home/use-cases/swaps) inside your app\
Let users trade any token across chains without leaving your product.
* [One-click onboarding and transactions](/home/use-cases/onboarding)\
Onboard users from any chain into your product.
* [Automated cross-chain workflows](/home/use-cases/hooks)\
Trigger DeFi actions across chains with hooks.
* [Chain abstraction](/home/use-cases/chain-abstraction) (coming soon)\
Build chain-abstracted apps with [Bundles](/home/bundles).
If your product spans multiple chains — or hides them entirely — **deBridge is the execution layer**.
***
## How It Works
deBridge coordinates cross-chain and same-chain execution end-to-end. For same-chain swaps, deBridge compares outcomes across
aggregators to deliver the best rate. For cross-chain trades, orders are fulfilled through the deBridge Liquidity Network.
<Steps>
<Step title="Define the outcome">
A user or application specifies what they want to happen.\
*Example: "Swap SOL on Solana to USDC on Base."*
</Step>
<Step title="deBridge coordinates execution">
deBridge routes and executes the trade using:
* **Unified liquidity** from a [competitive network](/home/architecture/execution-model)
* **Secure cross-chain messaging** via the [deBridge Messaging Protocol](/home/use-cases/messaging)
* **MEV-protected settlement** to ensure predictable outcomes
* Optional [hooks](/home/use-cases/hooks) or contract calls run automatically
</Step>
<Step title="Receive the result">
The outcome is delivered to the destination chain wallet. Quoted rates are guaranteed.
</Step>
</Steps>
## Execution & Fund Safety
When a user creates an order, the input tokens are deposited into the `DlnSource` smart contract on the source chain. The order is
then fulfilled on the destination chain, delivering the requested tokens to the recipient.
Smart contracts act as pipes, not pools. Funds pass through briefly on a per-order basis.
* **No shared liquidity pools**\
Each order is independent. There is no pooled TVL for attackers to target.
* **Guaranteed recovery**\
If an order is not fulfilled, users can always
[cancel and reclaim](/dln-details/integration-guidelines/order-creation/cancelling-order) their tokens in full, including all
fees. [Auto-cancellations](/dln-details/affiliates/auto-cancellations) can handle this automatically.
* **No stuck funds**\
User funds are never held on a third-party address. The `DlnSource` contract ensures funds can always be either claimed after
fulfillment or returned to the user via cancellation.
This is enforced by deBridge's [0-TVL architecture](/home/architecture/execution-model).
***
## Integration Options
<CardGroup>
<Card title="Widget" icon="window" href="/dln-details/widget/deBridge-widget">
Low-code universal swaps
</Card>
<Card title="deBridge Liquidity Network API" icon="code" href="/dln-details/integration-guidelines/order-creation/creating-order/quick-start">
Programmatic routing and outcomes
</Card>
<Card title="Hooks & External Calls" icon="webhook" href="/home/use-cases/hooks">
Advanced conditional execution
</Card>
</CardGroup>
***
## Getting Started
<CardGroup>
<Card title="Concepts" icon="book" href="/home/architecture/execution-model">
New to deBridge? Start here to understand the architecture.
</Card>
<Card title="Quickstarts" icon="rocket" href="/home/quickstart">
Want to ship fast? Jump into integration guides.
</Card>
<Card title="Use Cases" icon="compass" href="/home/use-cases/swaps">
Have a specific goal? Find your use case.
</Card>
<Card title="Hooks & Execution" icon="bolt" href="/home/use-cases/hooks">
Building advanced flows? Learn about hooks.
</Card>
</CardGroup>
***
## FAQ
<AccordionGroup>
<Accordion title="Is deBridge just a bridge?">
No. deBridge executes [swaps](/home/use-cases/swaps), [contract calls](/home/use-cases/hooks), and conditional logic across
chains. It's an execution layer, not just a bridge.
</Accordion>
<Accordion title="Is deBridge non-custodial?">
Yes. deBridge is fully decentralized and cannot retain user funds. The [0-TVL
architecture](/home/architecture/execution-model) means there are no shared liquidity pools. Funds pass through smart contracts
on a per-order basis and can always be reclaimed via
[cancellation](/dln-details/integration-guidelines/order-creation/cancelling-order).
</Accordion>
<Accordion title="Does deBridge support same-chain execution?">
Yes. Same-chain and cross-chain execution are both supported through
the [deBridge Liquidity Network API](/dln-details/integration-guidelines/same-chain-swaps/executive).
</Accordion>
<Accordion title="What happens if a deBridge transaction fails?">
If the transaction fails before an order is created, nothing happens and funds remain in the user's wallet. If an order was
created but not fulfilled, users can
[cancel and reclaim](/dln-details/integration-guidelines/order-creation/cancelling-order) their tokens in full.
[Auto-cancellations](/dln-details/affiliates/auto-cancellations) can also handle this automatically.
</Accordion>
<Accordion title="How does the execution flow work?">
The user creates an order and deposits tokens into a smart contract on the source chain. The order is fulfilled on the
destination chain, delivering the requested tokens to the recipient. See the
[execution model](/home/architecture/execution-model) for details.
</Accordion>
<Accordion title="Can I deploy synthetic assets across chains?">
[dePort](/dmp-details/dePort/getting-started) enables multi-chain asset deployment — creating synthetic representations of
assets on other chains. It is powered by the [deBridge Messaging Protocol](/home/products/dmp-overview), the foundational
cross-chain messaging layer. dePort is primarily used for deploying synthetic assets across chains and is separate from the
swap/execution products (DLN).
</Accordion>
</AccordionGroup>
# SDK & API License Agreement
Source: https://docs.debridge.com/overview/legal
License agreement for using the deBridge SDK and APIs.
Last Updated: 01 October 2025
This API licence agreement (this "Agreement") is entered into as of the date which the Client first accesses, downloads or utilises the Licensor's
APIs (the "Effective Date"), and is a legally binding contract between DXTECH INC., a company incorporated under the laws of Panama (the "Licensor")
and you (the "Client", together with the Licensor the "Parties", and each a "Party"), and applies to the use of the API (as defined herein) and
associated SDK and documentation, available through `https://debridge.com` (the "Website"). If you do not agree to be bound by the terms and
conditions of this Agreement, please do not proceed with the use of the API.
YOU ARE ENTERING A LEGALLY BINDING CONTRACT: BY COPYING, DOWNLOADING, OR OTHERWISE USING THE LICENSOR'S API OR SDK YOU ARE EXPRESSLY AGREEING TO BE
BOUND BY ALL TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, YOU ARE NOT AUTHORIZED TO COPY, DOWNLOAD, INSTALL OR
OTHERWISE USE THE LICENSOR'S API or SDK.
WE MAY AMEND ANY PORTION OF THIS AGREEMENT AT ANY TIME BY POSTING THE REVISED VERSION OF THIS AGREEMENT AND UPDATING THE "LAST UPDATED" DATE ABOVE.
THE CHANGES WILL BECOME EFFECTIVE IMMEDIATELY AND SHALL BE DEEMED ACCEPTED BY YOU THE FIRST TIME YOU USE OR ACCESS THE API AFTER THE INITIAL POSTING
OF THE REVISED AGREEMENT AND SHALL APPLY ON A GOING-FORWARD BASIS WITH RESPECT TO YOUR USE OF THE API. IN THE EVENT THAT YOU DO NOT AGREE WITH ANY
SUCH MODIFICATION, YOUR SOLE AND EXCLUSIVE REMEDY ARE TO TERMINATE YOUR USE OF THE API.
WHEREAS:
1. The Client desires to license the Licensor's APIs (as defined herein) for the purpose of offering the Cross-chain Bridge Services to the end users
of the Client’s Product (as defined below); and
2. The Licensor desires to license the APIs to the Client for the purposes of the Client providing the Cross-chain Bridge Services to the end users of
the Client’s Product.
NOW THEREFORE in consideration of the mutual covenants and agreements contained in this Agreement and other good and valuable consideration (the
receipt and sufficiency of which are hereby acknowledged by each of the Parties), the Parties hereto agree as follows:
For the purpose of this Agreement:
“deBridge API” or "API" means the Licensor's "deBridge Liquidity Network (DLN)" application program interface(s) and associated SDK and documentation
for a cross-chain smart router algorithm which is an informational service that provides routing information that is used by the DLN Protocol
(deBridge API and its related services), which may include object code, software libraries, software tools, sample source code, published
specifications and documentation. deBridge API shall include any future, updated or otherwise modified version(s) thereof furnished by deBridge (in
its sole discretion) to Client.
"Client's Product" means any web application, mobile application, platform or business offered by the Client to its end users, including the
Cross-chain Bridge Services provided by the Client to its end users.
"Content" means any data and content received by the Client through the APIs, for example pricing or other market data.
"Relevant Blockchain Network" means the Solana blockchain network or such other blockchain network on which the API may provide services in respect
of.
"Cross-chain Bridge Services" means the service relating to decentralised cross-chain bridging of digital assets or cross-chain communications, or
similar services offered directly by the Client to its end users via the Client's Product.
"Term" shall have the meaning ascribed to it in Clause 16(a).
1. API LICENSE
* 1) Subject to the terms and conditions of this Agreement, the Licensor hereby grants to the Client a limited, non-exclusive, non-sublicensable,
non-transferable and non-assignable licence during the Term to: (i) use the API for the purpose of the Cross-chain Bridge Services provided via
the Client's Product; (ii) use the APIs to develop, test, and support the Client's Product; and (iii) display the Content received from the
APIs within the Client's Product. For the avoidance of doubt, the Client agrees that it has no right to distribute or allow access to the
stand-alone APIs to any person.
* 2. The Client agrees that it will devote such resources and undertake such work as may be necessary to integrate the API with the Client’s
Product. The Client agrees that it is solely responsible for the Client's Product, including the development, operation, maintenance and end
user support for the Client's Product.
* 3. In order to access the APIs, the Client must obtain the API keys from the Licensor via their documentation. The Client will be able to obtain
the necessary keys, tokens, passwords and/or other credentials (collectively, "Keys"), for accessing the APIs and managing the Client’s access
to the APIs. The Client acknowledges that it may be required to subscribe and pay for unique API Keys from the Licensor in order to qualify for
higher rate limits for APIs. The Client may only access the APIs with the Keys issued to the Client by the Licensor. The Client acknowledges
that access to the APIs may not always be available. The Client may not sell, transfer, sublicense or otherwise disclose its Keys to any other
party or use them with any other Client's Product or any other purpose other than that expressly permitted by the Licensor. The Client is
responsible for maintaining the secrecy and security of the Keys. The Client is fully responsible for all activities that occur using the Keys,
regardless of whether such activities are undertaken by the Client or a third party. The Client is responsible for maintaining up-to-date and
accurate information (including a current email address and other required contact information) for the Client’s a프로젝트로 돌아가기