Skip to content

tyhtao1990/colonyNetwork

 
 

Repository files navigation

The Colony Network

Gitter chat CircleCI Greenkeeper badge

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

Install

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

Contracts

The contract upgradability is using the EtherRouter pattern, see "Token Upgradability" section in https://medium.com/p/3da67d833087 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

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.8%
  • Shell 3.2%