⚡SDK Quick Start
Get up and running with the Yoink SDK in just a few minutes.
Prerequisites
Before installing the Yoink SDK, make sure you have:
Node.js (version 16 or higher)
npm or yarn package manager
Basic knowledge of JavaScript/TypeScript
Solana wallet for signing transactions
Installation
Using npm
npm install yoink-sdkUsing yarn
yarn add yoink-sdkUsing pnpm
pnpm add yoink-sdkRequired Dependencies
The SDK requires these Solana dependencies (automatically installed):
Quick Setup
1. Import the SDK
2. Initialize Connection and Provider
3. Create SDK Instance
Environment Variables
Create a .env file with your RPC endpoint:
Verification
Test your installation with a simple script:
Next Steps
Troubleshooting
TypeError: Cannot read properties of undefined
Make sure you're using Node.js 16+ which has built-in support for BigInt.
Module not found errors
Install all required dependencies:
TypeScript compilation errors
Update your tsconfig.json:
Need help? Visit our GitHub repository or check the README.
Last updated
