cycles-quartz/bisenzone-cw-mvp/README.md

28 lines
894 B
Markdown
Raw Normal View History

2023-11-29 16:34:24 +00:00
# Bisenzone CosmWasm MVP
CosmWasm smart contracts used in the Bisenzone MVP.
## Testing instructions
* Deploy the smart contract on a local wasmd instance
(see [Obligation Clearing Mvp: Local setup](https://github.com/informalsystems/obligation-clearing-mvp#local-setup))
* Should normally be as simple as running the following scripts ->
```bash
# terminal-1
./scripts/keygen.sh
./scripts/init-node.sh
./scripts/run-node.sh
```
```bash
# terminal-2
./scripts/build-contract.sh
./scripts/deploy-contract.sh artifacts/cofi_karma_game.wasm
2023-11-29 16:34:24 +00:00
```
* Set contract env var (using the output of the `deploy.sh` script) -
2023-11-14 15:30:48 +00:00
```
2023-11-29 16:34:24 +00:00
export CONTRACT="wasm13we0myxwzlpx8l5ark8elw5gj5d59dl6cjkzmt80c5q5cv5rt54qhmta7s"
2023-11-14 15:30:48 +00:00
```
2023-11-29 17:22:23 +00:00
For further instructions, refer to the contract specific READMEs
(e.g. [cofi-karma-game README.md](contracts/cofi-karma-game/README.md))