deBridge 백서

deBridge

원문

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

c8046d9C8A8c](https://lineascan.build/address/0x949b3B3c098348b879C9e4F15cecc8046d9C8A8c) | [0x8a0C79F5532f3b2a16AD1E4282A5DAF81928a824](https://lineascan.build/address/0x8a0C79F5532f3b2a16AD1E4282A5DAF81928a824) | | | Base | [0xc1656B63D9EEBa6d114f6bE19565177893e5bCBF](https://basescan.org/address/0xc1656B63D9EEBa6d114f6bE19565177893e5bCBF) | [0x0e4AdD4DC86Ae1Aa0FA43Bd7e6a9fB8Be2d5504d](https://basescan.org/address/0x0e4AdD4DC86Ae1Aa0FA43Bd7e6a9fB8Be2d5504d) | [0x8244d6Ffe0695B30b2bAD424683Ee3bc534Ea464](https://basescan.org/address/0x8244d6Ffe0695B30b2bAD424683Ee3bc534Ea464) | [0x949b3B3c098348b879C9e4F15cecc8046d9C8A8c](https://basescan.org/address/0x949b3B3c098348b879C9e4F15cecc8046d9C8A8c) | [0x8a0C79F5532f3b2a16AD1E4282A5DAF81928a824](https://basescan.org/address/0x8a0C79F5532f3b2a16AD1E4282A5DAF81928a824) | | | Optimism | [0x43dE2d77BF8027e25dBD179B491e8d64f38398aA](https://optimistic.etherscan.io/address/0x43dE2d77BF8027e25dBD179B491e8d64f38398aA) | [0xc1656B63D9EEBa6d114f6bE19565177893e5bCBF](https://optimistic.etherscan.io/address/0xc1656B63D9EEBa6d114f6bE19565177893e5bCBF) | [0x8244d6Ffe0695B30b2bAD424683Ee3bc534Ea464](https://optimistic.etherscan.io/address/0x8244d6Ffe0695B30b2bAD424683Ee3bc534Ea464) | [0x949b3B3c098348b879C9e4F15cecc8046d9C8A8c](https://optimistic.etherscan.io/address/0x949b3B3c098348b879C9e4F15cecc8046d9C8A8c) | [0x8a0C79F5532f3b2a16AD1E4282A5DAF81928a824](https://optimistic.etherscan.io/address/0x8a0C79F5532f3b2a16AD1E4282A5DAF81928a824) | | | Story | [0x43dE2d77BF8027e25dBD179B491e8d64f38398aA](https://internal.storyscan.xyz/address/0x43dE2d77BF8027e25dBD179B491e8d64f38398aA) | [0xc1656B63D9EEBa6d114f6bE19565177893e5bCBF](https://internal.storyscan.xyz/address/0xc1656B63D9EEBa6d114f6bE19565177893e5bCBF) | [0x8244d6Ffe0695B30b2bAD424683Ee3bc534Ea464](https://internal.storyscan.xyz/address/0x8244d6Ffe0695B30b2bAD424683Ee3bc534Ea464) | [0x949b3B3c098348b879C9e4F15cecc8046d9C8A8c](https://internal.storyscan.xyz/address/0x949b3B3c098348b879C9e4F15cecc8046d9C8A8c) | [0x8a0C79F5532f3b2a16AD1E4282A5DAF81928a824](https://internal.storyscan.xyz/address/0x8a0C79F5532f3b2a16AD1E4282A5DAF81928a824) | | | Cronos | [0x43dE2d77BF8027e25dBD179B491e8d64f38398aA](https://explorer.cronos.org/address/0x43dE2d77BF8027e25dBD179B491e8d64f38398aA) | [0xc1656B63D9EEBa6d114f6bE19565177893e5bCBF](https://explorer.cronos.org/address/0xc1656B63D9EEBa6d114f6bE19565177893e5bCBF) | [0x8244d6Ffe0695B30b2bAD424683Ee3bc534Ea464](https://explorer.cronos.org/address/0x8244d6Ffe0695B30b2bAD424683Ee3bc534Ea464) | [0x949b3B3c098348b879C9e4F15cecc8046d9C8A8c](https://explorer.cronos.org/address/0x949b3B3c098348b879C9e4F15cecc8046d9C8A8c) | [0x8a0C79F5532f3b2a16AD1E4282A5DAF81928a824](https://explorer.cronos.org/address/0x8a0C79F5532f3b2a16AD1E4282A5DAF81928a824) | - | | HyperEVM | [0x43dE2d77BF8027e25dBD179B491e8d64f38398aA](https://hyperevmscan.io/address/0x43dE2d77BF8027e25dBD179B491e8d64f38398aA) | [0xc1656B63D9EEBa6d114f6bE19565177893e5bCBF](https://hyperevmscan.io/address/0xc1656b63d9eeba6d114f6be19565177893e5bcbf) | [0x8244d6Ffe0695B30b2bAD424683Ee3bc534Ea464](https://hyperevmscan.io/address/0x8244d6Ffe0695B30b2bAD424683Ee3bc534Ea464) | [0x949b3B3c098348b879C9e4F15cecc8046d9C8A8c](https://hyperevmscan.io/address/0x949b3B3c098348b879C9e4F15cecc8046d9C8A8c) | [0x8a0c79f5532f3b2a16ad1e4282a5daf81928a824](https://hyperevmscan.io/address/0x8a0C79F5532f3b2a16AD1E4282A5DAF81928a824) | | | Injective | [0x43dE2d77BF8027e25dBD179B491e8d64f38398aA](https://blockscout.injective.network/address/0x43dE2d77BF8027e25dBD179B491e8d64f38398aA) | [0xc1656B63D9EEBa6d114f6bE19565177893e5bCBF](https://blockscout.injective.network/address/0xc1656B63D9EEBa6d114f6bE19565177893e5bCBF) | [0x8244d6Ffe0695B30b2bAD424683Ee3bc534Ea464](https://blockscout.injective.network/address/0x8244d6Ffe0695B30b2bAD424683Ee3bc534Ea464) | [0x949b3B3c098348b879C9e4F15cecc8046d9C8A8c](https://blockscout.injective.network/address/0x949b3B3c098348b879C9e4F15cecc8046d9C8A8c) | [0x8a0C79F5532f3b2a16AD1E4282A5DAF81928a824](https://blockscout.injective.network/address/0x8a0C79F5532f3b2a16AD1E4282A5DAF81928a824) | - | | Monad | [0x43dE2d77BF8027e25dBD179B491e8d64f38398aA](https://monadvision.com/address/0x43dE2d77BF8027e25dBD179B491e8d64f38398aA) | [0xc1656B63D9EEBa6d114f6bE19565177893e5bCBF](https://monadvision.com/address/0xc1656B63D9EEBa6d114f6bE19565177893e5bCBF) | [0x8244d6Ffe0695B30b2bAD424683Ee3bc534Ea464](https://monadvision.com/address/0x8244d6Ffe0695B30b2bAD424683Ee3bc534Ea464) | [0x949b3B3c098348b879C9e4F15cecc8046d9C8A8c](https://monadvision.com/address/0x949b3B3c098348b879C9e4F15cecc8046d9C8A8c) | [0x8a0C79F5532f3b2a16AD1E4282A5DAF81928a824](https://monadvision.com/address/0x8a0C79F5532f3b2a16AD1E4282A5DAF81928a824) | - | | MegaETH | [0x43dE2d77BF8027e25dBD179B491e8d64f38398aA](https://mega.etherscan.io/address/0x43dE2d77BF8027e25dBD179B491e8d64f38398aA) | [0xc1656B63D9EEBa6d114f6bE19565177893e5bCBF](https://mega.etherscan.io/address/0xc1656B63D9EEBa6d114f6bE19565177893e5bCBF) | [0x8244d6Ffe0695B30b2bAD424683Ee3bc534Ea464](https://mega.etherscan.io/address/0x8244d6Ffe0695B30b2bAD424683Ee3bc534Ea464) | [0x949b3B3c098348b879C9e4F15cecc8046d9C8A8c](https://mega.etherscan.io/address/0x949b3B3c098348b879C9e4F15cecc8046d9C8A8c) | [0x8a0C79F5532f3b2a16AD1E4282A5DAF81928a824](https://mega.etherscan.io/address/0x8a0C79F5532f3b2a16AD1E4282A5DAF81928a824) | | | TRON | [TTGA4XQ419jodtFSMFiwYqfgG2uSLRBsnn](https://tronscan.org/#/contract/TTGA4XQ419jodtFSMFiwYqfgG2uSLRBsnn/code) | [TGEUpEMV7AVZU6VBFrRQDysrHJEmVMYsf8](https://tronscan.org/#/contract/TGEUpEMV7AVZU6VBFrRQDysrHJEmVMYsf8/code) | [TCsNzzAxD5RxWFbVnvCtyc91GyrGxC4NWd](https://tronscan.org/#/contract/TCsNzzAxD5RxWFbVnvCtyc91GyrGxC4NWd/code) | [TKFK32GKQs8379yRtuMkAmVMQ3Xo6xR7KX](https://tronscan.org/#/contract/TKFK32GKQs8379yRtuMkAmVMQ3Xo6xR7KX/code) | [TUo8FfeP9XJdfB8zoH2nJGLi7CL2LJ1Lin](https://tronscan.org/#/contract/TUo8FfeP9XJdfB8zoH2nJGLi7CL2LJ1Lin/code) | - | # Fees and Supported Chains Source: https://docs.debridge.com/dmp-details/dmp/fees-supported-chains Fees and Supported Chains: Current flat fee for messages sent from different chains. deBridge takes a flat fee for each cross-chain message transfer, which users pay for decentralization and confidence since half of all fees will go as a reward to [deBridge validators](https://app.debridge.com/validation-progress) who will be [financially liable](/dmp-details/dmp/slashing-and-delegated-staking) for the proper operation of the protocol as liquid assets staked for them will act as protocol financial guarantees. The fee is paid in the blockchain's native (gas) token. For example, if the transfer is performed from the Ethereum chain, then the fixed ETH amount will be deducted from the user's wallet towards the protocol treasury on Ethereum. Fees paid for every sent message can be seen in [deBridge Explorer](https://app.debridge.com/explorer) or retrieved from the state of the [`DebridgeGate` smart contract](/dmp-details/dev-guides/evm/building-evm-dapp). <Info> deBridge flat fees can be changed by governance. Hence, for any on-chain interactions with deBridge, fees must not be hardcoded but queried dynamically from the state of the `DebridgeGate` smart contract. </Info> # Current flat fee for messages sent from different chains <WideTable> | **Chain** | **Chain ID** | **Internal Chain ID** | **Message Transfer Fee** | **Block Finality** | | --------- | ------------ | --------------------- | ------------------------ | ------------------ | | Arbitrum | 42161 | 42161 | 0.001 ETH | 12 | | Avalanche | 43114 | 43114 | 0.05 AVAX | 12 | | BNB Chain | 56 | 56 | 0.005 BNB | 12 | | Ethereum | 1 | 1 | 0.001 ETH | 12 | | Polygon | 137 | 137 | 0.5 MATIC | 256 | | Robinhood | 4663 | 4663 | 0.001 ETH | 12 | | Arc | 5042 | 5042 | 1 USDC | Status Finalized | | Solana | 7565164 | 7565164 | 0.015 SOL | Status Finalized | | Linea | 59144 | 59144 | 0.001 ETH | 12 | | Optimism | 10 | 10 | 0.001 ETH | 12 | | Base | 8453 | 8453 | 0.001 ETH | 12 | | Story | 1514 | 100000013 | 0.01 IP | 12 | | Cronos | 25 | 100000019 | 15 CRO | 12 | | HyperEVM | 999 | 100000022 | 0.05 WHYPE | 12 | | TRON | 728126428 | 100000026 | 4 TRX | 20 | | Injective | 1776 | 100000029 | 0.09 INJ | 64 | | Monad | 143 | 100000030 | 2 MON | 12 | | MegaETH | 4326 | 100000031 | 0.001 ETH | 12 | </WideTable> # Protocol Overview Source: https://docs.debridge.com/dmp-details/dmp/protocol-overview Protocol Overview: Background, Protocol Structure, and Off-chain validation. <Note> deBridge Messaging Protocol (DMP) is the underlying cross-chain messaging protocol that powers all deBridge products, including the deBridge Liquidity Network (DLN). DMP enables arbitrary data transfer, cross-chain execution and authenticated messages, allowing developers to build complex cross-chain applications beyond just value transfer. If you're looking to build cross-chain swaps, onboarding flows, or multi-step DeFi actions, you likely want to use the [deBridge Liquidity Network](/dln-details/overview/introduction). </Note> # Background For a long time, bridges were viewed only as value transfer protocols and custodians responsible for locking assets on the source chain and issuing wrapped representations of the assets on the destination chain. The deBridge protocol drastically expands the concept of traditional bridges by introducing generic cross-chain message transfers. Now developers and builders can interconnect any smart contracts across different blockchains to perform transfers of data and transaction calls (messages that contain instructions to be executed, or CALLDATA) together with the value transfer in the same transaction. This opens up endless opportunities to build complex cross-chain interactions, such as multi-chain applications, next-layer protocols, automated cross-chain arbitraging services, object or NFT bridges, and more! As a generic messaging protocol and a cross-chain interoperability infrastructure, deBridge can be used to build any arbitrary cross-chain applications (deApps). Notable solutions built on top of deBridge are: * [deBridge Liquidity Network](https://app.debridge.com/) (DLN) — a high-performance cross-chain value transfer infrastructure built on deBridge with 0-TVL design (no liquidity pools). * [dePort](https://app.debridge.com/deport) — a native bridge for assets that allows protocols to bridge tokens and create utility for their synthetic representation (deTokens) in other chains. Your application can be the next one and this documentation and tutorials will help to dive into the protocol infrastructure and elaborate on questions you might face while building your integration with deBridge. # Protocol Structure The protocol consists of 2 key layers: * Protocol layer — on-chain smart contracts deployed in every blockchain supported by deBridge * Infrastructure layer — off-chain validation nodes operated by validators who are elected by the deBridge governance <img alt="DMP Layers" /> *The protocol layer* is a set of on-chain smart contracts used for asset management, routing of cross-chain transactions, cross-validation of validators' signatures, and reaching consensus among validators as the transaction is treated as valid only if the minimum required threshold of validators' signatures is achieved. The governance manages the parameters of the smart contracts, such as fees, supported chains, the whitelist of elected validators, validators payout ratio, and more. The infrastructure layer is represented by a set of reputable validators who operate a deBridge node alongside full nodes of every blockchain supported by the protocol. # Off-chain validation For all bridging protocols, it’s important to have a chain-agnostic design and make the protocol operation fully independent of the uptime of all supported blockchains. In case of downtime in any underlying blockchains, the protocol should keep processing the transactions for all other chains. deBridge has taken a unique approach with an off-chain transaction validation mechanic where validators don’t need to broadcast any transactions and bear gas costs. Every cross-chain transaction initiated through the deBridge smart contract is assigned a unique hash (Submission Id). deBridge validators are tracking all transactions that pass through the smart contract of the protocol and soon as the transaction achieves its finality, each validator is obliged to sign the Submission by its private key. The resulting signature is saved into Arweave, a decentralized data availability layer. Any arbitrary user or keeper can collect validator signatures from Arweave and pass them to the DebridgeGate smart contract in the target chain alongside all transaction parameters. Based on the passed set of parameters, the deBridge smart contract will restore a unique hash of the transaction and cross-validate its signatures from all designated validators. In case the minimum required number of signatures is valid, the DebridgeGate smart contract delivers the message on the destination chain by executing its' call data. With this design, even in the eventuality that some blockchains experience downtime, deBridge will still remain fully functional and all transactions going to the paused chain will be processed as soon as it resumes operation. # Transaction Finality Requirements Due to the probabilistic finality model of most blockchains, before the message is validated by the deBridge infrastructure, validators wait for the required number of block confirmations before signing its Submission Id. The number of required block confirmations is based on the social consensus of transaction finality in each supported blockchain. # Delegated Staking and Slashing Validators play a crucial role in interoperability protocols since in addition to being infrastructure providers, they also secure the protocol by validating all cross-chain transactions passing through the protocol. Validators work for and are elected by the governance and should bear financial responsibility for the service they provide, assured through the risk of being slashed in case of validating a non-existent transaction or failing to maintain infrastructure uptime. Anyone can help to secure the protocol by becoming a delegator and staking assets (e.g. ETH, USDC) for validators’ collateral. Both validators and their delegators receive part of the protocol fees as an economic incentive for helping to secure the protocol and maintain its infrastructure. # How it works deBridge is DeFi's internet of liquidity — a foundational layer that enables users and protocols to transport any arbitrary messages or CALLDATA across different chains enabling the ability to create any cross-chain solutions, such as deSwap — value transferring protocol built on top of deBridge. <img alt="DMP Flow Simplified" /> The ability to pass arbitrary data opens up opportunities for true cross-chain composability of smart contracts and protocols that can now interact with each other despite they live in different blockchain ecosystems. An example would be an algorithmic stablecoin protocol on Ethereum that opens positions in perpetual markets protocol on Solana or Arbitrum in order to maintain the peg of its asset. deBridge allows the building of a new generation of cross-chain protocols and applications that haven’t been possible in the past. Some of the use cases are: * Cross-chain swaps * Multi-chain governance * Cross-chain lending * Cross-chain yield farming <Tip>For more details, check out the dedicated deBridge Messaging Protocol section.</Tip> # Security Source: https://docs.debridge.com/dmp-details/dmp/security Information about deBridge security audit processes and bug bounty program # Has deBridge been audited? Yes, deBridge's smart contracts have been audited by [Halborn](https://halborn.com/), [Zokyo](https://www.zokyo.io/), [Ackee Blockchain](https://ackeeblockchain.com/) and [Neodyme](https://neodyme.io/). Security will always be deBridge's main priority and it is vital for the protocol to be reliable and secure at all times. It’s one of the main components that will determine the future progression of cross-chain interoperability, and as such the deBridge team will maintain this as a main focus area both before and after the protocol launch. Some of our key focus areas and security strategies can be found in [this blog post](https://blog.debridge.finance/10-strategies-for-cross-chain-security-8ed5f5879946). # Third-party security audits deBridge protocol and periphery modules passed more than 25+ security audits. A comprehensive list of audit reports can be found in the [deBridge GitHub repository](https://github.com/debridge-finance/debridge-security). # Immunefi bug bounty program deBridge has presented a \$200,000 Bug Bounty Program on Immunefi. This bug bounty program is focused on preventing: * Loss of user funds locked (principal) by freezing or theft * Loss of governance funds * Theft of unclaimed assets * Permanent freezing of unclaimed assets * Smart contract fails to deliver promised returns * Unauthorized minting of wrapped assets that will lead them to lose peg A more detailed description can be found on the [Immunefi website](https://immunefi.com/bounty/debridge/). # Slashing and Delegated Staking Source: https://docs.debridge.com/dmp-details/dmp/slashing-and-delegated-staking Slashing and Delegated Staking: Responsibility of Validators, Delegated Staking, and Fees Distribution. <img alt="Slashing and Delegated Staking" /> Delegated staking and slashing mechanics act as a backbone of protocol security and prevent economic incentives for validators to get into collusion and forge messages. A DelegatedStaking smart contract is part of the deBridge protocol and implements slashing and delegated staking logic. Anyone (including validators themselves) can delegate liquidity for validators which act as a financial guarantee of validators' fairness. There are two ways to attract liquidity into collateral: # Responsibility of Validators The liquidity delegated to validators may be used for slashing in case validators validated forged or censored message. In this case, anyone who had a financial loss due to validator misbehavior will be compensated by deBridge governance from the amount slashed from the validator's collateral. Thus, in addition to reputational risks, validators are financially responsible for the proper operation of the protocol and its fault tolerance. There are two ways how validators can attract liquidity into collateral: * Validators stake their own liquidity into collateral * Validators attract liquidity from delegators and share rewards paid by the protocol # Delegated Staking Any user/wallet can increase the collateral of any validator if they believe that this validator is reliable, knows how to manage infrastructure, and won't incur any breakdowns and delays in the processing and validation of transactions. The whitelist of assets that can be staked is managed by governance. Initially, onlyETH, USDT, USDC assets will be available for staking. Stablecoins allow hedging collateral during periods of market volatility to avoid shrinking of total collateral USD value during the bear market stages. If the user decides to unstake any amount of staked assets, a cooldown period of 14 days should pass from the time of the unstaking request to the moment the user is able to claim their assets. Later on, the cooldown period for unstaking will be reduced to 7 days. The cooldown period is needed for several reasons: * To avoid front-running, so that users do not stake opportunistically for a short period of time to capitalize on rewards during periods of high volumes * To give governance a time to slash validator collateral before delegators unstake their liquidity. Governance can pause/renew new stakes/unstakes and ongoi
프로젝트로 돌아가기