Rubicon Protocol – Rubicon协议区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,Rubicon Protocol – Rubicon协议区块链毕设代写 是一篇很好的国外资料

Rubicon Protocol - Rubicon协议 Rubicon Protocol - Rubicon协议 Rubicon Protocol - Rubicon协议

Docs

For detailed documentation of the Rubicon protocol please visit our docs

Rubicon Protocol

Rubicon is a Layer 2, open-orderbook DEX built on the EVM and Optimism. Rubicon is also a blockchain-based protocol that is aimed at developing and ushering in the emergence of digital asset markets on the Ethereum blockchain. Read more about our mission and Rubicon here

The Rubicon protocol aims to launch on the Optimism Layer 2 mainnet soon. At that time, the community distribution of the governance token RBCN will be live. If you are interested in joining our team, learning more, or want to contact Rubicon please feel free to reach us at contact@rubicon.finance – we would love to hear from you!

Protocol Overview

There are a number of key smart contracts that facilitate the governance and operation of Rubicon. Please see below for an overview of our current smart contract infrastructure.

At a high level, Rubicon revolves around a core smart contract RubiconMarket.sol that facilitates the peer-to-peer transfer of tokens, digital assets, and any ERC-20 compliant token. Additionally, Rubicon and its governance token, RBCN, leverage a number of smart contracts to facilitate the decentralization of the protocol, community governance, and future iterations of the protocol.

Start Rubicon Protocol Locally

$ git clone https://www.github.com/RubiconDeFi/rubicon_protocol.git    $ cd rubicon_protocol && npm i $ npm i --save-dev openzeppelin-solidity@2.5.1 $ truffle init $ 'n' for overwriting contracts $ 'n' for overwriting migrations $ (in a separate instance) ganache-cli

Migrate the contracts to the blockchain of your choosing:

$ truffle compile --all $ truffle migrate

Developers: Local Testing – EVM

The command below will run all of the protocol tests located in the test folder which make sure that everything from trading functionality to the community distribution of RBCN are working correctly in the EVM.

$ truffle test

Developers: Local Testing – OVM

All OVM specific logic, tests, and configs are contained in the ‘ovm’ folder of the repository. Given the OVM’s nature of being nearly 1:1 with native Solidity and the EVM most core testing logic lives in the test folder for Layer 1 EVM testing.

To compile the project’s contracts in the OVM or run the suite of OVM tests located in ./ovm/ovmTests simply run the following from the root directory:

$ npx hardhat compile $ npx hardhat test

To compile or migrate via truffle in the OVM with a ganache instance running, run the following from the root directory:

$ cd ovm $ truffle compile --all $ truffle migrate --reset

maintain withdraw as pair-specific for bathTokens


有关Rubicon协议的详细文档,请访问我们的文档。Rubicon也是一个基于区块链blockchain的协议,旨在开发和引导以太坊eth区块链blockchain上出现的数字资产市场。阅读更多关于我们的任务和Rubicon的信息

Docs

Rubicon协议的目标是很快在第二层主网上发布。届时,治理令牌RBCN的社区分发将是实时的。如果您有兴趣加入我们的团队,了解更多信息,或想联系Rubicon,请随时联系我们联系@rubicon.finance-我们很高兴收到你的来信!

Rubicon Protocol

有许多关键的智能合约,有助于Rubicon的管理和运营。请参见下文,了解我们当前智能合约基础设施的概述。

在高层,Rubicon围绕核心智能合约展开RubiconMarket.sol公司这有助于令牌、数字资产和任何符合ERC-20的令牌的点对点传输。此外,Rubicon及其治理令牌RBCN利用许多智能合约来促进协议的去中心化、社区治理和协议的未来迭代。

协议概述

将合同迁移到您选择的区块链blockchain

下面的命令将运行位于测试文件夹中的所有协议测试,以确保从交易功能到RBCN社区分发的所有内容都在EVM中正常工作。

本地启动Rubicon协议

$ git clone https://www.github.com/RubiconDeFi/rubicon_protocol.git    $ cd rubicon_protocol && npm i $ npm i --save-dev openzeppelin-solidity@2.5.1 $ truffle init $ 'n' for overwriting contracts $ 'n' for overwriting migrations $ (in a separate instance) ganache-cli

所有特定于OVM的逻辑、测试和配置都包含在存储库的“OVM”文件夹中。考虑到OVM的本质,即接近1:1的固有稳定性和EVM,大多数核心测试逻辑都存在于用于第1层EVM测试的test文件夹中。

$ truffle compile --all $ truffle migrate

开发者:本地测试-EVM

要在OVM中编译项目的契约或运行位于中的OVM测试套件,只需从根目录运行以下命令:

$ truffle test

开发者:本地测试-OVM

要在运行ganache实例的情况下通过OVM中的truffle编译或迁移,请从根目录运行以下命令:

To compile the project’s contracts in the OVM or run the suite of OVM tests located in ./ovm/ovmTests simply run the following from the root directory:

$ npx hardhat compile $ npx hardhat test

To compile or migrate via truffle in the OVM with a ganache instance running, run the following from the root directory:

$ cd ovm $ truffle compile --all $ truffle migrate --reset

maintain withdraw as pair-specific for bathTokens

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

www.interchains.cc

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

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

提供最优质的资源集合

立即查看 了解详情