cycles-quartz/cosmwasm
2024-06-20 22:09:29 +02:00
..
packages DCAP cert validation tests (#6) 2024-06-20 22:09:29 +02:00
.gitignore repo reorg 2024-05-21 03:26:41 -07:00
README.md repo reorg 2024-05-21 03:26:41 -07: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)