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

@gofundmeme/sdk-frontend

v1.0.4

Published

GFM SDK Frontend

Downloads

4

Readme

Here’s the README for @gofundmeme/sdk-frontend:


🚀 GoFundMeme Frontend SDK (@gofundmeme/sdk-frontend)

Website
X (Twitter)
Telegram
NPM

🎉 What is @gofundmeme/sdk-frontend?

The GoFundMeme Frontend SDK is a lightweight version of the GoFundMeme SDK, optimized for frontend applications. It provides seamless integration with Fair Launches, Bonding Curves, Swaps, and Claims, without requiring backend-heavy dependencies.

✨ Key Features

✔️ Fetch and interact with Fair Launch Pools
✔️ Execute Swaps & Claims from Bonding Curve Pools
✔️ Query Market Data and Pool States
✔️ Optimized for frontend apps (lighter, faster, and easier to integrate)


📌 Why Use @gofundmeme/sdk-frontend Instead of @gofundmeme/sdk?

The full @gofundmeme/sdk includes external dependencies like Orca SDK, Raydium SDK, and Meteora SDK, which can cause compatibility issues in frontend applications.

✅ Use @gofundmeme/sdk-frontend if:

  • You don’t need Harvesting features.
  • You only need Pool interactions, Swaps, and Claims.
  • You want a lighter, more frontend-friendly package.

🚀 Need full functionality, including Harvesting?
Use @gofundmeme/sdk on your backend instead.


📦 Installation

Using npm:

npm install @gofundmeme/sdk-frontend @coral-xyz/anchor @solana/web3.js axios

Using yarn:

yarn add @gofundmeme/sdk-frontend @coral-xyz/anchor @solana/web3.js axios

🔧 Quick Start

1️⃣ Initialize the SDK

import { Program } from "@coral-xyz/anchor";
import { initGoFundMemeSDK } from "@gofundmeme/sdk-frontend";

(async () => {
  const gfmSDK = await initGoFundMemeSDK(
    (idl, programId) => new Program(idl, programId, anchorProvider)
  );
})();

2️⃣ Fetch a Fair Launch Pool

const mintAddress = "YOUR_TOKEN_MINT";
const pool = await gfmSDK.pools.fairLaunch.fetchFairLaunchPool({
  mintB: mintAddress,
});
console.log("Fair Launch Pool:", pool);

3️⃣ Swap Tokens on a Bonding Curve

import { Keypair } from "@solana/web3.js";
import Decimal from "decimal.js";

const payer = Keypair.generate(); // Replace with your actual signer

const { quote, transaction } = await gfmSDK.pools.bondingCurve.swap.buy({
  amountInUI: new Decimal(1.2), // Buy with 1.2 SOL
  funder: payer.publicKey,
  slippage: 1, // 1% slippage tolerance
});

// Sign and send transaction
transaction.sign(payer);
console.log("Swap Transaction:", transaction);

4️⃣ Subscribe to Pool State Updates

const listener = gfmSDK.api.subscription.poolState.all("mainnet");
listener.subscription.subscribe((event) => {
  console.log("Pool State Update:", event);
});

📚 Full Documentation

For a complete guide, visit the official GoFundMeme Developer Docs:
📖 GoFundMeme SDK Documentation


💬 Join the Community

💙 Follow us on X (Twitter): @GoFundMemes
💬 Join the Telegram Chat: t.me/gofundmeme

🚀 Happy building with GoFundMeme!