This is Forestoken the final project for Systems Engineering Degree at UTN.
It is a product which empowers wood suppliers, offering a way to generate tokens (ERC20) based on wood provided by big suppliers. Nowadays selling wood for suppliers is a tedious and long process which we aim to improve with Forestoken.
This repo contains a PoC. It has a backend in Nest framework using TypeScript. And the frontend in React.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
node src/server/contracts/compile.js // compile the smart contract
// if this fails, check env vars needed
node src/server/contracts/deploy.js // deploy the smart contract
node src/server/contracts/call.js // make some test calls to the smart contract
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov