chainbridge-solidity – 电桥坚固性区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,chainbridge-solidity – 电桥坚固性区块链毕设代写 是一篇很好的国外资料

chainbridge-solidity

chainbridge-solidity - 电桥坚固性

ChainBridge uses Solidity smart contracts to enable transfers to and from EVM compatible chains. These contracts consist of a core bridge contract (Bridge.sol) and a set of handler contracts (ERC20Handler.sol, ERC721Handler.sol, and GenericHandler.sol). The bridge contract is responsible for initiating, voting on, and executing proposed transfers. The handlers are used by the bridge contract to interact with other existing contracts.

Read more here.

The ChainBridge specification can be found here.

A CLI to deploy and interact with these contracts can be found here.

Dependencies

Requires nodejs and npm.

Commands

make install-deps: Installs truffle and ganache globally, fetches local dependencies. Also installs abigen from go-ethereum.

make bindings: Creates go bindings in ./build/bindings/go

PORT=<port> SILENT=<bool> make start-ganache: Starts a ganache instance, default PORT=8545 SILENT=false

QUIET=<bool> make start-geth: Starts a geth instance with test keys

PORT=<port> make deploy: Deploys all contract instances, default PORT=8545

make test: Runs truffle tests.

make compile: Compile contracts.

ChainSafe Security Policy

Reporting a Security Bug

We take all security issues seriously, if you believe you have found a security issue within a ChainSafe project please notify us immediately. If an issue is confirmed, we will take all necessary precautions to ensure a statement and patch release is made in a timely manner.

Please email us a description of the flaw and any related information (e.g. reproduction steps, version) to security at chainsafe dot io.


链桥坚固性

ChainBridge使用Solidity智能合约来实现与EVM兼容链之间的传输。这些合同包括核心桥梁合同(桥梁.sol)以及一组处理者契约(ERC20)处理程序.sol,ERC721型处理程序.sol,和通用手柄.sol). 过渡合同负责发起、表决和执行提议的转让。桥接契约使用处理程序与其他现有契约进行交互。

请在此处阅读更多信息。

链桥规范可在此处找到。

可以在此处找到用于部署和与这些契约交互的CLI。

需要nodejs和npm。

依赖性

make install deps:全局安装truffle和ganache,获取本地依赖项。还安装来自go以太坊eth的abigen。

命令

生成绑定:在./build/bindings/go中创建go绑定

PORT=&lt;PORT&gt;SILENT=&lt;bool&gt;make start ganache:启动ganache实例,默认PORT=8545 SILENT=false

SILENT=&lt;bool&gt;make start geth:使用测试键启动geth实例

PORT=&lt;PORT&gt;makedeploy:部署所有契约实例,默认端口=8545

maketest:运行truffle测试。

编译:编译合同。

我们认真对待所有安全问题,如果您认为您在ChainSafe项目中发现了安全问题,请立即通知我们。如果问题被确认,我们将采取一切必要的预防措施,以确保及时发布声明和补丁。

链安全安全策略

报告安全漏洞

请通过电子邮件将缺陷描述和任何相关信息(如复制步骤、版本)发送给chainsafe dot io的security。

Please email us a description of the flaw and any related information (e.g. reproduction steps, version) to security at chainsafe dot io.

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

www.interchains.cc

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

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

提供最优质的资源集合

立即查看 了解详情