fix: update to the new actions architecture and add the wallet address action

This commit is contained in:
michaelessiet
2025-01-01 05:11:03 +01:00
parent 9b934d636f
commit 802f42ca6f
9 changed files with 334 additions and 3592 deletions

View File

@@ -0,0 +1,10 @@
import { SolanaAgentKit } from "..";
/**
* Get the agents wallet address
* @param agent - SolanaAgentKit instance
* @returns string
*/
export function get_wallet_address(agent: SolanaAgentKit) {
return agent.wallet_address.toBase58();
}

View File

@@ -1,3 +1,4 @@
export * from "./get_wallet_address";
export * from "./request_faucet_funds";
export * from "./deploy_token";
export * from "./deploy_collection";