Skip to content

Adam-McBride/Migratefun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MigrateFun SDK

TypeScript SDK for the Migrate.fun token migration platform on Solana.

Built for interacting with the hustle-migration program — creating migrations, managing snapshots, claiming tokens, and monitoring migration status.

Install

npm install migratefun-sdk

Usage

import { MigrateFunClient, MigrationConfig } from 'migratefun-sdk';
import { Connection, PublicKey } from '@solana/web3.js';

const connection = new Connection('https://api.mainnet-beta.solana.com');
const client = new MigrateFunClient(connection);

// Get migration details
const migration = await client.getMigration(new PublicKey('...'));
console.log(migration.status, migration.progress);

// Check claimable tokens
const claimable = await client.getClaimable(walletPubkey, migrationPubkey);
console.log(`Claimable: ${claimable.amount} tokens`);

Features

  • Query migration status, progress, and configuration
  • Check claimable token amounts for any wallet
  • Monitor migration snapshots and participant counts
  • Read program accounts (vaults, claims, LP positions)
  • Full TypeScript types for all on-chain data structures

Program

Migration program: hustle-migration on Solana mainnet.

Audited by Halborn.

Links

License

MIT

About

TypeScript SDK for Migrate.fun token migration platform on Solana.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors