CosmWasm contracts for the OKP4 network.
This repository contains the Smart Contracts deployed on the OKP4 network and running on CosmWasm.
The list of currently implemented contracts is as follows:
- cw-template: base smart contract to start coding in the OKP4 blockchain.
The project is structured around a set of Rust workspaces, each defining a smart contract.
.
βββ contracts
β βββ <contract>
β βββ Cargo.toml
β βββ examples
β βββ schema
β βββ src
ββββ Cargo.toml
Be sure you have Rust properly installed with cargo-make.
$ cargo make --version
cargo-make 0.35.13
(your version may differ and that is fine)
To compile the Smart Contracts to Wasm, just invoke the wasm
goal of the makefile:
cargo make wasm
This will install the rust Wasm toolchain, if not already done, and start the process for compiling the Smart Contracts to Wasm.
The Smart Contracts are under unit testing. The tests can be launched with the following invocation:
cargo make test-coverage
So you want to contribute? Great! β€οΈ We appreciate any help you're willing to give. Don't hesitate to open issues and/or submit pull requests.
Please check out OKP4 health files: