Swap assets and call contracts across chains
Squid's npm package gives easy access to Squid API, allows easy execution of cross-chain transfers and messages. It is designed to support building rich front ends, as well as running inside a back end.
If you don't already have an npm project to add our SDK to, you should start one first, by creating a new folder, running
npm init,then creating an
index.tsfile, and start adding code!
Our walkthrough is written in Typescript.