Aftermath Finance
  • Aftermath TypeScript SDK
    • Router
    • Liquid Staking
    • Pools
Powered by GitBook
On this page
  • Install
  • Usage
  • 1. Create Aftermath provider
  • 2. Create protocol provider

Was this helpful?

Aftermath TypeScript SDK

Official Aftermath Finance TypeScript SDK for Sui.

Install

npm i aftermath-ts-sdk

Usage

1. Create Aftermath provider

const af = new Aftermath("TESTNET");

/*
DEVNET
TESTNET
*/

2. Create protocol provider

const router = af.Router();
const pools = af.Pools();
const staking = af.Staking();
NextRouter

Last updated 1 year ago

Was this helpful?