sui-prover

Automate formal verification of Move smart contracts on Sui with Boogie and Z3.

42|10|Updated Apr 16, 2025
One-click install
npx skills add https://github.com/asymptotic-code/sui-prover --skill sui-prover
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sui-prover
Source: https://github.com/asymptotic-code/sui-prover/tree/main/.claude/skills/sui-prover
Command: npx skills add https://github.com/asymptotic-code/sui-prover --skill sui-prover

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sui-prover, z3, boogie, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

The Sui Prover Skill streamlines the verification process of Move smart contracts on the Sui blockchain, reducing the complexity and time associated with formal verification.

Core Features & Use Cases

  • Contract Verification: Automatically verify Move smart contracts with high precision.
  • Specification Writing: Assist in writing specifications for contract verification.
  • Debugging: Offer tools to debug verification failures efficiently.
  • Use Case: Imagine you need to ensure the integrity of a liquidity pool contract on the Sui blockchain. This Skill allows you to programmatically verify the contract's functionality and behavior, saving time and resources compared to manual verification.

Quick Start

Verify the smart contract 'my_contract.move' using the Sui Prover Skill.

Frequently Asked Questions about sui-prover

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I formally verify Move smart contracts on the Sui blockchain?

Formal verification of Move smart contracts on the Sui blockchain is automated using the Boogie verification engine and the Z3 SMT solver to precisely validate contract behavior and functionality.

What is formal verification for Sui Move contracts and when do I need it?

Formal verification for Sui Move contracts is a mathematical process that proves contract logic correctness. It is needed when ensuring the integrity of critical DeFi components like liquidity pools without relying solely on manual auditing.

Do I need a Move.toml setup to use the Sui Prover toolchain?

Yes, a Move.toml setup is required for contract configuration to use the Sui Prover toolchain. You also need the underlying Boogie verification engine and Z3 SMT solver dependencies installed.

How do I debug verification failures when checking Move contracts?

Debugging verification failures for Move contracts involves using specialized tools to analyze the precise outputs from the Boogie and Z3 solvers, allowing you to efficiently trace and resolve specification or contract logic errors.

Can I get assistance with writing specifications for Move contract verification?

Yes, the Sui Prover Skill assists in writing specifications for Move contract verification, helping you define the required constraints and properties that the Boogie engine and Z3 solver will check.

What are the limitations of using Boogie and Z3 for Sui smart contract verification?

Using Boogie and Z3 for Sui smart contract verification requires complex environment setup and specification writing. Verification may fail or time out if contract logic is too complex or if specifications are incomplete or incorrect.