Kari Move Commands
The kari move command provides tools for Move smart contract development.
Usage
kari move <command> [options]
Commands:
build Build the package
coverage Inspect test coverage for this package. A previous test run with the `--coverage` flag must have
previously been run
disassemble Disassemble Move bytecode
docgen Generate documentation
errmap Generate error map
info Print address information
migrate Migrate Move module
new Create a new Move package
test Run Move unit tests
publish Publish Move module
call Call a function in a Move module
sandbox Execute sandbox commandsDetailed Command Reference
New Package
Create a new Move package:
kari move new <package_name> [path]Build
Compiles your Move package:
kari move build [--options]Test
Run unit tests:
kari move test [--coverage]Publish
Deploy your Move module:
kari move publish [--network <network>]Examples
Creating a New Project
kari move new hello_move
cd hello_move
kari move buildTesting with Coverage
kari move test --coverage
kari move coverageNotes
- Always ensure your Move.toml is properly configured
- Use
kari move infoto verify addresses before deployment - Run tests before publishing to production