NaviSDK Client Documentation
For the latest updates and detailed information on interacting with the NaviSDK contract, please refer to the Navi Protocol Developer Docs.
Introduction
The NaviSDK Client provides tools for interacting with the Sui blockchain networks, designed for handling transactions, accounts, and smart contracts efficiently. This documentation covers the setup, account management, and transaction handling within the NaviSDK ecosystem.
Getting Started
Installation
Before you can use the NaviSDK Client, you need to set up your project environment.
npm i navi-sdk
*We highly suggest you use env to import mnemonic all the time *
npm i dotenv
Check how to use dotenv
Quick Start
const mnemonic = process.env.mnemonic;
const client = new NAVISDKClient({ mnemonic, networkType: "mainnet" || "your_rpc", numberOfAccounts: 5 });
const account = client.accounts[0];
account.depositToNavi(Sui, 1e9);
Detailed SDK Usage
SDK Sample & Tools