This folder contains the checker for the funding
service.
It uses blockchain, so configure it first:
- Open
config.js
- Specify ethereum node address with enabled HTTP API
- Specify the list of ethereum accounts which the checker can use. This list should contain at least two different accounts
- These accounts must have enough money to deploy contracts and donate to them
To run checker, install requirements first:
npm install
If you change contract's ABI, copy it to the checker folder:
cp ../../services/funding/ethereum/artifacts/contracts/CrowdfundingPlatform.sol/CrowdfundingPlatform.json ../../services/funding/ethereum/artifacts/contracts/Project.sol/Project.json contracts/