{"filename":"solidity-react-blockchain-apps-cursorrules-prompt-.mdc","content":"---\ndescription: \"Cursor rules for Solidity development with React Blockchain apps integration.\"\nglobs: **/*\nalwaysApply: false\n---\nSolidity React Blockchain Apps Guidelines\n\n- Prioritize secure Solidity smart contracts with explicit visibility, access control, and clear NatSpec documentation.\n- Use established security tooling such as Slither, Mythril, and property-based tests for critical contract behavior.\n- Prefer OpenZeppelin contracts for common primitives such as ownership, access control, multisig, and timelocks.\n- Optimize gas deliberately by reviewing storage layout, function visibility, and unnecessary writes.\n- Use pull-payment patterns, event logging, and defensive error handling for production-grade contracts.\n- Keep Web3 frontend code type-safe and explicit when interacting with wallets, providers, and transactions.\n"}