Version 1.4 โ Complete workflow for Predictoor & Trader bots Setup โ Deploy โ Run โ Monitor โ Claim
๐ Demo: https://run-predictoor-bots.vercel.app
Predictoor Bot Runner UI is a community-built, open-source web interface that makes it easy for anyone โ even non-technical users โ to run Predictoor and Trader bots on the Ocean Protocol network.
Instead of following long Markdown tutorials, you can now:
- Configure your bot visually ๐งฉ
- Generate valid
ppss.yamlanddocker-compose.ymlfiles ๐งพ - Copy-paste the exact CLI/Docker commands ๐
- Deploy, monitor, and claim rewards โ all with clear step-by-step guidance.
Built with Next.js 15, TypeScript, TailwindCSS, and shadcn/ui. Everything runs 100% client-side, and no private key is ever handled by the app.
| Category | Description |
|---|---|
| ๐งฉ Configuration | Create & validate ppss.yaml for Predictoor & Trader bots (Zod validation + presets) |
| ๐ Docker Support | Generate docker-compose.yml with correct volume mapping |
| ๐ง Network Info | Testnet/Mainnet toggle with RPC & contract data |
| ๐ง Deploy Manager | Full guide for deploying the Pred Submitter Manager contract |
| ๐ฐ Claim Rewards | Step-by-step payout instructions (mainnet only) |
| ๐งฎ Simulation | Why & how to run pdr sim and visualize results |
| ๐ Monitoring | Links & docs for pdr sim_plots and dashboards |
| ๐ฟ ROSE Guide | Everything you need for Sapphire gas & faucets |
| ๐ Data Farming (DF) | How to join the weekly reward program |
| โ๏ธ Advanced Mode | Extended YAML editor for aimodel_ss, sim_ss, trader_ss, etc. |
- Next.js 15 (App Router)
- TypeScript
- Tailwind CSS + shadcn/ui
- Zod (validation)
- YAML (serialization)
- Lucide-react (icons)
npm install
npm run devThen open http://localhost:3000.
- Go to Predictoor โ Create
- Choose asset, timeframe, stake, and network
- Validate โ Download
ppss.yaml - (Optional) Download
docker-compose.yml
- Page: Predictoor โ Deploy
- Run the shown command:
pdr deploy_pred_submitter_mgr my_ppss.yaml sapphire-testnet- Copy the contract address and paste it in the field โ it will be inserted into your YAML automatically.
CLI:
pdr predictoor my_ppss.yaml sapphire-testnetOr Docker:
docker run --rm -it \
-e PRIVATE_KEY=$PRIVATE_KEY \
-v $(pwd):/work \
ghcr.io/oceanprotocol/pdr-backend:latest \
pdr predictoor /work/ppss.yaml sapphire-testnet- Go to Claim page โ follow payout steps.
- Requires your bot to have earned and submitted valid predictions on mainnet.
| Step | Description |
|---|---|
| 1๏ธโฃ Setup | Install pdr-backend, get tokens (ROSE & OCEAN) |
| 2๏ธโฃ Simulate | Run pdr sim my_ppss.yaml and pdr sim_plots |
| 3๏ธโฃ Deploy | pdr deploy_pred_submitter_mgr then update YAML |
| 4๏ธโฃ Run | pdr predictoor ... or Docker equivalent |
| 5๏ธโฃ Monitor | Dashboard / subgraph / logs |
| 6๏ธโฃ Claim | Retrieve rewards from smart contracts |
src/
app/
about/
claim/
df/
monitor/
predictoor/
create/
deploy/
run/
sim/
trader/
create/
run/
workflow/
components/
ui/
CopyButton.tsx
FormCard.tsx
YamlPreview.tsx
Toaster.tsx
ValidationAlert.tsx
lib/
validators.ts
presets.ts
dockerCompose.ts
yaml.ts
@/paths map to/src(seetsconfig.json).- Tailwind scans
./src/**/*.{ts,tsx}. - No backend or serverless function โ all static, client-side only.
ppss.yamlanddocker-compose.ymlgeneration handled fully in-browser.
- This app never handles private keys.
- Always export them manually in your console before running commands:
export PRIVATE_KEY=0xYOUR_KEY- Do not store your key in YAML or Compose files.
Contributions, feedback, and pull requests are welcome! If you'd like to help extend the app (monitoring, dashboard integration, multi-bot managerโฆ), open an issue or PR.
MIT License