Skip to content

Commit eebe01b

Browse files
authored
Merge pull request elizaOS#2162 from chainbase-labs/plugin-chainbase
feat: chainbase plugin for eliza
2 parents f37c889 + aa379da commit eebe01b

19 files changed

+45174
-1
lines changed

.env.example

+3-1
Original file line numberDiff line numberDiff line change
@@ -660,11 +660,13 @@ AKASH_MANIFEST_MODE=auto
660660
AKASH_MANIFEST_PATH=
661661
# Values: "strict" | "lenient" | "none" - Default: "strict"
662662
AKASH_MANIFEST_VALIDATION_LEVEL=strict
663-
664663
# Quai Network Ecosystem
665664
QUAI_PRIVATE_KEY=
666665
QUAI_RPC_URL=https://rpc.quai.network
667666

667+
# Chainbase
668+
CHAINBASE_API_KEY=demo # demo is a free tier key
669+
668670
# 0x
669671
ZERO_EX_API_KEY=
670672
ALCHEMY_HTTP_TRANSPORT_URL=

agent/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114
"@elizaos/plugin-router-nitro": "workspace:*",
115115
"@elizaos/plugin-nvidia-nim": "workspace:*",
116116
"@elizaos/plugin-0x": "workspace:*",
117+
"@elizaos/plugin-chainbase": "workspace:*",
117118
"@elizaos/plugin-dkg": "workspace:*",
118119
"@elizaos/plugin-email": "workspace:*",
119120
"readline": "1.3.0",

agent/src/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ import { devinPlugin } from "@elizaos/plugin-devin";
117117

118118
import { zksyncEraPlugin } from "@elizaos/plugin-zksync-era";
119119

120+
import { chainbasePlugin } from "@elizaos/plugin-chainbase";
121+
120122
import { nvidiaNimPlugin } from "@elizaos/plugin-nvidia-nim";
121123

122124
import { zxPlugin } from "@elizaos/plugin-0x";
@@ -1090,6 +1092,7 @@ export async function createAgent(
10901092
getSecret(character, "AKASH_WALLET_ADDRESS")
10911093
? akashPlugin
10921094
: null,
1095+
getSecret(character, "CHAINBASE_API_KEY") ? chainbasePlugin : null,
10931096
getSecret(character, "QUAI_PRIVATE_KEY") ? quaiPlugin : null,
10941097
getSecret(character, "RESERVOIR_API_KEY")
10951098
? createNFTCollectionsPlugin()

docs/package-lock.json

+21,509
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)