Home / Cursor rules / Solidity React Blockchain Apps Cursorrules Prompt

Solidity React Blockchain Apps Cursorrules Prompt

Cursor rules for Solidity development with React Blockchain apps integration.

Cursor rules (.mdc)Public domain (CC0)
–unranked

Install

mkdir -p .cursor/rules && curl -sL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/b044f956f021b6e8877f16781bcfc466a6a120e9/rules/solidity-react-blockchain-apps-cursorrules-prompt-.mdc -o .cursor/rules/solidity-react-blockchain-apps-cursorrules-prompt.mdc

Downloads the file at commit b044f956f021 into .cursor/rules/.

To remove it later:

rm .cursor/rules/solidity-react-blockchain-apps-cursorrules-prompt.mdc

Context cost: ≈211 tokens when used.

Rules file

---
description: "Cursor rules for Solidity development with React Blockchain apps integration."
globs: **/*
alwaysApply: false
---
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.

Security

Scanned Nov 4, 2026 at commit b044f956f021, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan