基于区块链的毕业设计ethhmy-bridge – 埃塞俄比亚桥

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计ethhmy-bridge – 埃塞俄比亚桥 是一篇很好的国外资料

ethhmy-bridge

Ethereum<>Harmony two way bridge (trusted version)

Transferring ERC20 from Ethereum to Harmony

ethhmy-bridge - 埃塞俄比亚桥

Transferring HRC20 from Harmony back to Ethereum

ethhmy-bridge - 埃塞俄比亚桥

Execution Plan

Milestone Components Trust Requirement Centralization Target Date
v1 Smart contracts w/ permissioned mint/unlock Trusted Centralized DONE
v2 Smart contracts w/ single relayer hosted by harmony Semi-trusted Centralized Sept 1, 2020
v3 Smart contracts w/ a network of relayers Trustless Decentralized Sept 15, 2020

Setup

Create two ropsten accounts and get test tokens using https://faucet.ropsten.be

Export following variables for ethereum testnet:

ETH_NODE_URL='https://ropsten.infura.io/v3/acb534b53d3a47b09d7886064f8e51b6' ETH_MASTER_PRIVATE_KEY=<private-key-of-first-account-for-deploying-contracts> ETH_USER_PRIVATE_KEY=<private-key-of-second-account-for-transferring-across-chains> ETH_USER=<account-address-of-second-eth-account> ETH_GAS_PRICE=100000000000 ETH_GAS_LIMIT=4712388 

Create two harmony accounts and get test tokens using https://onefaucet.ibriz.ai

Export following variables for harmony testnet:

HMY_NODE_URL='https://api.s0.b.hmny.io' PRIVATE_KEY=<private-key-of-first-harmony-account-for-deploying-contracts> PRIVATE_KEY_USER=<private-key-of-second-harmony-account-for-transferring-across-chains> USER=<hex-account-address-of-the-second-harmony-account> GAS_LIMIT=6721900 GAS_PRICE=1000000000 

Running end to end demo using ethereum ropsten and harmony testnets

node scripts/erc20/end2end.js 

ethhmy-bridge

Ethereum<>Harmony two way bridge (trusted version)

Transferring ERC20 from Ethereum to Harmony

ethhmy-bridge - 埃塞俄比亚桥

Transferring HRC20 from Harmony back to Ethereum

ethhmy-bridge - 埃塞俄比亚桥

Execution Plan

Milestone Components Trust Requirement Centralization Target Date
v1 Smart contracts w/ permissioned mint/unlock Trusted Centralized DONE
v2 Smart contracts w/ single relayer hosted by harmony Semi-trusted Centralized Sept 1, 2020
v3 Smart contracts w/ a network of relayers Trustless Decentralized Sept 15, 2020

Setup

Create two ropsten accounts and get test tokens using https://faucet.ropsten.be

Export following variables for ethereum testnet:

ETH_NODE_URL='https://ropsten.infura.io/v3/acb534b53d3a47b09d7886064f8e51b6' ETH_MASTER_PRIVATE_KEY=<private-key-of-first-account-for-deploying-contracts> ETH_USER_PRIVATE_KEY=<private-key-of-second-account-for-transferring-across-chains> ETH_USER=<account-address-of-second-eth-account> ETH_GAS_PRICE=100000000000 ETH_GAS_LIMIT=4712388 

Create two harmony accounts and get test tokens using https://onefaucet.ibriz.ai

Export following variables for harmony testnet:

HMY_NODE_URL='https://api.s0.b.hmny.io' PRIVATE_KEY=<private-key-of-first-harmony-account-for-deploying-contracts> PRIVATE_KEY_USER=<private-key-of-second-harmony-account-for-transferring-across-chains> USER=<hex-account-address-of-the-second-harmony-account> GAS_LIMIT=6721900 GAS_PRICE=1000000000 

Running end to end demo using ethereum ropsten and harmony testnets

node scripts/erc20/end2end.js 

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

www.interchains.cc

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

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 !
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计ethhmy-bridge – 埃塞俄比亚桥

提供最优质的资源集合

立即查看 了解详情