cycles-quartz/bisenzone-cw-mvp
2024-05-16 11:05:41 +02:00
..
.cargo Initial Commit 2023-11-14 07:30:48 -08:00
.github/workflows Reformat repo with nightly rustfmt (#25) 2024-05-08 00:34:09 +02:00
contracts/cw-tee-mtcs Add liquidity sources to the contract (#32) 2024-05-16 11:05:41 +02:00
packages On-chain DCAP verifier without cert validation (#24) 2024-05-15 18:00:14 +02:00
scripts deploy-contract.sh uses $NODE for address (#31) 2024-05-14 18:10:43 +02: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)