Lidian is a universal, trust-minimized intent settlement protocol designed to make money move better. It connects money movers and liquidity providers from any chain to any chain, facilitating peer-to-peer exchange from any stablecoin to any stablecoin.
How does Lidian work?
Lidian uses an intent-based system where users express what they want to accomplish (e.g., “swap 1000 USDC for USDT on Base”), liquidity providers compete to offer the best rates, and the protocol executes the swap securely. The protocol uses LayerZero for final settlement between chains.
Is Lidian onchain?
Yes, Lidian is an onchain protocol. While we provide APIs and infrastructure, the core smart contracts are deployed onchain. Users maintain custody of their funds throughout the order process.
Is Lidian compliant?
Yes, Lidian is an onchain protocol focused on compliant money movement. This differs from public and decentralized protocols like Relay, Across, and Stargate. We believe there is a place for those types of protocols, however, for businesses, enterprises, and institutions to come onchain and use money they need to follow rules that those protocols are not built for while Lidian is.
Lidian is currently on testnet and supports a few chains. See the deployments page for more.
Which tokens are supported?
Lidian is focused on stablecoins. See the deployments page for more.
How does cross-chain swapping work?
Cross-chain swaps use a trustless intent system with LayerZero for final settlement.
What are LayerZero EIDs?
LayerZero Endpoint IDs (EIDs) are unique identifiers for each supported blockchain network. They’re used to route cross-chain messages securely. For example, Base has EID 30110 and Polygon has EID 30109.
Final settlement transactions via LayerZero can be found on LayerZero Scan.
Yes, Lidian prioritizes security through multiple layers:
Smart contracts are professionally audited
Cross-chain operations are use LayerZero’s battle-tested infrastructure
Users maintain custody of their funds
EIP712 signatures provide cryptographic authorization
What happens if a cross-chain swap fails?
If a cross-chain swap fails, the entire operation reverts atomically. This means your input tokens are automatically returned to you on the source chain, and no partial state is possible. The protocol ensures either the complete swap succeeds or nothing happens.
Are my funds safe during swaps?
Yes, your funds are safe throughout the swap process. For single-chain swaps, tokens are transferred atomically in a single transaction. For cross-chain swaps, your input tokens are locked on the source chain and only released when the output tokens are confirmed on the destination chain.
Can I cancel a swap?
Cancellation is only possible in emergency cases on the destination chain due to race conditions.
Protocol Fee: A small fee to the protocol (in basis points)
LP Fee: A fee to liquidity providers (in basis points)
All fees are transparent and disclosed upfront in quotes. Gas costs for blockchain transactions are separate and paid directly to the network.
How are fees calculated?
Fees are calculated as a percentage of the input amount and are paid in the input token. The exact fee structure depends on the specific quote you receive from liquidity providers, who compete to offer the best rates.
Are there any hidden costs?
No, Lidian is transparent about all costs. All fees are disclosed upfront in quotes, and you can see the exact amount you’ll receive before confirming any swap. The only additional cost is the gas fee for blockchain transactions, which is standard for all onchain operations.
Do I need to hold the native token for gas?
Yes, you need to hold the native token (ETH on Base, MATIC on Polygon) to pay for gas fees. However, you may choose to execute via account abstraction solutions if you prefer which may offer an alternative option.
Common reasons for quote request failures include:
Invalid token addresses
Unsupported chain combinations
Invalid balance on an account
Invalid API key
Rate limit exceeded
Check the error response for specific details about what went wrong.
Why is my swap failing?
Swap failures can occur due to:
Order expiration
Insufficient balance
Invalid signature
Network congestion
Check the swap status and error details for more information.
How long do quotes remain valid?
Quotes typically remain valid for 30 seconds to 5 minutes, depending on market conditions. The exact validity period is included in the quote response. Always check the validUntil timestamp before using a quote.
What should I do if my transaction is stuck?
If your transaction is stuck, it’s likely due to network congestion or low gas prices. You can:
Wait for the transaction to be processed
Check the transaction status on the blockchain explorer
Contact support if the transaction remains stuck for an extended period