UNPKG

@netvote/elections-solidity

Version:
68 lines (50 loc) 1.41 kB
Netvote Smart Contracts ====================== [![Build Status](https://travis-ci.org/netvote/elections-solidity.svg?branch=master)](https://travis-ci.org/netvote/elections-solidity) [![Coverage Status](https://codecov.io/gh/netvote/elections-solidity/branch/master/graph/badge.svg)](https://codecov.io/gh/netvote/elections-solidity) <img src="https://s3.amazonaws.com/netvote-docs/nv.png" alt="Logo" height="35%" width="35%"/> Collection of smart contracts for the Netvote Voting System. Information and white paper at https://netvote.io ## Getting Started Install ------- ### Install requirements with npm: ```bash npm install ``` ### Install truffle ```bash npm install -g truffle ``` ### Install solium for linting ```bash npm install -g solium ``` Testing and Linting ------------------- ### Run tests: ```bash npm test ``` ### Lint Solidity ```bash npm run lint ``` ### Test with Coverage ```bash npm run coverage ``` Contributing ------------------- ### Style Guide We're using the official Solidity style guide. https://solidity.readthedocs.io/en/latest/style-guide.html ### Contribution Process 1. Fork repo 2. Make desired changes 3. Submit PR (Reference Issue #) 4. Ensure Tests Pass 5. Reviewer will review 6. Reviewer Squash + Merges PR License ------- All code is released under the <a href='https://www.gnu.org/licenses/gpl-3.0.en.html'>GNU General Public License v3.0</a>.