npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

gorbchain-spl-token-sdk

v1.0.5

Published

Simplified SDK for creating, minting, and transferring SPL/Token-2022 tokens on GorbChain

Readme

@freekill411/gorbchain-spl-token-sdk

🚀 Simplified SDK for creating, minting, and transferring SPL/Token-2022 tokens on GorbChain

npm version License: MIT

🌟 Features

  • Easy Token Creation: Create Token-2022 tokens with metadata
  • Simple Minting: Mint tokens to any address with automatic account creation
  • GorbChain Optimized: Built specifically for GorbChain's custom program IDs
  • TypeScript Support: Full type definitions included
  • Error Handling: Comprehensive error messages and retry logic
  • Connection Management: Auto-configured for GorbChain RPC

📦 Installation

npm install @freekill411/gorbchain-spl-token-sdk

🚀 Quick Start

Basic Usage

import { GorbChainSDK } from '@freekill411/gorbchain-spl-token-sdk';
import { Keypair } from '@solana/web3.js';

// Initialize the SDK
const sdk = new GorbChainSDK();

// Create your authority keypair (save this securely!)
const authority = Keypair.generate();

// Create a new token
const token = await sdk.tokenMinter.createToken2022({
  name: "My Token",
  symbol: "MTK",
  decimals: 9,
  supply: 1000000, // 1 million tokens
  authority: authority
});

console.log(`Token created: ${token.mintAddress}`);
console.log(`Transaction: ${token.signature}`);

Advanced Usage

import { 
  GorbChainConnection, 
  TokenMinter 
} from '@freekill411/gorbchain-spl-token-sdk';

// Custom connection
const connection = new GorbChainConnection({
  commitment: 'finalized',
  disableRetryOnRateLimit: false
});

// Create token minter
const minter = new TokenMinter(connection);

// Create token with custom settings
const token = await minter.createToken2022({
  name: "GorbCoin",
  symbol: "GORB", 
  decimals: 6,
  supply: 0, // Create mint without initial supply
  authority: authority,
  freezeAuthority: null // No freeze authority
});

// Later, mint tokens to specific addresses
await minter.mintTo({
  mintAddress: token.mintAddress,
  recipientAddress: "Gmhpm85fByXJ3UQH7LqJkibW2bGLz5Diatute2YNM7ny",
  amount: 1000,
  authority: authority
});

🎯 Examples

Create a Simple Token

const { GorbChainSDK } = require('@freekill411/gorbchain-spl-token-sdk');
const { Keypair } = require('@solana/web3.js');

async function createMyToken() {
  const sdk = new GorbChainSDK();
  const authority = Keypair.generate();
  
  const token = await sdk.tokenMinter.createToken2022({
    name: "DemoToken",
    symbol: "DEMO",
    decimals: 9,
    supply: 100000,
    authority
  });
  
  console.log(`✅ Token: ${token.mintAddress}`);
  console.log(`🔗 TX: ${token.signature}`);
}

🌐 GorbChain Program IDs

This SDK automatically uses GorbChain's custom program IDs:

  • Token-2022: 2dwpmEaGB8euNCirbwWdumWUZFH3V91mbPjoFbWT24An
  • ATA Program: BWBbPGpceCtFCUuMFjYUYpHEnagcT58bNi9c44VJ4rkW
  • SPL Token: 8drSBwhdQQTQs68pAddfWyXPv8CA4JhFAY2QRAxwLmSS

📄 License

MIT License - see LICENSE file for details.


Built with ❤️ for the GorbChain ecosystem