@takeoffdev/rpc
v0.1.0
Published
TypeScript RPC client, instruction builders, and helpers for the Takeoff Solana launchpad program.
Downloads
61
Maintainers
Readme
@takeoffdev/rpc
TypeScript RPC client for the Takeoff Solana launchpad program.
This package includes:
TakeoffSDKfor building and sending program transactions- instruction builders from
@takeoffdev/rpc/ix-builder - exported IDL-backed types and helpers
Install
npm install @takeoffdev/rpcUsage
import { Connection } from "@solana/web3.js";
import { TakeoffSDK } from "@takeoffdev/rpc";
const connection = new Connection("https://api.mainnet-beta.solana.com");
const sdk = new TakeoffSDK(wallet, connection);
await sdk.init();Notes
- This package ships both ESM and CommonJS entrypoints.
- The default program and config addresses are bundled, but you can override them in
TakeoffSDKConfig.
