cycles-quartz/bisenzone-cw-mvp
2024-01-10 07:26:41 -08:00
..
.cargo Initial Commit 2023-11-14 07:30:48 -08:00
.github/workflows Fix CI 2023-12-05 09:08:45 -08:00
contracts/cw-tee-mtcs Impl get_epoch_state query 2024-01-10 07:26:41 -08:00
scripts Setup cargo workspace to support multiple contracts 2023-11-29 09:13:29 -08:00
.gitignore Key manager bootstrap 2023-12-22 05:10:51 -08:00
README.md Add contract-specific README 2023-11-29 09:22:23 -08: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)
    • Should normally be as simple as running the following scripts ->
    # terminal-1
    ./scripts/keygen.sh
    ./scripts/init-node.sh
    ./scripts/run-node.sh
    
    # 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)