This is the Concordium smart contract modelling sales information of projects listed in OVERLAY.
This smart contract module stores sales data of OVERLAY.
You need to install the following tools to build this smart contract source codes.
Please refer to the Concordium official Quick start guide for more information.
- 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
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
see LICENSE file.