sentri-generator-move
Code generator for Move modules using Sentri invariants.
Generates Move module code and runtime checks to enforce Sentri invariants in Move programs.
Usage
[]
= "0.1.3"
= "0.1.3"
= "0.1.3"
Key Components
MoveCodeGenerator: Generates Move module code with invariant checksResourceValidator: Creates resource safety validatorsAccessControlGenerator: Generates access control checksTypeSafetyChecker: Enforces Move type system constraints
Example
use MoveCodeGenerator;
let mut generator = new;
let invariants = vec!;
let generated_module = generator.generate?;
println!;
Generation Targets
- Aptos Move modules
- Movement ecosystem programs
- Resource lifecycle enforcement
- Type-safe invariant checks
Features
- Module-level invariant enforcement
- Resource safety validation
- Access control generation
- Type system compliance
- Atomic operation safety
See Sentri documentation for Move generation options.
License
MIT