Init gfmSDK
import { Connection } from "@solana/web3.js";
import { initGoFundMemeSDK } from "@gofundmeme/sdk";
// Replace with your preferred RPC endpoint
const connection = new Connection("https://api.mainnet-beta.solana.com");
(async () => {
// This is all you need to start interacting with the GFM protocol
const gfmSDK = await initGoFundMemeSDK({ connection });
})();Last updated