remove unnecessary imports, rename to send_compressed_airdrop

This commit is contained in:
Swenschaeferjohann
2024-12-20 06:17:42 +00:00
parent c13ab12aee
commit 2bac6399fc
5 changed files with 9 additions and 783 deletions

View File

@@ -14,4 +14,4 @@ export * from "./get_tps";
export * from "./get_token_data";
export * from "./stake_with_jup";
export * from "./fetch_price";
export * from "./airdrop_compressed_tokens";
export * from "./send_compressed_airdrop";

View File

@@ -6,7 +6,7 @@ import {
PublicKey,
TransactionInstruction,
} from "@solana/web3.js";
import { SolanaAgentKit } from "../../agent/index.js";
import { SolanaAgentKit } from "../agent/index.js";
import {
buildAndSignTx,
calculateComputeUnitPrice,
@@ -81,6 +81,7 @@ export async function sendCompressedAirdrop(
shouldLog
);
}
async function processAll(
agent: SolanaAgentKit,
amount: number,