Deploy a Smart Contract
Clone cw-template
cargo generate --git https://github.com/bitsongofficial/cw-template.git --name my-first-contract🔧 Destination: /home/angelo/Progetti/my-first-contract ...
🔧 Generating template ...
? 🤷 Would you like to generate the minimal template?
The full template includes some example logic in case you're new to CosmWasm smart contracts.
The minimal template assumes you already know how to write your own logic, and doesn't get in your way. ›
❯ false
truecd my-first-contractCompile the wasm contract
# Set 'stable' as the default release channel:
rustup default stable
cargo wasmOptimized Compilation
Store to BitSong Cosmwasm Testnet
Instantiate the contract
Query the contract
Get contract’s count
Execute the Contract
Increment contract’s count
Reset contract’s count
Last updated