diff --git a/pages/_meta.json b/pages/_meta.json index 7e5d018..6fece29 100644 --- a/pages/_meta.json +++ b/pages/_meta.json @@ -10,5 +10,9 @@ "community": { "title": "Community", "type": "page" + }, + "marketplace": { + "title": "Marketplace", + "type": "page" } -} \ No newline at end of file +} diff --git a/pages/marketplace/_meta.json b/pages/marketplace/_meta.json new file mode 100644 index 0000000..598944e --- /dev/null +++ b/pages/marketplace/_meta.json @@ -0,0 +1,4 @@ +{ + "explore": "Explore Allora's Marketplace", + "integrations": "Integrations" +} \ No newline at end of file diff --git a/pages/marketplace/explore.mdx b/pages/marketplace/explore.mdx new file mode 100644 index 0000000..79e74ad --- /dev/null +++ b/pages/marketplace/explore.mdx @@ -0,0 +1,16 @@ +import { Cards, Card, Callout } from 'nextra/components' + +# Explore Allora's Marketplace + +Allora's marketplace is a platform for developers to build and publish integrations for the Allora network. + +## Integrations + + + + + + +## Prerequisites + +- Grab an [Allora API Key](https://developer.upshot.xyz) before you start. This is required to use the plugin. diff --git a/pages/marketplace/integrations/_meta.json b/pages/marketplace/integrations/_meta.json new file mode 100644 index 0000000..c676db1 --- /dev/null +++ b/pages/marketplace/integrations/_meta.json @@ -0,0 +1,4 @@ +{ + "eliza-os": "Eliza OS", + "goat-sdk": "GOAT SDK" +} diff --git a/pages/marketplace/integrations/eliza-os.mdx b/pages/marketplace/integrations/eliza-os.mdx new file mode 100644 index 0000000..6f97f7a --- /dev/null +++ b/pages/marketplace/integrations/eliza-os.mdx @@ -0,0 +1,97 @@ +# Eliza Allora Plugin ✨ + +The Allora Network plugin for Eliza enables seamless integration with Allora's powerful AI inference platform. This integration allows Eliza agents to access real-time predictions and insights powered by Allora's sophisticated machine learning models. + +## Features + +- Leverage **Allora's self-improving AI inferences** within Eliza agents. +- Fetch real-time predictions for various topics like ETH price predictions, market trends, and more. +- **Simple integration** with no complex infrastructure required. + +--- + +## Installation + +First, install the plugin via npm: + +```bash +npm install @eliza-sdk/plugin-allora +``` + +--- + +## Environment Variables + +To use the plugin, you need an Allora API key. Add the following variable to your `.env` file: + +- `ALLORA_API_KEY`: Your Allora API key. To generate an API key, visit the [Upshot Developer Portal](https://allora.network). + +--- + +## Setup + +Import and configure the Allora plugin in your Eliza agent project: + +```typescript +import { allora } from '@eliza-sdk/plugin-allora' + +const plugin = allora({ + apiKey: process.env.ALLORA_API_KEY, +}) +``` + +--- + +## Available Actions + +### Fetch Price Prediction + +Get a price prediction for a specified asset and timeframe. + +```typescript +const prediction = await plugin.fetchPricePrediction({ + asset: 'ETH', + timeframe: '5min', +}) +console.log(prediction) +// Example Output: +// { topic: 'ETH 5min Prediction', id: 13, value: 3393.364326646801085508 } +``` + +--- + +## Example Agent Interaction + +```plaintext +User: "What is the predicted ETH price in 5 minutes?" +Agent: "I'll get the inference now..." +Agent: "Inference provided by Allora Network on topic ETH 5min Prediction (ID: 13): 3393.364326646801085508" +``` + +--- + +## Testing the Plugin + +### Prerequisites + +- Ensure the `ALLORA_API_KEY` environment variable is correctly set in your `.env` file. +- Install all dependencies and ensure Eliza is properly configured. + +### Steps + +1. Set up your environment: + ```bash + export ALLORA_API_KEY=your_api_key_here + ``` + +2. Initialize the plugin in your Eliza agent. + +3. Run a test interaction: + - Ask your agent for a prediction (e.g., "What is the predicted ETH price in 5 minutes?"). + - Validate the response contains data from Allora. + +--- + +## Resources + +- [Eliza SDK](https://github.com/eliza-sdk) - Explore Eliza's capabilities. diff --git a/pages/marketplace/integrations/goat-sdk.mdx b/pages/marketplace/integrations/goat-sdk.mdx new file mode 100644 index 0000000..dad6253 --- /dev/null +++ b/pages/marketplace/integrations/goat-sdk.mdx @@ -0,0 +1,60 @@ +# Goat Allora Plugin 🐐 (TypeScript) + +The Allora Network plugin for Goat SDK empowers your blockchain agents with advanced AI-driven predictive capabilities. This integration bridges Goat's powerful on-chain interaction capabilities with Allora's sophisticated prediction models. + +## Features + +- **Smart Market Predictions**: Access real-time price forecasts and market trend analysis +- **Cross-chain Intelligence**: Leverage data from multiple blockchain networks and off-chain sources +- **Automated Decision Support**: Make data-driven decisions using self-improving prediction models +- **Scalable Infrastructure**: Handle high-frequency predictions without managing complex backend systems + +As a Goat developer, this plugin enables you to: +1. Integrate AI predictions directly into your on-chain automation +2. Access market forecasts for informed trading strategies +3. Build smarter DeFi agents with predictive capabilities +4. Combine blockchain interactions with AI-powered insights + +## Installation + +``` +npm install @goat-sdk/plugin-allora +``` + +## Environment Variables + +- `ALLORA_API_KEY`: Your Allora API key. This is required to use the plugin. + - [Get your API key](https://developer.upshot.xyz) + +## Setup + +```typescript +import { allora } from '@goat-sdk/plugin-allora' + +const plugin = allora({ + apiKey: process.env.ALLORA_API_KEY, +}) +``` + +## Available Actions + +### Fetch Price Prediction + +Fetches a price prediction for the given asset and timeframe. + +```typescript +const prediction = await plugin.fetchPricePrediction({ + asset: 'ETH', + timeframe: '1h' +}) +``` + +## Goat + +Go out and eat some grass. + +[Docs](https://ohmygoat.dev) | [Examples](https://github.com/goat-sdk/goat/tree/main/typescript/examples) | [Discord](https://discord.gg/goat-sdk) + +## Goat 🐐 + +Goat 🐐 (Great On-chain Agent Toolkit) is an open-source library enabling AI agents to interact with blockchain protocols and smart contracts via their own wallets. \ No newline at end of file diff --git a/public/.DS_Store b/public/.DS_Store index e984a1d..e3f6364 100644 Binary files a/public/.DS_Store and b/public/.DS_Store differ