Move utils/quartz-proto to core/quartz-proto Fix Cargo.toml paths Add default working-directory for cosmwasm CI jobs Fix default working-directory Rename .cargo/config -> config.toml Update working-directory Update cosmwasm workflows Update rust.yml paths Add aliases to cargo config.toml Test working-directory Update cosmwasm CI jobs Use --manifest-path Use dtolnay/rust-toolchain action Fix workflow Remove --locked SSH agent SSH agent for schema Remove unused SSH key Exclude cw-tee-mtcs from rust CI jobs Clippy fix cargo fmt Add CONTRIBUTING.md Update README.md
28 lines
894 B
Markdown
28 lines
894 B
Markdown
# 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
|
|
```
|
|
* Set contract env var (using the output of the `deploy.sh` script) -
|
|
|
|
```
|
|
export CONTRACT="wasm13we0myxwzlpx8l5ark8elw5gj5d59dl6cjkzmt80c5q5cv5rt54qhmta7s"
|
|
```
|
|
|
|
For further instructions, refer to the contract specific READMEs
|
|
(e.g. [cofi-karma-game README.md](contracts/cofi-karma-game/README.md)) |