1.0.0 • Published 9 months ago
@everstake/wallet-sdk-sui v1.0.0
Getting Started
You can use two different options to implement Sui operations with the Everstake wallet SDK.
Option 1: REST API
You can use REST API to call methods which are described in Swagger with detailed examples
https://wallet-sdk-api.everstake.oneOption 2: TypeScript library
You can install and import Wallet SDK for Javascript/TypeScript.
Step. 1: Installing the Library
Install the npm library by copying the code below.
$ npm install @everstake/wallet-sdk-suior you can also use yarn
$ yarn add @everstake/wallet-sdk-suiStep. 2: Import Wallet SDK
After installing the package, you can import the Sui module and use the SDK:
Import ES6
// import module
import { Sui } from '@everstake/wallet-sdk-sui';
// or you can also use
import * as Sui from '@everstake/wallet-sdk-sui';Import ES5
// import module
const { Sui } = require("@everstake/wallet-sdk-sui");1.0.0
9 months ago