Skip to content

Concordium smart contract modelling sales information of projects listed in OVERLAY

License

Notifications You must be signed in to change notification settings

overlaydao/overlay-sales

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OVERLAY sales smart contract

This is the Concordium smart contract modelling sales information of projects listed in OVERLAY.

This smart contract module stores sales data of OVERLAY.

How to build

Prerequisite

You need to install the following tools to build this smart contract source codes.

  1. rustup
  2. cargo-concordium

Please refer to the Concordium official Quick start guide for more information.

Build

  • Hit the following command to build.
# navigate to the ovl-sale-ccd-public project folder.
% cd ovl-sale-ccd-public

# run the build command.
% cargo concordium build

Then you can find wasm file built under the following directory.

% ls ./target/concordium/wasm32-unknown-unknown/release/ovl_sale_ccd_public.wasm.v1 
./target/concordium/wasm32-unknown-unknown/release/ovl_sale_ccd_public.wasm.v1

How to run unit test

You can build and run unit tests by the following steps.

# navigate to the ovl-sale-ccd-public project folder.
% cd ovl-sale-ccd-public

# hit the following command to test your wasm modules with concordium-std/concordium-quickcheck features.
% cargo concordium test -- --features wasm-test

# you can also run the following test command mainly for non-wasm modules.
% cargo test

LICENSE

see LICENSE file.

About

Concordium smart contract modelling sales information of projects listed in OVERLAY

Topics

Resources

License

Stars

Watchers

Forks

Languages