Squid is a smart contract, API and SDK stack built around the Axelar Network which allows native cross chain swaps to be easily executed. These swaps can be utilised on their own, or layered into other cross-chain logic built using Axelar.
The messages Squid sends across chains have three main components.
- axlUSDC bridge request.
- Swap instructions to be executed on the destination chain.
- Further logic to be executed after the swap.
Developers are able to wrap Squid with their own smart contracts, and execute arbitrary logic using the assets received on the other end.
Below is a basic diagram of the components in Squid's architecture;