Navigation Menu

Skip to content

AidCoinCo/aidchain-smartcontracts

Repository files navigation

AidChain Smart Contracts

Build Status Coverage Status

Website: www.aidchain.co

Installation

Install truffle.

npm install -g truffle      // Version 4.1.14+ required.

Install dependencies

npm install

Linter

Use Solium

npm run lint:sol

Use ESLint

npm run lint:js

Use both and fix

npm run lint:fix

Compile and test the contracts.

Open the Truffle console

truffle develop

Compile

compile 

Test

test

Optional

Install the truffle-flattener

npm install -g truffle-flattener

Usage

truffle-flattener contracts/CharityProject.sol >> dist/CharityProject.dist.sol

License

Code released under the MIT License.