Marketplace
Integrations
Eliza OS
Example Usage

Example Usage

This example will show you how to use the Allora Network plugin for Eliza OS by interacting with .

Prerequisites

Download and Install Eliza OS

Download the Eliza OS (opens in a new tab) and cd into the directory.

git clone https://github.com/elizaOS/eliza.git
cd eliza

Copy the .env.example file

cp .env.example .env

Change Allora API Key and Chain ID

In your .env file, change the ALLORA_API_KEY and CHAIN_ID to your Allora API Key and Chain ID (Chain ID is the Allora Network chain you want to interact with, e.g. testnet or mainnet).

You can get your Allora API Key from the Allora Developer Dashboard (opens in a new tab).

# Allora API Key
ALLORA_API_KEY=
 
# Chain ID
CHAIN_ID=

Run the Eliza OS

run scripts/start.sh

Converse with Eliza

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"