From 18af606d5afecee016ee7c9182300b87b351aa9b Mon Sep 17 00:00:00 2001 From: MarcoMandar Date: Sun, 10 Nov 2024 02:58:02 +0200 Subject: [PATCH] update Signed-off-by: MarcoMandar --- packages/plugin-solana/src/evaluators/trust.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin-solana/src/evaluators/trust.ts b/packages/plugin-solana/src/evaluators/trust.ts index fcf68a3ef52..9fcb29fab70 100644 --- a/packages/plugin-solana/src/evaluators/trust.ts +++ b/packages/plugin-solana/src/evaluators/trust.ts @@ -150,7 +150,7 @@ async function handler(runtime: IAgentRuntime, message: Memory) { // create the wallet provider and token provider const walletProvider = new WalletProvider( new Connection("https://api.mainnet-beta.solana.com"), - new PublicKey("Main Wallet") // TODO: get the wallet public key from the runtime + new PublicKey(runtime.getSetting("WALLET_PUBLIC_KEY")) ); const tokenProvider = new TokenProvider( rec.contractAddress,