ibet Smart Contract – 智能合约区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,ibet Smart Contract – 智能合约区块链毕设代写 是一篇很好的国外资料

ibet Smart Contract - 智能合约

ibet Smart Contract

ibet Smart Contract - 智能合约 ibet Smart Contract - 智能合约

Install

$ pip install -r requirements.txt

Compile

Use Brownie to compile.

$ brownie compile

Deploy

You can switch the EOA used for deploying the contract by setting an environment variable.

  1. GETH

    • ETH_ACCOUNT_PASSWORD – EOA passphrase
  2. Ethereum Keystore FILE

    • ETH_KEYSTORE_PATH – Path of the directory where the keystore is stored.
    • ETH_ACCOUNT_PASSWORD – EOA passphrase
  3. Ethereum Raw Private Key

    • ETH_PRIVATE_KEY – 64 random hex characters
    • ETH_ACCOUNT_PASSWORD – Passphrase to be set for the EOA generated from the private key.
  4. AWS Secrets Manager

    • AWS_REGION_NAME – AWS Region (default: ap-northeast-1)
    • AWS_SECRETS_ID – Secret’s ARN
    • ETH_ACCOUNT_PASSWORD – EOA passphrase

To deploy, execute the following command.

$ ./scripts/deploy.sh

Running the tests

You can run the tests with:

$ brownie test

Alternatively, you can use pytest and run it as follows.

$ pytest tests/

License

ibet-SmartContract is licensed under the Apache License, Version 2.0.

Sponsors

BOOSTRY Co., Ltd.

Merge pull request


使用Brownie编译

ibet智能合约

您可以通过设置环境变量来切换用于部署契约的EOA

安装

$ pip install -r requirements.txt

编译

您可以使用运行测试:

$ brownie compile

部署

或者,您可以使用pytest并按如下方式运行它

  1. 获取ETH_帐户密码-EOA密码
  2. 以太坊eth密钥库文件ETH_密钥库路径-存储密钥库的目录。ETHu ACCOUNTu PASSWORD-EOA passphrase
  3. ETHu私钥-64个随机十六进制字符
  4. AWS Secrets Manager

    • AWS_REGION_NAME – AWS Region (default: ap-northeast-1)
    • AWS_SECRETS_ID – Secret’s ARN
    • ETH_ACCOUNT_PASSWORD – EOA passphrase

To deploy, execute the following command.

$ ./scripts/deploy.sh

运行测试

You can run the tests with:

$ brownie test

Alternatively, you can use pytest and run it as follows.

$ pytest tests/

许可证

ibet-SmartContract is licensed under the Apache License, Version 2.0.

发起人

BOOSTRY Co., Ltd.

Merge pull request

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

www.interchains.cc

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

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

提供最优质的资源集合

立即查看 了解详情