Installation and Setup

Installation

To install the Sudo SDK in your project, use your preferred package manager:

npm install sudo-sdk
# or
yarn add sudo-sdk

You can find the package on npm at: https://www.npmjs.com/package/sudo-sdk

Setup

import { SudoAPI } from 'sudo-sdk';

const provider = getProvider(network);
const sudoAPI = new SudoAPI(network, provider);

// Now you're ready to use the SDK!

Last updated