This repository contains the contracts that implements the certification tree for an academic certification process. It extends the contracts available here. A evaluation of this implementation can be found in this repository.
npm install
npm run compile
Run ethereum ganache testnet:
npm run ganache-cli
Run the tests:
npm run test:ganache
To extract the abi and bin files from the compiled contracts you can use the following command:
npm run generate
The files will be created under the build/abi
and build/bin
folder for each compiled contract.
This command generates the go bindings for all contracts under the folder build/bindings
.
npm run abigen
npm run release
For more options, please see the scripts
section of the package.json
files.