cycles-quartz/cosmwasm
Shoaib Ahmed 072bb4dc63
fix(enclave): make tcbinfo-contract deployable on cosmwasm (#194)
Co-authored-by: Peppi Littera <giuseppe@informal.systems>
2024-09-12 13:10:24 +04:00
..
packages fix(enclave): make tcbinfo-contract deployable on cosmwasm (#194) 2024-09-12 13:10:24 +04: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)