This project consists of three main components: ElizaOS agent, backend API, and frontend application. Follow the instructions below to install and run each component.
- Node.js (version 22 or higher)
- pnpm package manager
- PHP 8.1 or higher
- Composer
- MySQL or SQLite database
Navigate to the eliza-r3boot
folder and follow these steps:
- Install dependencies:
cd eliza-r3boot
pnpm install
- Configure environment:
cp .env.example .env
- Edit the
.env
file with the following keys and configuration:
GROK_API_KEY=
# R3boot Configuration
MANTLE_RPC_URL=
MANTLE_EXPLORER_API_URL=https://explorer.sepolia.mantle.xyz/api
TOKEN_ADDRESSES=["0xdEAddEaDdeadDEadDEADDEAddEADDEAddead1111","0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9","0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE"]
RPC_PROVIDER_URL=https://testnet-rpc.etherspot.io/v2/5003?api-key=etherspot_3ZJdtNqp5Q1NjqTLC9FdG5v8
PRIMESDK_API_KEY=
WALLET_PRIVATE_KEY=
WALLET_PUBLIC_KEY=
- Build and deploy the agent:
pnpm build
pnpm start --characters="r3boot.character.json"
Navigate to the backend
folder and follow these steps:
- Install PHP dependencies:
cd backend
composer install
- Create environment file:
cp .env.example .env
-
Configure your database settings in the
.env
file -
Generate application key:
php artisan key:generate
- Run database migrations:
php artisan migrate
- Start the Laravel development server:
php artisan serve
The backend API will be available at http://localhost:8000
Navigate to the frontend
folder and follow these steps:
- Install dependencies:
cd frontend
npm install
- Start the development server:
npm run dev
The frontend application will be available at http://localhost:5173
- Start the backend server:
php artisan serve
(from backend folder) - Start the frontend development server:
npm run dev
(from frontend folder) - Start the ElizaOS agent:
pnpm start --characters="r3boot.character.json"
(from eliza-r3boot folder)
All three components should now be running and communicating with each other.