Thank you for your interest in contributing!
This document describes how to contribute code, documentation, or ideas to the
verisphere/core repository.
curl -L https://foundry.paradigm.xyz | bash foundryup
shell Copy code
forge install OpenZeppelin/openzeppelin-contracts --no-git
shell Copy code
forge build
shell Copy code
forge test -vv
markdown Copy code
- Solidity ^0.8.20 and above
- ASCII-only source
- No inline assembly unless required
- Follow Foundry recommended patterns
- Avoid unnecessary inheritance
- Keep state changes minimal and explicit
mainis always deployable- Create feature branches from
main - PRs must:
- Pass all tests
- Add new tests for new features
- Include documentation changes if applicable
type(scope): short description
markdown Copy code
Examples:
feat(stake-engine): add queue-based position weightingfix(token): correct role check in burnFromdocs: update staking formulas
- All tests pass
- New logic has test coverage
- Includes comments where needed
- Gas usage is reasonable
- No secrets or private keys committed
- Matches claim-spec-evm-abi.md
Never include:
- private keys
- .env files
- broadcast JSON with secrets
See SECURITY.md for vulnerability disclosure practices.
MIT License applies to all contributions.