Skip to content

Commit fffd181

Browse files
committedJan 12, 2025
add nft plugin
1 parent 457b378 commit fffd181

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎agent/src/index.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ import net from "net";
102102
import path from "path";
103103
import { fileURLToPath } from "url";
104104
import yargs from "yargs";
105-
import {dominosPlugin} from "@elizaos/plugin-dominos";
105+
import { createNFTCollectionsPlugin } from "@ai16z/plugin-nft-collections";
106106

107107
const __filename = fileURLToPath(import.meta.url); // get the resolved path to the file
108108
const __dirname = path.dirname(__filename); // get the name of the directory
@@ -849,6 +849,9 @@ export async function createAgent(
849849
getSecret(character, "QUAI_PRIVATE_KEY")
850850
? quaiPlugin
851851
: null,
852+
getSecret(character, "RESERVOIR_API_KEY")
853+
? createNFTCollectionsPlugin()
854+
: null,
852855
].filter(Boolean),
853856
providers: [],
854857
actions: [],

0 commit comments

Comments
 (0)