Skip to content

Commit

Permalink
Update naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambero committed Feb 10, 2025
1 parent b585af4 commit f110e36
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 100 deletions.
94 changes: 0 additions & 94 deletions packages/plugin-d.a.t.a/src/data_service.ts

This file was deleted.

10 changes: 5 additions & 5 deletions packages/plugin-d.a.t.a/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import { tokenInfoProvider } from "./providers/token/tokenInfo";
import { twitterBalanceAction } from "./actions/carv/twitterBalance";
import { twitterBalanceProvider } from "./providers/carv/twitterBalance";

export const onchainDataPlugin: Plugin = {
name: "onchain data plugin",
description: "Enables onchain data fetching",
actions: [],
providers: [ethereumDataProvider],
export const dataPlugin: Plugin = {
name: "CARV D.A.T.A plugin",
description: "Enables onchain data / offchain data fetching",
actions: [fetchTransactionAction, fetchTokenInfoAction, twitterBalanceAction],
providers: [ethereumDataProvider, tokenInfoProvider, twitterBalanceProvider],
evaluators: [],
services: [],
clients: [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class TwitterBalanceProvider {
private readonly AUTH_TOKEN: string;

constructor(runtime: IAgentRuntime) {
this.API_URL = runtime.getSetting("DATA_API_KEY");
this.API_URL = runtime.getSetting("DATA_API_URL");
this.AUTH_TOKEN = runtime.getSetting("DATA_AUTH_TOKEN");
}

Expand Down

0 comments on commit f110e36

Please sign in to comment.