deBridge
  • Introduction
  • The deBridge Messaging Protocol
    • Protocol Overview
    • Fees and Supported Chains
    • 🟒Deployed Contracts
    • Development Guides
      • Building an EVM-based dApp
        • EVM smart contract interfaces
          • Interfaces
            • ICallProxy
            • IDeBridgeGate
            • IDeBridgeToken
            • IDeBridgeTokenDeployer
            • IOraclesManager
            • ISignatureVerifier
            • IWethGate
          • Libraries
            • Flags
          • Periphery
            • CallProxy
            • DeBridgeToken
            • DeBridgeTokenProxy
            • SimpleFeeProxy
          • Transfers
            • DeBridgeGate
            • DeBridgeTokenDeployer
            • OraclesManager
            • SignatureVerifier
            • WethGate
      • Sending cross-chain messages from Solana
        • On-Chain external call preparation for Solana
        • Off-chain external call preparation for Solana
      • Lifecycle of a cross-chain call
      • Gathering data for the claim
    • Development Tools
    • Security
    • Slashing and Delegated Staking
  • πŸ”DLN: The deBridge Liquidity Network Protocol
    • Introduction
    • Protocol Overview
    • deBridge Hooks
    • Fees and Supported Chains
    • 🟒Deployed Contracts
    • Market and Limit Orders
    • Integration Guidelines
      • Interacting with the API
        • Authentication
        • Creating an Order
          • Quick Start
          • Reserve Assets
          • Bridging Reserve Assets
          • Bridging non-reserve assets
          • API Parameters
            • Estimation-Only
            • prependOperatingExpenses
          • API Response
            • JSON Example
          • Refreshing Estimates
          • Fees and operating expenses
          • Order Fulfillment
            • Detecting the Order
            • Fulfilling the Order
              • Pre-Fill-Swap
            • Claiming the Order
        • Tracking Order Status
          • Order States
        • Integrating deBridge hooks
          • Creating Hook data for Solana
        • Submitting an Order Creation Transaction
        • Cancelling the Order
        • Affiliate fees
      • deBridge Widget
      • Interacting with smart contracts
        • Placing orders
        • Filling orders
        • Withdrawing Affiliate Fees
    • Interacting with the deBridge App
      • Custom Linking
    • Protocol specs
      • Deterministic order ID
      • Hook data
        • Anatomy of a Hook for the EVM-based chains
        • Anatomy of a Hook for Solana
  • πŸ’ΈdePort
    • Getting started
    • Transfers Flow
  • ⚑deBridge Points
    • Referrers Overview
    • Integrators Overview
  • 🌐deBridge IaaS
    • Getting started
  • 🌐Legal
    • SDK & API License Agreement
  • External Links
    • deBridge Use Cases
      • πŸ’‘Examples
    • Talks, Videos, and Articles
    • Website
    • Github
    • Twitter
    • Social channels
      • Discord
      • Facebook
      • LinkedIn
      • Medium
      • Telegram
      • YouTube
Powered by GitBook
On this page
  • Integration Overview
  • DeBridge API
  • DeBridge Widget
  • Smart Contract Integration (DLN Protocol)

Was this helpful?

  1. DLN: The deBridge Liquidity Network Protocol

Integration Guidelines

PreviousMarket and Limit OrdersNextInteracting with the API

Last updated 1 day ago

Was this helpful?

Integration Overview

There are several ways to integrate deBridge into your dApp, wallet, or protocol, depending on the specific use case. This section provides a high-level overview of the available integration methods: API, Widget, and Smart Contracts.

DeBridge API

Recommended for most production-grade integrations β†’

The DeBridge API is the most robust and flexible integration method, abstracting away the complexities of cross-chain trading, smart contract interactions, and blockchain infrastructure. It provides RESTful endpoints to quote, create, and manage trades throughout their lifecycle. This improves transaction success rates and user experience, while reducing engineering overhead.

Recommended if integrators:

  • Want full control over the UX/UI

  • Are building custom workflows or high-frequency trading logic

  • Need integration with backend infrastructure

  • Are targeting mobile-native or non-browser environments

Use cases: Coming soon: examples such as exchange aggregators, non-custodial wallets, yield platforms, etc.

DeBridge Widget

Best for rapid integration and prototyping β†’

The DeBridge Widget enables any web-based project to offer cross-chain swaps in minutes. It’s a pre-built UI component embeddable via iframe, fully customizable with themes, chains, tokens, and more. It also supports JavaScript-based event listeners and method calls for deeper interaction.

Recommended if integrators:

  • Want a fast time-to-market with minimal development effort

  • Don’t need custom UX or transaction logic

  • Are building a frontend-heavy app, or integrating within a website or mobile WebView

  • Want to prototype or test before deeper integration

Use cases: Coming soon: examples such as token swap pages, DeFi frontends, portfolio dashboards, etc.

Smart Contract Integration (DLN Protocol)

The DeBridge Liquidity Network (DLN) Protocol enables direct interaction with on-chain smart contracts to place and fulfill cross-chain limit orders. Developers can work directly with DlnSource and DlnDestination contracts for advanced decentralized workflows. This provides maximum flexibility, trustless execution, and fine-grained control.

Recommended if integrators:

  • Need a fully decentralized integration with no off-chain components

  • Are building a protocol-level feature (e.g., DEX, bridge aggregator)

  • Want to operate as a solver or liquidity provider

  • Need deterministic on-chain behavior and verifiability

Use cases: Coming soon: examples such as limit order protocols, liquidity relayers, solver networks, etc.

Best for advanced and trustless DeFi integrations β†’

πŸ”
Learn more about the DLN Protocol Smart Contracts
Learn more about the API
Learn more about the Widget