@okito/sdk
Utilities for tokens, airdrops, NFTs, accounts, and common Solana workflows.
Installation
terminal
npm install @okito/sdk
Getting started
- Browse core concepts and helpers on this page
- See the full function list under the SDK section in the sidebar
Example
page.tsx
import { useConnection } from "@solana/wallet-adapter-react";
import { createNewToken } from "@okito/sdk";
const { connection } = useConnection();
const wallet = useWallet();
const tokenData = {
name: "My Token",
symbol: "MTK",
imageUrl: "https://example.com/image.png",
initialSupply: 1000000000,
decimals: 9,
freezeAuthority: false,
description: "This is my token",
externalUrl: "https://example.com",
}
const result = await createNewToken(wallet, connection, tokenData)
Last updated on