tari publish
Builds and publishes a Tari template to a network.
tari publish [PATH] [OPTIONS]Alias: tari deploy
Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
[PATH] | Path to the template crate directory (default: current directory) |
Options
Section titled “Options”| Option | Description |
|---|---|
-a, --account <ADDRESS|NAME> | Account for publishing fees |
-c, --custom-network <NAME> | Custom network name |
-y, --yes | Auto-confirm publishing |
-f, --max-fee <AMOUNT> | Maximum fee in microtari |
--binary <PATH> | Path to pre-compiled WASM binary |
Examples
Section titled “Examples”# Publish template in current directorytari publish
# Publish template at a specific pathtari publish ./templates/my-token
# Publish a pre-compiled binarytari publish --binary target/wasm32-unknown-unknown/release/my_token.wasm
# Auto-confirm with custom accounttari publish -y -a my-account