kale-code / colonyNetwork

Colony Network smart contracts

Home Page:https://colony.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Colony Network

Contracts for running the Colony Network as defined in the Colony White Paper

Bug Bounty Program

Colony is offering substantial rewards to external developers who report bugs and flaws in the colonyNetwork contracts.

See the Bug Bounty program overview for more information about bounties, rules, and terms.

Install

git clone https://github.com/JoinColony/colonyNetwork.git
cd colonyNetwork
yarn
git submodule update --init
yarn run provision:token:contracts

Contracts

The contract upgradability is using the EtherRouter pattern, see Upgrades to the Colony Network in the documentation for implementation details.

The math, erc20, auth, roles and a significant part of the token contract have been reused from the Dappsys library.

Testing

To run all tests:

yarn run test:contracts

To run tests with code coverage using solidity-coverage:

yarn run test:contracts:coverage

To lint contracts using Solium

yarn run solium

To lint JS using eslint (this is also a pre-commit hook)

yarn run eslint

Contributing

For details about how to contribute you can check the contributing page

About

Colony Network smart contracts

https://colony.io/

License:GNU General Public License v3.0


Languages

Language:JavaScript 68.8%Language:Solidity 30.0%Language:Shell 1.2%