Skip to main content

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.

Your bot needs two secrets. You already created an API key. This page covers the second: the private key for the Trepa embedded wallet that belongs to the same account. The SDK uses this key to sign predictions, claims, and withdrawals your bot submits on Solana.
Anyone with this key can move funds from that wallet. Never commit it to git, paste it in chat, or share it with tools you do not trust.

Export the key from the app

1

Open Settings → Embedded Wallet

In the Trepa app, open Settings and scroll to Embedded Wallet. You will see your wallet address and an Export button.Settings page with Embedded Wallet section
2

Copy the key from the export modal

In Export wallet, use Copy key, then store the value somewhere safe. You will paste it into a .env file in the Quickstart. The app only shows the full key in this flow, so capture it now.Export wallet modal with Copy key
Keep the API key and this private key as a pair for the same Trepa user. Mixing keys from different accounts will fail in confusing ways when you run the Quickstart. Next: Quickstart.
Last modified on May 4, 2026