Smart contracts for C4Coin's on-chain methodologies
develop
— [add circleci badge]master
— [add circleci badge]
insert overview
The smart contracts are being implemented in Solidity 0.4.23
.
- NodeJS, version 9.11.1 (I use
nvm
to manage Node versions —brew install nvm
.) - truffle, which is a comprehensive framework for Ethereum development.
npm install -g truffle
— this should install Truffle v4.1.7 or better. Check that withtruffle version
. - Access to the C4Coin Jira
npm install
npm test
or with code coverage
npm run test:cov
Run the truffle
development environment
truffle develop
then from the prompt you can run
compile
migrate
test
as well as other Truffle commands. See truffleframework.com for more.
We provide the following linting options
npm run lint:sol
— to lint the Solidity files, andnpm run lint:js
— to lint the Javascript.
Please see the contributing notes.