Thank you for your interest in contributing! We welcome community contributions.
Prerequisites: Foundry, Node.js v18+, pnpm
# Fork and clone the repository
git clone https://github.com/YOUR_USERNAME/contracts.git
cd contracts
# Install dependencies
pnpm install
cd evm && forge install
# Create a feature branch
git checkout -b feature/your-feature-name# Build contracts
cd evm && forge build
# Run tests
forge test
# Run with coverage
forge coverage
# Format and lint
pnpm run lint:fmt
pnpm run lint:sol- Solidity Version:
0.8.25(locked for deployed contracts) - Imports: Use named imports (
import {Contract} from "path") - Formatting: Use
foundry fmt - Documentation: Complete NatSpec for all public functions
- Testing: Follow Branching Tree Technique (BTT) - see
.cursor/rules/solidity-testing.mdc
For detailed guidelines, see .cursor/rules/solidity.mdc.
- Ensure all tests pass (
forge test) - Add tests for new functionality
- Update documentation if needed
- Create a clear PR description
DO NOT create public issues for security vulnerabilities. Report security issues via reown.com/security.
- Discord: #dev channel
- Documentation: docs.walletconnect.com