docs

Plug-and-Play Documentation

docs.sh — Copy-paste snippets
[ _ ][ 🗗 ][ X ]

Your GitHub repository is your most important DevRel blog. Tested configs, copy-paste ready.

--tool@Sui Prover & Builder

Sui Prover reduces smart contract bugs significantly via formal proofs. Before: 40% bug rate in manual audits. After: Mathematically eliminate 5 OWASP vulnerabilities prior to deployment.

install
sui move build --debug
move
module proj::secure_vault {
  use sui::object::UID;
  struct Vault has key { id: UID, value: u64 }
  public fun withdraw(v: &mut Vault, amount: u64) {
    assert!(v.value >= amount, 0);
    v.value = v.value - amount;
  }
}