You can use Clarinet to publish your contracts to the public testnet or mainnet for testing or production.
Topics covered in this guide:
Generate Deployment plan
The first step is to generate a deployment plan with the command below (note: replace
--testnet to deploy to the latter). Please specify a cost strategy to incentivize miners to carry your transaction (either
--manual-cost). The final command might look like:
clarinet deployment generate --mainnet --medium-cost
After carefully reviewing (and updating if needed) the generated deployment plan, you can use the command below to handle the deployments of your contracts.
clarinet deployment apply --mainnet