name: genvm-lint description: Validate GenLayer intelligent contracts with the GenVM linter. allowed-tools:
- Bash
- Read
GenVM Lint
Validate intelligent contracts for safety, correctness, and SDK compliance.
Setup
Requires genvm-linter (included in requirements.txt for boilerplate projects):
pip install genvm-linter
Workflow
Always lint before testing. Run genvm-lint check after writing or modifying a contract. Fix all errors before running tests.
genvm-lint check contracts/my_contract.py
runs both lint (AST safety) and validate (SDK semantics) in one pass.