Sdk Ethers

Splits Development Kit

This page explains how to use the old ethers version of the Splits Development Kit (SDK). The SDK makes it easier to query the subgraph or call contract functions. You can find the SDK source code on Github (opens in a new tab).

The new version of the SDK using Viem can be found here.

To get started, install the package using yarn or npm.

yarn add @0xsplits/splits-sdk@2

View docs for each client from the old ethers SDK:

Splits

Waterfall

Swapper

Liquid Splits

Vesting

Templates

Multicall