Sample contracts for both testing and reference on-chain contracts.
Those contracts are made for example purposes only. For more realistic example contracts, see cosmwasm-examples.
Examples
Title | Description |
---|---|
IFTTT Simple | Check if boolean is true, then increment an integer |
DCA JunoSwap | Configure pools you want to dollar cost average swap |
You can build and deploy by the CI for every release tag. In case you need to build them manually for some reason, use the following commands:
docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/rust-optimizer:0.12.8 ./contracts/*