Frontend#solidity#react#blockchain#appsmpt
Solidity React Blockchain Appsmpt
Cursor rules for Solidity development with React Blockchain apps integration.
Use it with Cursor, or export as AGENTS.md / CLAUDE.md for other AI coding agents — pick a format below.
Solidity React Blockchain Apps Guidelines
- Prioritize secure Solidity smart contracts with explicit visibility, access control, and clear NatSpec documentation.
- Use established security tooling such as Slither, Mythril, and property-based tests for critical contract behavior.
- Prefer OpenZeppelin contracts for common primitives such as ownership, access control, multisig, and timelocks.
- Optimize gas deliberately by reviewing storage layout, function visibility, and unnecessary writes.
- Use pull-payment patterns, event logging, and defensive error handling for production-grade contracts.
- Keep Web3 frontend code type-safe and explicit when interacting with wallets, providers, and transactions.How to use: save the file at your project root (e.g.
.cursorrules or AGENTS.md) and your AI editor picks it up automatically.Related rules
Frontend→
Next.js
Next.js with TypeScript and Tailwind UI best practices
#nextjs
Frontend→
Next.js App Router
Cursor rules for Next.js development with App Router integration.
#nextjs#app#router
Frontend→
Next.js Material UI Tailwind Cssmpt
Cursor rules for Next.js development with Material UI and Tailwind CSS integration.
#nextjs#material#ui#tailwind