Smart contracts, DeFi protocols, and dApp frontends — AI-accelerated
Web3 & Blockchain Framework encodes senior Solidity engineer and security auditor patterns into prompt sequences that generate production-quality smart contracts and dApp frontends. Security is built into every prompt — not bolted on after. Every contract output includes a security checklist and gas optimization analysis.
Full Access Unlocked
All 42 prompts · All 5 modules
"The security audit prompts caught a reentrancy vulnerability in my contract that I had missed. This ..."
Alex D. · Solidity Developer
Need expert implementation?
Hire an OrchestratorConnect with a certified Prompt.Doctor Orchestrator to deploy this framework for you.
No coding required. You will use ChatGPT or Claude as your AI tool. Follow these steps in order — do not skip ahead.
Purchase & download the framework
Click the buy button on this page. After checkout, go to the and hit Download .zip. Unzip it — you'll get a .md file (the full framework) and a .pdf (easy to read reference). Keep both open.
Open your project — new or existing
This dashboard is designed to integrate into any existing project or be built as a standalone app. If you already have a site in Airo (or Cursor, Bolt, etc.), open that project. If you're starting fresh, create a new project. The Orchestrator Prompt handles both cases — it scans what's already there and adds only what's missing.
Paste the Orchestrator Prompt into your builder's chat
Open the on this page. Copy the Orchestrator Prompt and paste it into your AI builder's chat. It will scaffold the full admin system — secure login, email marketing module, booking engine, and CMS — on top of your existing codebase. This takes 2–5 minutes.
Add your API keys as secrets
Critical — Novice UsersIn your builder, go to Settings → Secrets and add the keys your app needs. For this framework: STRIPE_SECRET_KEY (for booking payments — get it from your Stripe dashboard), ANTHROPIC_API_KEY (for AI-assisted content — get it from console.anthropic.com), and DATABASE_URL (your MySQL connection string). No key is needed for the admin login, CMS, or email modules — those run on your existing infrastructure.
Don't have a MySQL server?
You can purchase a shared hosting plan with cPanel and MySQL at host.esgwon.dev. Once your account is set up, follow the step-by-step guide to create your database and connect it to your AI website builder.
How to set up cPanel MySQL & connect to your AI website →Need help with Stripe?
Get your STRIPE_SECRET_KEY and STRIPE_PUBLISHABLE_KEY from your Stripe dashboard. The guide covers test keys, webhook setup, and going live.
Need help with Anthropic?
Get your ANTHROPIC_API_KEY from console.anthropic.com. The guide covers model selection, cost management, and troubleshooting.
Prompting Airo after setup — always name the file
When asking Airo to add tables, columns, or features to the admin dashboard, always include src/server/lib/admin-db.ts in your prompt. Without it, Airo may target the wrong database. Example: "Add a bookings table in the admin database (src/server/lib/admin-db.ts) — do not touch any other database connection in this project."
Run the framework prompts inside your live app
Your app is now running in the builder's preview panel. Open the on this page, copy each prompt one at a time, and paste it into your builder's chat. Replace every [BRACKET] with your real data before sending. Work through the stages in order — each stage output feeds the next.
Test end-to-end, then publish or hand off to your client
Walk through the admin as a real user: log in, create a booking, send a test email campaign, update a CMS image, and run the Safe-to-Publish gate. Once everything passes, click Publish in your builder. Because this is a white-label dashboard, your client accesses it at /admin on their own domain — no Prompt.Doctor branding, no third-party login required.
5 modules · 42 prompts · 6 workflow stages
Smart Contract Architecture
Generate Solidity contracts following OpenZeppelin patterns: ERC-20, ERC-721, ERC-1155, upgradeable proxies, access control, and pausable patterns.
9 promptsSecurity Audit System
Pre-deployment security checklist prompts: reentrancy analysis, integer overflow checks, access control verification, and front-running analysis.
8 promptsTest Suite Generator
Hardhat test suite generation: unit tests for all functions, edge cases, access control tests, and mainnet fork tests for DeFi integrations.
9 promptsdApp Frontend System
React + viem/ethers.js integration: wallet connection (RainbowKit), contract interaction hooks, transaction state management, and error handling.
8 promptsGas Optimization Framework
Storage packing analysis, loop optimization, calldata vs memory decisions, and event vs storage trade-off prompts.
8 promptsGenerate a production-ready ERC-20 token contract in Solidity for [TOKEN NAME] ([SYMBOL]). Requirements: [LIST REQUIREMENTS]. Use OpenZeppelin v5 base contracts. Include: ERC20Burnable, ERC20Permit (gasless approvals), Ownable2Step (safer ownership transfer), Pausable (emergency stop), Minting with supply cap of [MAX_SUPPLY], and a security checklist comment block at the top listing all access-controlled functions and their intended callers. Solidity version: ^0.8.24.
Perform a security audit of the following Solidity contract: [PASTE CONTRACT]. Check for: (1) Reentrancy vulnerabilities (CEI pattern compliance), (2) Integer overflow/underflow (Solidity 0.8+ auto-checks + manual review), (3) Access control issues (who can call what), (4) Front-running vulnerabilities, (5) Denial of service vectors, (6) Unchecked external calls, (7) Timestamp dependence, (8) Gas limit issues. For each finding: severity (Critical/High/Medium/Low), description, and recommended fix.
You are an expert full-stack developer. Build a complete Web3 dApp frontend and protocol dashboard using React 19, TypeScript, Tailwind CSS, shadcn/ui, Express, and MySQL with Drizzle ORM inside the Airo AI website builder. PROTOCOL CONTEXT: Protocol Name: [PROTOCOL NAME] Network: [Ethereum / Polygon / Base / Arbitrum / Solana] Contract Type: [ERC-20 token / NFT collection / DeFi protocol / DAO / marketplace] Contract Address: [0x... — or "TBD — will deploy after audit"] Core User Action: [DESCRIBE THE PRIMARY THING USERS DO — e.g., stake tokens, mint NFTs, swap assets] BUILD THE FOLLOWING PAGES AND FEATURES: **1. LANDING PAGE (/)** - Hero: protocol name, one-line value prop, primary CTA (Launch App / Connect Wallet) - Key metrics bar: TVL, total users, transactions, token price (fetched from on-chain or API) - How it works: 3-step visual explainer - Security section: audit badge, auditor name, report link - Tokenomics section (if applicable): supply breakdown, vesting schedule - Community links: Discord, Twitter/X, GitHub, Docs **2. APP / DAPP INTERFACE (/app)** - Wallet connection (RainbowKit — supports MetaMask, Coinbase Wallet, WalletConnect) - Connected wallet display: address (truncated), network badge, ETH/token balance - Primary action interface (customize for contract type): - Token: stake/unstake form, rewards display, APY - NFT: mint form with quantity selector, price display, supply progress bar - DeFi: swap interface, liquidity pool positions, yield display - DAO: proposal list, vote interface, delegation - Transaction status modal: pending → confirmed → success with Etherscan link - Transaction history table (last 20 txns from connected wallet) **3. ANALYTICS DASHBOARD (/analytics)** - Protocol TVL chart (7d / 30d / all time) - User growth chart - Transaction volume chart - Top wallets leaderboard - Contract event log (decoded, human-readable) **4. GOVERNANCE (/governance)** (if DAO) - Active proposals with vote counts and deadline - Vote interface (for/against/abstain) - Proposal creation form (title, description, on-chain action) - Delegation interface **5. ADMIN / PROTOCOL DASHBOARD (/admin)** - Contract parameter controls (owner-only functions) - Emergency pause button (if contract is Pausable) - Whitelist management - Revenue/fee collection tracker **6. DOCUMENTATION (/docs)** - Smart contract function reference (auto-generated from ABI) - Integration guide for developers - Security audit report embed DATABASE SCHEMA (for off-chain indexing): - wallets: id, address, ens, firstSeen, lastSeen, totalTxns, totalVolume - transactions: id, hash, walletAddress, type, amount, tokenAddress, status, blockNumber, timestamp - proposals: id, onChainId, title, description, proposer, forVotes, againstVotes, status, deadline - analytics_snapshots: id, metric, value, timestamp Use wagmi v2 + viem for contract interactions. Dark theme with the protocol's brand colors. Production-ready, fully typed TypeScript.
system
9 prompts
workflow
8 prompts
prompts
9 prompts
architecture
8 prompts
templates
8 prompts
"The security audit prompts caught a reentrancy vulnerability in my contract that I had missed. This framework pays for itself on the first contract."
Alex D.
Solidity Developer
All 42 prompts across 5 modules are unlocked for your account.
Lifetime access