Installation
Package Manager
Install the Tachyon SDK using your preferred package manager:
npm install @rathfi/tachyon
yarn add @rathfi/tachyon
pnpm add @rathfi/tachyon
Requirements
- Node.js 16 or higher
- TypeScript 4.5 or higher (if using TypeScript)
Getting Your API Key
To use the Tachyon SDK, you’ll need an API key:
- Apply for the API KEY
- Sign up or log in to your Tachyon account
Basic Setup
Create a new Tachyon instance with your API key:
import { Tachyon } from '@rathfi/tachyon';
const tachyon = new Tachyon({
apiKey: process.env.TACHYON_API_KEY!, // Store your API key securely
});
Last updated on