This repo contains a generic workflow for a non-profit cash transfer system based on blockchain. For more info on cash transfers: https://www.unicef.org/topics/cash-transfers
- NodeJS
- HardHat
- Python
v.3.x
- Slither Analyzer slither
pip3 install slither-analyzer
- Solidity Compiler sol-select
pip3 install solc-select
solc-select install 0.8.11
solc-select use 0.8.11
## Commands
npm i
to install dependenciesnpm run compile
ornpx hardhat compile
to compile contract on local machinenpm run test
to run unit testsnpm run lint
to run linter
Please note that the current repo only contains one smart contract. The smart contract only compiles and runs exclusively on the local machine (e.g. it does not get deployed to testnet or mainnet as no config were provided).
A next-js
or cra
frontend for the dapp could easily be added, pointing to the relevant smart contract.