基于区块链的毕业设计The Ethernaut Tests and Solutions – Etherneut测试和解决方案

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计The Ethernaut Tests and Solutions – Etherneut测试和解决方案 是一篇很好的国外资料

The Ethernaut Tests and Solutions

Here you will find tests and solutions in HardHat for https://ethernaut.openzeppelin.com/

Pull Requests / Contributions are welcomed!

Quick start

git clone https://github.com/hollygrimm/ethernaut cd ethernaut npm i # list hardhat tasks: npx hardhat

Install hardhat-shorthand

Install to use shorthand where hh == npx hardhat

npm i -g hardhat-shorthand hardhat-completion install

Create Infura and Etherscan Accounts

Create free accounts on:

  • https://infura.io
  • https://etherscan.io

Create .env (listed in .gitignore). Do not check in .env to public repo:

cp .env.sample .env

enter the following values into .env:

  • INFURA_API_KEY=
  • ETHERSCAN_API_KEY=

Add your Rinkeby Account

Get ether on Rinkeby: https://faucet.rinkeby.io/

Supply the private key of the contract owner in .env. Never share your private key:

  • RINKEBY_PRIVATE_KEY=

Levels

1. Fallback README.md

3. Coin Flip README.md

References

  • https://github.com/OpenZeppelin/ethernaut
  • https://github.com/nomiclabs/hardhat
  • https://github.com/ItsNickBarry/hardhat-abi-exporter

The Ethernaut Tests and Solutions

Here you will find tests and solutions in HardHat for https://ethernaut.openzeppelin.com/

Pull Requests / Contributions are welcomed!

Quick start

git clone https://github.com/hollygrimm/ethernaut cd ethernaut npm i # list hardhat tasks: npx hardhat

Install hardhat-shorthand

Install to use shorthand where hh == npx hardhat

npm i -g hardhat-shorthand hardhat-completion install

Create Infura and Etherscan Accounts

Create free accounts on:

  • https://infura.io
  • https://etherscan.io

Create .env (listed in .gitignore). Do not check in .env to public repo:

cp .env.sample .env

enter the following values into .env:

  • INFURA_API_KEY=
  • ETHERSCAN_API_KEY=

Add your Rinkeby Account

Get ether on Rinkeby: https://faucet.rinkeby.io/

Supply the private key of the contract owner in .env. Never share your private key:

  • RINKEBY_PRIVATE_KEY=

Levels

1. Fallback README.md

3. Coin Flip README.md

References

  • https://github.com/OpenZeppelin/ethernaut
  • https://github.com/nomiclabs/hardhat
  • https://github.com/ItsNickBarry/hardhat-abi-exporter

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

www.interchains.cc

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

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计The Ethernaut Tests and Solutions – Etherneut测试和解决方案

提供最优质的资源集合

立即查看 了解详情