Technical overview of TideSwap's architecture and integrations.
TideSwap is the DeFi homepage for Ink — a Layer 2 blockchain built by Kraken on the OP Stack. TideSwap aggregates liquidity from multiple DEXs to offer the best swap prices, and provides a unified interface for swapping, limit orders, cross-chain bridging, portfolio tracking, and yield discovery.
TideSwap is a frontend-only application. It does not operate its own smart contracts for trading — instead, it routes through battle-tested protocols:
All swaps are routed through the 0x Swap API, which aggregates liquidity from DEXs on Ink including Velodrome V2, Velodrome V3, DYOR, InkySwap, SquidSwap, and Reservoir. The 0x smart order routing algorithm splits trades across sources to minimize price impact.
Token approvals use the 0x AllowanceHolder contract. TideSwap sets exact approval amounts (never unlimited) for maximum security.
The Bridge tab is powered by LI.FI, which aggregates multiple bridge protocols to find the fastest and cheapest route from any supported chain to Ink.
Token prices are sourced from the CoinGecko API. Yield data on the Earn page comes from the DefiLlama API.
| Network | Ink |
| Chain ID | 57073 |
| Native Token | ETH |
| Block Explorer | explorer.inkonchain.com |
| RPC | https://rpc-gel.inkonchain.com |
All tokens are verified as swappable via the 0x API on Ink. Addresses confirmed on explorer.inkonchain.com.
| Token | Address | Decimals |
|---|---|---|
| ETH | Native | 18 |
| WETH | 0x4200...0006 | 18 |
| USDC | 0x2D27...EAEd | 6 |
| USDC.e | 0xF181...5D14 | 6 |
| USDT0 | 0x0200...70c1 | 6 |
| GHO | 0xfc42...9e73 | 18 |
| oUSDT | 0x1217...E189 | 6 |
| kBTC | 0x73E0...Db98 | 8 |
| SolvBTC | 0xaE4E...4cB3 | 18 |
| weETH | 0xA3D6...914b | 18 |
| XAUT0 | 0xF502...0dAc | 6 |
| Swap Fee | 0.15% per trade (collected via 0x affiliateFee) |
| Bridge Fee | Set by LI.FI / bridge protocol (not collected by TideSwap) |
| Gas Fees | Paid to Ink validators (typically < $0.01) |
| Limit Orders | Same 0.15% fee when order executes |
Non-custodial: TideSwap never holds your funds. All trades execute through on-chain smart contracts.
Exact approvals: Token approvals are set to the exact trade amount, not unlimited. This limits exposure if a contract is compromised.
Server-side API keys: The 0x API key is stored server-side and proxied through our API routes. It is never exposed to the browser.
Security headers: The application deploys with strict Content-Security-Policy, X-Frame-Options, and other security headers via Vercel configuration.
TideSwap's frontend code is open source and available on GitHub. We welcome contributions, bug reports, and security disclosures.