Installing our SDK

Install the SDK via npm or yarn.
npm install --save @0xsquid/sdk
yarn add @0xsquid/sdk
Import Squid at the top of your Typescript file and off you go! Config
import { Squid } from "@0xsquid/sdk";
(async () => {
// instantiate the SDK
const squid = new Squid({
baseUrl: "" // for mainnet use ""
// init the SDK
await squid.init();
console.log("Squid inited");

Advanced configuration

Check out Advanced set up if you're a power user.