The main path is the Bankroll CLI:
bankroll apps create makes an app that
Bankroll hosts, and a push deploys it. See Build with an agent.
This page is for an app you host yourself, on your own origin.The environment
.env.local is gitignored, so the dev configuration — and the dev treasury —
never reach a deployment. Set app secrets only on the server; include only their
public keys in the manifest.
Vercel
vercel env pull it into .env.local — that overwrites your dev
setup, and worse, points local code at production data.
A production treasury
Generate a fresh key for production — never the dev key, which sits in plaintext on your machine — and set it so the secret is never printed or written to disk: generate it and pipe it straight into a sensitive variable. The public address goes to stderr, so you still see which wallet to fund.Set your RPC
SetSOLANA_RPC_URL before the app pays anyone. Unset, the SDK falls back to
Solana’s public endpoint, which rate-limits under concurrency — and a 429 while
broadcasting a payout surfaces as rpc_error with an unknown outcome, the one
failure you cannot safely retry. The fallback warns once per process rather
than failing, so it will not stop a deploy that forgot it. Any provider works.
Open it
Users open your app at:playLink() if you’d rather not build it by
hand. Before sharing it, confirm the manifest is live:
/play
link opens your app for any Bankroll user.