Install our SDK
Integrate Squid SDK
Squid's npm package gives easy access to Squid API, allows easy execution of cross-chain transfers and messages.

Installation (SDK is still in development and not available yet)

Install the SDK via npm or yarn.
npm install --save @0xsquid/sdk
or
yarn add @0xsquid/sdk
Import Squid at the top of your Javascript file and off you go! Config
import { Squid } from "@0xsquid/sdk"
const config = {
baseUrl: "https://testnet.api.0xsquid.com"
}
const squid = new Squid(config)
await squid.init()

Advanced configuration

Check out Advanced set up if you're a power user.
Copy link
On this page
Installation (SDK is still in development and not available yet)
Advanced configuration