SDK
Overview
The SDK is ideal for integrating cross-chain swaps, bridges, and deposits into applications that utilize JavaScript or Typescript, while the API can be used for similar purposes in a more language-agnostic manner.
Types
We recommend using the types from our npm package. If you are using our API without our SDK, you can find the types inside node_modules/@0xsquid/sdk/dist/types/index.d.ts
after Installing our SDK
Installing the SDK
From the terminal, install our SDK
Now in your typescript file
Next, explore the first Swap & Bridging with the Squid SDK to understand the fundamentals.
Last updated