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

@@ -1,4 +1,4 @@
import { SolanaAgent } from "../index";
import { SolanaAgentKit } from "../index";
import { PublicKey, SystemProgram, Transaction } from "@solana/web3.js";
import { LAMPORTS_PER_SOL } from "@solana/web3.js";
import {
@@ -16,7 +16,7 @@ import {
* @returns Transaction signature
*/
export async function transfer(
agent: SolanaAgent,
agent: SolanaAgentKit,
to: PublicKey,
amount: number,
mint?: PublicKey,