Skip to main content

Install Wasm bytecode

To use the Stellar CLI to install a compiled smart contract on the ledger, use the stellar contract install command:

stellar contract install \
--source S... \
--network testnet \
--wasm ../relative/path/to/soroban_contract.wasm

Note this command will return the hash ID of the Wasm bytecode, rather than an address for a contract instance.