@goat-sdk/plugin-coingecko
Advanced tools
@@ -136,4 +136,4 @@ import * as _goat_sdk_core from '@goat-sdk/core'; | ||
| vsCurrency: string; | ||
| sparkline: boolean; | ||
| ids: string[]; | ||
| sparkline: boolean; | ||
| category: string; | ||
@@ -140,0 +140,0 @@ order: "market_cap_desc" | "volume_desc" | "volume_asc" | "market_cap_asc"; |
@@ -136,4 +136,4 @@ import * as _goat_sdk_core from '@goat-sdk/core'; | ||
| vsCurrency: string; | ||
| sparkline: boolean; | ||
| ids: string[]; | ||
| sparkline: boolean; | ||
| category: string; | ||
@@ -140,0 +140,0 @@ order: "market_cap_desc" | "volume_desc" | "volume_asc" | "market_cap_asc"; |
+3
-3
| { | ||
| "name": "@goat-sdk/plugin-coingecko", | ||
| "version": "0.2.8", | ||
| "version": "0.2.9", | ||
| "files": [ | ||
@@ -15,6 +15,6 @@ "dist/**/*", | ||
| "zod": "3.23.8", | ||
| "@goat-sdk/core": "0.4.7" | ||
| "@goat-sdk/core": "0.4.8" | ||
| }, | ||
| "peerDependencies": { | ||
| "@goat-sdk/core": "0.4.7" | ||
| "@goat-sdk/core": "0.4.8" | ||
| }, | ||
@@ -21,0 +21,0 @@ "homepage": "https://ohmygoat.dev", |
+61
-18
@@ -1,36 +0,79 @@ | ||
| # Goat Coingecko Plugin 🐐 - TypeScript | ||
| <div align="center"> | ||
| <a href="https://github.com/goat-sdk/goat"> | ||
| Coingecko plugin for Goat. Allows you to create tools for interacting with the CoinGecko API. | ||
| <img src="https://github.com/user-attachments/assets/5fc7f121-259c-492c-8bca-f15fe7eb830c" alt="GOAT" width="100px" height="auto" style="object-fit: contain;"> | ||
| </a> | ||
| </div> | ||
| # CoinGecko GOAT Plugin | ||
| Get tools to access market data, prices, and onchain analytics through the [CoinGecko API](https://www.coingecko.com/api). Use both the public and pro APIs to fetch detailed information about coins, tokens, pools, and market trends. | ||
| ## Requirements | ||
| - You will need a CoinGecko API key to use this plugin. You can get it from [here](https://www.coingecko.com/api/pricing). | ||
| ## Installation | ||
| ``` | ||
| ```bash | ||
| npm install @goat-sdk/plugin-coingecko | ||
| yarn add @goat-sdk/plugin-coingecko | ||
| pnpm add @goat-sdk/plugin-coingecko | ||
| ``` | ||
| ## Setup | ||
| ## Setup for the Public API | ||
| ```typescript | ||
| import { coingecko } from "@goat-sdk/plugin-coingecko"; | ||
| const plugin = coingecko({ | ||
| apiKey: process.env.COINGECKO_API_KEY | ||
| const tools = await getOnChainTools({ | ||
| plugins: [ | ||
| coingecko({ | ||
| apiKey: process.env.COINGECKO_API_KEY | ||
| }) | ||
| ] | ||
| }); | ||
| ``` | ||
| ## Available Actions | ||
| ## Setup for the Pro API | ||
| ### Get Trending Coins | ||
| Fetches the current trending cryptocurrencies. | ||
| ```typescript | ||
| import { coingecko } from "@goat-sdk/plugin-coingecko"; | ||
| ### Get Coin Price | ||
| Fetches the current price and optional market data for a specific cryptocurrency. | ||
| const tools = await getOnChainTools({ | ||
| plugins: [ | ||
| coingecko({ | ||
| apiKey: process.env.COINGECKO_API_KEY, | ||
| isPro: true | ||
| }) | ||
| ] | ||
| }); | ||
| ``` | ||
| ## Goat | ||
| ## Tools | ||
| <div align="center"> | ||
| Go out and eat some grass. | ||
| ### Public API Tools | ||
| 1. Get Trending Coins | ||
| 2. Get Coin Prices | ||
| 3. Search Coins | ||
| 4. Get Coin Price by Contract Address | ||
| 5. Get Coin Data | ||
| 6. Get Historical Data | ||
| 7. Get OHLC Data | ||
| 8. Get Trending Coin Categories | ||
| 9. Get Coin Categories | ||
| [Docs](https://ohmygoat.dev) | [Examples](https://github.com/goat-sdk/goat/tree/main/typescript/examples) | [Discord](https://discord.gg/goat-sdk)</div> | ||
| ### Pro API Tools | ||
| 1. Get Pool Data by Pool Address | ||
| 2. Get Trending Pools | ||
| 3. Get Trending Pools by Network | ||
| 4. Get Top Gainers/Losers | ||
| 5. Get Token Data by Token Address | ||
| 6. Get Tokens Info by Pool Address | ||
| ## Goat 🐐 | ||
| Goat 🐐 (Great Onchain Agent Toolkit) is an open-source library enabling AI agents to interact with blockchain protocols and smart contracts via their own wallets. | ||
| <footer> | ||
| <br/> | ||
| <br/> | ||
| <div> | ||
| <a href="https://github.com/goat-sdk/goat"> | ||
| <img src="https://github.com/user-attachments/assets/4821833e-52e5-4126-a2a1-59e9fa9bebd7" alt="GOAT" width="100%" height="auto" style="object-fit: contain; max-width: 800px;"> | ||
| </a> | ||
| </div> | ||
| </footer> |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
66937
1.61%80
116.22%3
50%+ Added
- Removed
Updated