You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PoC for creating and submitting swap intents on the SODAX protocol. Intents are created on-chain on Sonic (chain 146) via a smart contract, then submitted to the SODAX backend for asynchronous execution.
Also includes a chain hop demo that moves funds across 11 EVM chains using the @sodax/sdk.
Prerequisites
Node.js >= 18
pnpm
Setup
pnpm install
cp .env.example .env
# Edit .env with your private key and configuration
Environment Variables
See .env.example for all available variables. Key ones:
Chains can be skipped at runtime via DISABLED_CHAINS. The hop sequence auto-rewires around disabled chains (e.g., disabling optimism makes Base hop directly to Arbitrum).
About
PoC scripts to test sending intents to the backend swap endpoint