This plugin integrates Grix Protocol functionality into ElizaOS, providing advanced trading capabilities.
# Clone the repository
git clone https://github.com/elizaOS/eliza
# Navigate to the project directory
cd eliza
# Checkout the latest release
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
# Install dependencies
pnpm install --no-frozen-lockfile
- Create a
.env
file in the main Eliza directory with the required API keys:
# Required API Keys
GRIX_API_KEY=your_grix_api_key_here
OPENAI_API_KEY=your_openai_api_key_here # Required for ElizaOS
- Configure your agent's character by adding the Grix plugin to your configuration:
{
"plugins": ["@elizaos-plugins/plugin-grix"]
}
# List all installed plugins (verify Grix installation)
npx elizaos plugins list
# Add Grix plugin if not already installed
npx elizaos plugins add @elizaos-plugins/plugin-grix
# Build the project
pnpm run build
sh scripts/start.sh
If you encounter any issues:
- Ensure all API keys are correctly set in your
.env
file - Verify that all dependencies are installed correctly
- Make sure you're using the correct Node.js version
- Check that the plugin is properly listed in your configuration