sui-prover
Formal verification of Move smart contracts on Sui
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install sui-prover?โผ
Run `npx skills add asymptotic-code/sui-prover --all -g -y` in your terminal to install the skill globally. The prover binary itself can also be installed via Homebrew with `brew install asymptotic-code/sui-prover/sui-prover`.
What does Sui Prover do?โผ
It formally verifies Move smart contracts on the Sui blockchain, mathematically proving that your code meets its specifications and cannot abort unexpectedly. It uses the Boogie verification engine and the Z3 solver under the hood.
How do I write a specification for my Move contract?โผ
Create a spec function annotated with `#[spec(prove, target = ...)]` in a sibling Move package, using `requires` for preconditions and `ensures` for postconditions. Then run `sui-prover --path ./specs` to verify it.
How do I debug a failed verification?โผ
Add the `focus` attribute to verify only that spec, then run with `--verbose` to see counterexamples and execution traces. 'Code aborts' errors mean missing asserts, while 'Assert does not hold' means the condition logic needs fixing.
Does Sui Prover work with Claude Code?โผ
Yes. The included skill lets your agent write specifications, run the prover, and debug verification failures directly from natural language requests.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core