This section is for anyone who wants to automate a Trepa account. You can follow Get started without a deep programming background. Each page assumes only what you already read on the pages before it.Documentation Index
Fetch the complete documentation index at: https://docs.trepa.io/llms.txt
Use this file to discover all available pages before exploring further.
Get started
- API keys. Create a key in the Trepa app so your program can act on your behalf.
- Wallet private key. Export the wallet secret Trepa uses so your program can sign predictions safely.
- Quickstart. Install Trepa’s (
@trepa/sdk) and run your prediction strategy.
Build with the SDK
- Writing bots. How
trepa.bots.runbehaves each round, optional hooks, and clean shutdown. - Swarms. Run several Trepa accounts from one script (ladders, hedges, or side-by-side strategies).
- SDK reference. Every
trepa.*helper when you need something beyond the bot loop.
Advanced
- Direct REST access. Same Trepa backend without the npm package (other languages or custom HTTP).
- Rate limits. What happens when traffic is high and how to back off.