Skip to content

πŸ“œ Smart contracts for the OKP4 network built on CosmWasm.

License

Notifications You must be signed in to change notification settings

nikitinivannodes/contracts

Β 
Β 

Repository files navigation

πŸ“œ OKP4 Smart Contracts

CosmWasm contracts for the OKP4 network.

release build lint test conventional commits license

✨ Smart Contracts

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.

πŸ—‚ Directory Structure

The project is structured around a set of Rust workspaces, each defining a smart contract.

.
β”œβ”€β”€ contracts
β”‚   └── <contract>
β”‚       β”œβ”€β”€ Cargo.toml
β”‚       β”œβ”€β”€ examples
β”‚       β”œβ”€β”€ schema
β”‚       └── src
└─── Cargo.toml

πŸ— Build

Prerequisites

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)

Compiling Smart Contracts to Wasm

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.

Test Smart Contracts

The Smart Contracts are under unit testing. The tests can be launched with the following invocation:

cargo make test-coverage

You want to get involved? 😍

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:

About

πŸ“œ Smart contracts for the OKP4 network built on CosmWasm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%