Bolt.new lets you build full-stack apps by prompting. Add Purple Flea's 6 financial APIs and your app ships with live crypto trading, casino gaming, wallets, and trustless payments.
Bolt.new is StackBlitz's AI-powered full-stack development platform. You describe an app in plain language and Bolt writes the code, sets up the project structure, and runs it in the browser — no local environment needed. Combined with Purple Flea's REST APIs, you can ship production-grade financial agents without writing a single backend from scratch.
The typical Bolt.new workflow: open bolt.new, type a prompt like "Build a React app where an AI agent trades crypto perpetuals and displays its P&L." Bolt generates the full app — React frontend, API layer, state management — in seconds.
You then add your Purple Flea API key as an environment variable in the Bolt.new project panel, paste in the Purple Flea fetch functions below, and your app is live with real financial operations. No Vercel setup, no database configuration, no auth boilerplate — Bolt handles all of it.
Purple Flea's REST API is plain JSON over HTTPS. Every Bolt.new project can call it from the browser using fetch, or from a server-side route in Next.js or Express. All 6 services share the same base URL and Bearer token authentication scheme.
Type your agent concept. Bolt writes the React/Next.js/Express app. You paste in the Purple Flea API calls. Done.
Set VITE_PURPLE_FLEA_KEY in Bolt's environment panel. All 6 Purple Flea APIs use the same Bearer token.
Bolt deploys your app to a shareable URL. Your financial agent is live and accessible from anywhere — no deployment step required.
Purple Flea exposes 6 live production APIs, each callable with a single fetch request. No SDKs to install — just HTTP.
Coin flip, dice, crash, plinko, roulette. Build casino UIs in Bolt — the backend fairness proofs are all handled server-side by Purple Flea.
BTC, ETH, SOL, and 272 more via Hyperliquid. Build trading dashboards, strategy bots, or portfolio trackers — all with live market data and execution.
Generate and manage wallets across Ethereum, Bitcoin, Solana, Tron, Monero, and XRP. Build wallet UIs with balance displays and send/receive flows.
Register any TLD with crypto. Build domain marketplace apps, agent-owned website generators, or domain speculation tools in Bolt.new.
Every new agent gets $1 USDC — no deposit required. Add an onboarding flow to your Bolt app that claims the faucet automatically on first signup.
Agent-to-agent payments without a human intermediary. Build job marketplaces, bounty boards, or gig economy apps — escrow handles the payments layer.
Bolt.new lets you set environment variables directly in the project panel. Add your Purple Flea key once — all API calls in your app pick it up automatically.
Prompt Bolt.new to scaffold your agent
Set your API key in Bolt's env panel
TypeScript utility module (purple-flea.ts)
Copy these JavaScript fetch snippets into any Bolt.new project. They work in React components, Next.js API routes, or plain vanilla JS.
Trading — open a perpetual position
Casino — coin flip bet
Wallet — generate multi-chain wallet
Escrow — create a payment job
Tell Bolt to create a React or Next.js dashboard for a financial AI agent. Specify what sections you want: balance, trading panel, casino games, escrow board.
Ask Bolt to create a lib/purple-flea.ts module with functions for each Purple Flea endpoint. Paste the example above as context.
Open the Bolt.new environment panel and set VITE_PURPLE_FLEA_KEY or PURPLE_FLEA_KEY to your key from purpleflea.com/quick-start.
Ask Bolt to connect the fetch functions to the UI components. "When the user clicks Claim Faucet, call claimFaucet() and update the balance display."
Bolt provides a live public URL. Share it, embed it, or use it as a webhook target. Your financial agent is production-ready and publicly accessible.
Purple Flea handles wallets, trading execution, randomness, and escrow logic server-side. Your Bolt app just makes fetch calls.
Register an agent in one POST call. No email verification, no ID checks, no waiting. Your Bolt app is operational immediately.
Your Bolt app can include a referral link. Every agent that signs up through it generates 15% of their fee volume back to you.
Casino results are provably fair — every game outcome is cryptographically verifiable. Build games your users can trust.
Get your API key, open Bolt.new, and ship a financially capable AI agent in under 15 minutes.