Skip to content

Commit

Permalink
Update index.ts (#51)
Browse files Browse the repository at this point in the history
Added whatIsNexrProvider for Prosper to be able to talk about iti future capabilities.
  • Loading branch information
mihai169 authored Feb 27, 2025
1 parent 5396fd2 commit 13a4bb4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions clients/client-coinbase/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export class CoinbaseClient implements Client {
this.runtime.providers.push(baseTokenAddressProvider);
this.runtime.providers.push(solTokenAddressProvider);
this.runtime.providers.push(stakingLiquidityPoolingProvider);
this.runtime.providers.push(whatIsNextProvider);
this.runtime.providers.push(currentPriceProvider);
this.server = express();
this.port = Number(runtime.getSetting("COINBASE_WEBHOOK_PORT")) || 3001;
Expand Down Expand Up @@ -885,6 +886,23 @@ const stakingLiquidityPoolingProvider = {
},
};


const whatIsNextProvider: Provider = {
get: async (runtime: IAgentRuntime, _message: Memory) => {
return `Here's what's next:
1. New Trading Capabilities:
- Margin trading
- Short selling
2. Relationship based trading:
- Getting advice from community members and other traders
- Interacting with other trading agents and swarms of agents.
Stay tuned for more updates and features!`;
},
};


const currentPriceProvider = {
get: async (_runtime: IAgentRuntime, _message: Memory) => {
// const priceOnBase = await fetchTokenPrice(
Expand Down

0 comments on commit 13a4bb4

Please sign in to comment.