diff --git a/.env.example b/.env.example index 622bf27af1..fefab24223 100644 --- a/.env.example +++ b/.env.example @@ -157,7 +157,7 @@ COINBASE_GENERATED_WALLET_HEX_SEED= # TEE Configuration DSTACK_SIMULATOR_ENDPOINT= -WALLET_SECRET_SALT=secret_salt +WALLET_SECRET_SALT= # ONLY DEFINE IF YOU WANT TO USE TEE Plugin, otherwise it will throw errors # Galadriel Configuration GALADRIEL_API_KEY=gal-* # Get from https://dashboard.galadriel.com/ diff --git a/agent/src/index.ts b/agent/src/index.ts index ab96f408dc..803acfd895 100644 --- a/agent/src/index.ts +++ b/agent/src/index.ts @@ -35,7 +35,7 @@ import { imageGenerationPlugin } from "@ai16z/plugin-image-generation"; import { evmPlugin } from "@ai16z/plugin-evm"; import { createNodePlugin } from "@ai16z/plugin-node"; import { solanaPlugin } from "@ai16z/plugin-solana"; - +import { teePlugin } from "@ai16z/plugin-tee"; import Database from "better-sqlite3"; import fs from "fs"; import path from "path"; @@ -392,6 +392,7 @@ export function createAgent( getSecret(character, "COINBASE_PRIVATE_KEY") ? [coinbaseMassPaymentsPlugin, tradePlugin] : []), + getSecret(character, "WALLET_SECRET_SALT") ? teePlugin : null, ].filter(Boolean), providers: [], actions: [],