@trepa/sdk package. You create a small project, store both secrets in .env, then run a script built around trepa.bots.run. You start with a tiny fixed forecast and each pool’s minimum stake, then swap in a live BTC spot feed from Binance for the forecast.
You need Node.js 22.12 or newer installed locally before you begin.
1. Create the project
.env next to package.json:
2. Add the bot script
Createbot.ts. The smallest loop fixes a forecast and uses the pool’s minimum stake:
bots.run waits for an open pool, runs your function, signs with the wallet key, submits, then waits again.