Skip to content

Commit

Permalink
feat: add Fuse plugin integration to agent
Browse files Browse the repository at this point in the history
  • Loading branch information
bertux committed Jan 15, 2025
1 parent 0806566 commit c77042b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"@elizaos/plugin-quai": "workspace:*",
"@elizaos/plugin-b2": "workspace:*",
"@elizaos/plugin-nft-collections": "workspace:*",
"@elizaos/plugin-fuse": "workspace:*",
"readline": "1.3.0",
"ws": "8.18.0",
"yargs": "17.7.2"
Expand All @@ -110,4 +111,4 @@
"ts-node": "10.9.2",
"tsup": "8.3.5"
}
}
}
3 changes: 2 additions & 1 deletion agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ import { cronosZkEVMPlugin } from "@elizaos/plugin-cronoszkevm";
import { evmPlugin } from "@elizaos/plugin-evm";
import { flowPlugin } from "@elizaos/plugin-flow";
import { fuelPlugin } from "@elizaos/plugin-fuel";
import { fusePlugin } from "@elizaos/plugin-fuse";
import { genLayerPlugin } from "@elizaos/plugin-genlayer";
import { giphyPlugin } from "@elizaos/plugin-giphy";
import { gitcoinPassportPlugin } from "@elizaos/plugin-gitcoin-passport";
Expand Down Expand Up @@ -109,7 +110,6 @@ import path from "path";
import { fileURLToPath } from "url";
import yargs from "yargs";


const __filename = fileURLToPath(import.meta.url); // get the resolved path to the file
const __dirname = path.dirname(__filename); // get the name of the directory

Expand Down Expand Up @@ -930,6 +930,7 @@ export async function createAgent(
getSecret(character, "RESERVOIR_API_KEY")
? createNFTCollectionsPlugin()
: null,
getSecret(character, "FUSE_PRIVATE_KEY") ? fusePlugin : null,
].filter(Boolean),
providers: [],
actions: [],
Expand Down

0 comments on commit c77042b

Please sign in to comment.