Smart Contracts for the FIH token issued by FidelityHouse International SA.
Code created using Open Zeppelin (openzeppelin-solidity) and Truffle Framework.
Latest ICO block = 7560016;
Install truffle.
npm install -g truffle // Version 4.1.15+ required.
npm install
Use Ethlint
npm run lint:sol
Use ESLint
npm run lint:js
IMPORTANT: Before commit run the lint and fix command:
npm run lint:fix
Open the Truffle console
truffle develop
Compile
compile
Test
test
Install the truffle-flattener
npm install -g truffle-flattener
Usage
truffle-flattener contracts/FidelityHouseToken.sol > dist/FidelityHouseToken.dist.sol
Web3.js Doc 0.20.6 Doc 1.0 Github