IBCT's Ledgis is an EOSIO-based block chain aimed at ensuring fair value for all users who provide or use quality services. To achieve this goal, IBCT has developed a consensus algorithm called DPoSS and has new policies such as buyservice. This repository contains examples of smart contracts which would be deployed to Ledgis mainnet. They are provided for reference purposes and can be changed anytime to enhance their features or fix errors.
Dependencies:
To build the contracts and the unit tests:
- First, ensure that your legis is compiled to the core symbol for the Ledgis blockchain that intend to deploy to.
- Second, make sure that you have
sudo make install
ed legis. - Then just run the
build.sh
in the top directory to build all the contracts and the unit tests for these contracts.
After build (Automated tests are not supported yet):
- The unit tests executable is placed in the build/tests and is named unit_test.
- The contracts are built into a bin/<contract name> folder in their respective directories.
- Finally, simply use cleos to set contract by pointing to the previously mentioned directory.