Capabilities
What sdkt does, command by command.
Every capability below is verified against the current CLI. Two badges tell you what ships where:
- v2.7.0 in the published release and on crates.io.
- main merged after the tag — build from source.
Advanced Fuzzing
Generate diverse test cases with intelligent input mutation and edge-case discovery, driven by declared expectations. Deterministic per seed, minimized on failure.
Artifact Inspection
Offline inspection of compiled WASM: size, SHA-256 hash, custom sections, build provenance, exports, and contract spec. No source needed.
Upgrade Safety
Offline WASM-to-WASM diff with a breaking-change verdict, plus operator-supplied size and growth policies. No Stellar network limit is hardcoded.
Release Assurance
Artifact, security audit, upgrade safety, deployed verification, and contract health aggregated into one read-only verdict. A skipped section is never flattened into PASS.
Static Security Audit
Seven built-in rules over Soroban Rust source: AUTH-001…004, MOVE-001, MATH-001, CEI-001. Extensible via sandboxed WASM or native plugins.
CI/CD Integration
The same release-assurance engine ships as a reusable GitHub Action. It fails the step on FAIL or any non-zero CLI exit.
Artifact inspection
Inspection from the WASM itself.
No source required — the inspector reads the compiled artifact, its spec, and its build metadata.
$ sdkt wasm inspect us_old.wasm
WASM Inspection Report: us_old.wasm
========================================
Size: 198 bytes
SHA-256 Hash: 05befa136e7f0829a5051d97b032f355a5e65976397df90b224d141942dce46c
Version: 1
Custom Sections (1):
- contractspecv0
Contract Metadata (0):
(none)
Exported Functions (0):
Contract Spec Available: Yes
Functions: 2
- fn transfer(1) -> 0
- fn mint(1) -> 0
Custom Types: 1
Events: 1
contractmetav0 — build metadata
Reports decoded build provenance (rssdkver, rsver). When absent, it reports (none) so you can audit toolchain provenance.
contractspecv0 — spec surface
Decodes the contract specification: functions, argument counts, return types, custom types, and events directly from the WASM bytecode.
Audit rules
Seven built-in rules.
Run sdkt audit --list-rules to discover them from the CLI itself.
| Rule | Severity | Detects |
|---|---|---|
| AUTH-001 | critical | Privileged/admin function missing require_auth() |
| AUTH-002 | critical | invoke_contract() without require_auth() |
| AUTH-003 | warning | Unguarded initialize() entrypoint |
| AUTH-004 | critical | Token transfer without require_auth() |
| MOVE-001 | warning | Suspicious move-after-use heuristic |
| MATH-001 | warning | Division before multiplication can truncate precision |
| CEI-001 | warning | External call precedes state write |
Release assurance
One read-only release decision.
Five sections, aggregated deterministically. A skipped section is reported as SKIPPED — never flattened into PASS.
| Section | Verdict | Detail |
|---|---|---|
| Artifact | PASS | 198 B · spec present |
| Security | SKIPPED | no source path supplied |
| Upgrade Safety | SKIPPED | no --previous-wasm |
| Verification | SKIPPED | no --contract |
| Contract Health | SKIPPED | no --contract |
REVIEW, not PASS: four on-chain sections are SKIPPED because --contract was omitted. Pass --contract (read-only) to run deployed verification and health.
Build · deploy · invoke
From source to chain, one flow.
Stages 01–02 run offline. Only deploy and invocation need an RPC endpoint.
-
build
sdkt buildCompile Rust contracts into WASM artifacts
-
deploy
sdkt deploy --wasm <file> --deny-breakingUpload + instantiate; the guard blocks breaking upgrades
-
invoke
sdkt invoke <id> <fn> -a u32:1 -I alicesequence → simulate → sign → submit → poll
-
call
sdkt call <id> <fn> -a u32:1Read-only simulation, no signing, no submission
Run your first check.
Install the binary, inspect a fixture, run an audit — all offline, all under five minutes.