The Colony Network – 群体网络区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,The Colony Network – 群体网络区块链毕设代写 是一篇很好的国外资料

The Colony Network - 群体网络
The Colony Network - 群体网络 The Colony Network - 群体网络 The Colony Network - 群体网络 The Colony Network - 群体网络

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.

Prerequisites

node v10.12 or higher (we recommend using nvm)

yarn v1.13 or higher

docker v18 or higher

Add the required solidity compiler by running:

$ docker pull ethereum/solc:0.5.8 

Installation

In the working directory of your choice, clone the latest version of the colonyNetwork repository:

$ git clone https://github.com/JoinColony/colonyNetwork.git 

Move into the directory and install dependencies:

$ cd colonyNetwork && yarn 

Update submodule libraries:

$ git submodule update --init 

Provision token contracts for testing:

$ yarn provision:token:contracts 

Contracts

The contract upgradability is using the EtherRouter pattern, see the delegate proxy pattern 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.

Local Development and Testing

You can start a local test node and deploy the contracts yourself using the locally installed truffle package.

yarn start:blockchain:client  yarn truffle migrate --reset --compile-all 

To deploy all contracts and run all contract tests:

yarn test:contracts 

To deploy all contracts and run all reputation mining tests:

yarn test:reputation 

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

We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products. Learn more.


The Colony Network - 群体网络
The Colony Network - 群体网络 The Colony Network - 群体网络 The Colony Network - 群体网络 The Colony Network - 群体网络

柯罗尼网络

Colony白皮书中定义的运行Colony网络的合同为报告colonyNetwork合同中的缺陷和缺陷的外部开发者提供了丰厚的奖励。

缺陷悬赏计划

有关奖励、规则和条款的详细信息,请参阅缺陷奖励计划概述。

node v10.12或更高版本(建议使用nvm)

先决条件

yarn v1.13或更高版本

docker v18或更高版本

通过运行以下操作添加所需的solidity编译器:

在您选择的工作目录中克隆最新版本的colonyNetwork存储库:

$ docker pull ethereum/solc:0.5.8 

合同

移到目录并安装依赖项:

$ git clone https://github.com/JoinColony/colonyNetwork.git 

更新子模块库:

$ cd colonyNetwork && yarn 

提供用于测试的令牌契约:

$ git submodule update --init 

契约可升级性使用以太网路由器模式,请参阅文档中的委托代理模式以获取实现详细信息。

$ yarn provision:token:contracts 

本地开发和测试

math、erc20、auth、roles和令牌契约的重要部分已从Dappsys库中重用。

您可以启动一个本地测试节点,并使用本地安装的truffle包自己部署契约。

贡献

部署所有合约并运行所有合约测试:

yarn start:blockchain:client  yarn truffle migrate --reset --compile-all 

部署所有合约并运行所有信誉挖掘测试:

yarn test:contracts 

使用solidity coverage运行代码覆盖率测试:

yarn test:reputation 

使用Solium的lint合约

yarn run test:contracts:coverage 

使用eslint的lint JS(这也是预提交挂接)

yarn run solium 

有关如何贡献您可以查看贡献页面

yarn run eslint 

基本cookies

我们使用可选的第三方分析Cookie了解您如何使用GitHub.com网站所以我们可以制造更好的产品。了解更多。

我们使用可选的第三方分析cookies来了解您如何使用GitHub.com网站所以我们可以制造更好的产品。
您可以随时通过单击页面底部的Cookie首选项来更新您的选择。有关更多信息,请参阅我们的隐私声明。

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/18411.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 !
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » The Colony Network – 群体网络区块链毕设代写

提供最优质的资源集合

立即查看 了解详情