Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.03 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.03 KB

Games Contracts

Repository that will contain all games

Contracts

Name Description
manager Game manager contract
prediction_game Prediction contract
dao-bets DAO governed bets
users Users contract

You can compile each contract:

Go to contract directory and run

cargo wasm

For a production-ready (compressed) build:

Run the following from the repository root

    docker run --rm -v "$(pwd)":/code \
        --mount type=volume,source="$(basename "$(pwd)")_cache",target=/target \
        --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
        cosmwasm/optimizer:0.16.1

The optimized contracts are generated in the artifacts/ directory.