navi-sdk
Version:
The NAVI SDK 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 th
14 lines (9 loc) • 316 B
text/typescript
// src/tests/client.ts
import dotenv from "dotenv";
import { NAVISDKClient } from '../src/index';
dotenv.config();
const rpcUrl = "";
const mnemonic = process.env.MNEMONIC || "";
const client = new NAVISDKClient({ networkType: rpcUrl, mnemonic });
const account = client.accounts[0];
export { client, account };