Skip to content

Commit

Permalink
Merge pull request elizaOS#2106 from elizaOS/revert-#1808
Browse files Browse the repository at this point in the history
chore: revert elizaOS#1808 + add missing import for coin gecko plugin
  • Loading branch information
tcm390 authored Jan 10, 2025
2 parents 0c80e53 + b9c5535 commit ba78b7d
Show file tree
Hide file tree
Showing 17 changed files with 1,149 additions and 1,823 deletions.
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,10 @@ TOGETHER_API_KEY= # Together API Key
#### Crypto Plugin Configurations ####
######################################

# COIN DATA SOURCES
COINMARKETCAP_API_KEY=
COINGECKO_API_KEY=

# EVM
EVM_PRIVATE_KEY=
EVM_PROVIDER_URL=
Expand Down
2 changes: 1 addition & 1 deletion agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
"@elizaos/plugin-abstract": "workspace:*",
"@elizaos/plugin-aptos": "workspace:*",
"@elizaos/plugin-coinmarketcap": "workspace:*",
"@elizaos/plugin-coingecko": "workspace:*",
"@elizaos/plugin-binance": "workspace:*",
"@elizaos/plugin-avail": "workspace:*",
"@elizaos/plugin-bootstrap": "workspace:*",
"@elizaos/plugin-cosmos": "workspace:*",
"@elizaos/plugin-intiface": "workspace:*",
"@elizaos/plugin-coinbase": "workspace:*",
"@elizaos/plugin-coinprice": "workspace:*",
"@elizaos/plugin-conflux": "workspace:*",
"@elizaos/plugin-evm": "workspace:*",
"@elizaos/plugin-echochambers": "workspace:*",
Expand Down
9 changes: 4 additions & 5 deletions agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import {
webhookPlugin,
} from "@elizaos/plugin-coinbase";
import { coinmarketcapPlugin } from "@elizaos/plugin-coinmarketcap";
import { coinPricePlugin } from "@elizaos/plugin-coinprice";
import { coingeckoPlugin } from "@elizaos/plugin-coingecko";
import { confluxPlugin } from "@elizaos/plugin-conflux";
import { createCosmosPlugin } from "@elizaos/plugin-cosmos";
import { cronosZkEVMPlugin } from "@elizaos/plugin-cronoszkevm";
Expand Down Expand Up @@ -608,7 +608,6 @@ export async function createAgent(
? confluxPlugin
: null,
nodePlugin,
coinPricePlugin,
getSecret(character, "TAVILY_API_KEY") ? webSearchPlugin : null,
getSecret(character, "SOLANA_PUBLIC_KEY") ||
(getSecret(character, "WALLET_PUBLIC_KEY") &&
Expand Down Expand Up @@ -668,9 +667,9 @@ export async function createAgent(
: []),
...(teeMode !== TEEMode.OFF && walletSecretSalt ? [teePlugin] : []),
getSecret(character, "SGX") ? sgxPlugin : null,
(getSecret(character, "ENABLE_TEE_LOG") &&
((teeMode !== TEEMode.OFF && walletSecretSalt) ||
getSecret(character, "SGX")))
getSecret(character, "ENABLE_TEE_LOG") &&
((teeMode !== TEEMode.OFF && walletSecretSalt) ||
getSecret(character, "SGX"))
? teeLogPlugin
: null,
getSecret(character, "COINBASE_API_KEY") &&
Expand Down
134 changes: 0 additions & 134 deletions packages/plugin-coinprice/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions packages/plugin-coinprice/package.json

This file was deleted.

46 changes: 0 additions & 46 deletions packages/plugin-coinprice/src/actions/getPrice/examples.ts

This file was deleted.

117 changes: 0 additions & 117 deletions packages/plugin-coinprice/src/actions/getPrice/index.ts

This file was deleted.

Loading

0 comments on commit ba78b7d

Please sign in to comment.