Skip to main content
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