This commit is contained in:
Arihant Bansal
2024-12-22 01:30:29 +05:30
parent ed689f5efd
commit 6d4f468fb3
43 changed files with 407 additions and 213 deletions

View File

@@ -5,7 +5,7 @@ import {
PublicKey,
TransactionInstruction,
} from "@solana/web3.js";
import { SolanaAgent } from "../index";
import { SolanaAgentKit } from "../index";
import {
buildAndSignTx,
calculateComputeUnitPrice,
@@ -56,7 +56,7 @@ export const getAirdropCostEstimate = (
* @param shouldLog Whether to log progress to stdout. Defaults to false.
*/
export async function sendCompressedAirdrop(
agent: SolanaAgent,
agent: SolanaAgentKit,
mintAddress: PublicKey,
amount: number,
decimals: number,
@@ -119,7 +119,7 @@ export async function sendCompressedAirdrop(
}
async function processAll(
agent: SolanaAgent,
agent: SolanaAgentKit,
amount: number,
mint: PublicKey,
recipients: PublicKey[],