This project defines the logic responsible for managing the on-chain operations of the KBC Coffee Trading Project.
The module is composed of Solidity smart contracts, ICP canisters and a NodeJs library that wraps the decentralized logic, offering the user a set of user-friendly methods. In addition, it also offers a suite of integration tests that can be run using the IDE.
The packages make use of a common library that contains logic shared between similar projects. This library is hosted on a private npm registry.
- Git
- Nodejs (v.20.x recommended)
- An access token for the 'common' private npm registry
- Clone this repository
- Enter the newly created folder
- Change branch to
dev
using commandgit checkout dev
- Navigate to the
blockchain
and follow the instructions in theREADME.md
file - Navigate to the
icp/ts-canister
and follow the instructions in theREADME.md
file - Navigate to the
src
folder and follow the instructions in theREADME.md
file - Navigate to the
integration-tests
folder and follow the instructions in theREADME.md
file
For any questions, please contact the project team.