Coder Social home page Coder Social logo

hands-on-hardhat's Introduction

Sample Hardhat Project

This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.

Try running some of the following tasks:

npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js

hands-on-hardhat

Solidity -> smart contract
Hardhat
Local environment
metamask
infura
ropsten
faucets
test nets and main nets

实操

3866  cd Code/
3867  mcd hands-on-hardhat
3868  nvm ls
3869  node --version
3870  npm init --yes
3871  npm install --save-dev hardhat
3872  npx hardhat
3873  npx hardhat test
3874  npx hardhat
3875  npx hardhat accounts # 
3876  c
3877  npx hardhat test
3878  npx hardhat
3879  npm install --save-dev hardhat
3880  npx hardhat test
3881  npx hardhat test ./test/book-store-test.js\n
3882  npx hardhat test
3883  npx hardhat test ./test/book-store-test.js\n
3884  npx hardhat test
3885  npx hardhat test ./test/book-store-test.js\n
3886  npx hardhat test
3887  npx hardhat node
3888  npx hardhat run ./scripts/deployBookStore.js --network localhost
3889  ls
3890  echo "# hands-on-hardhat" >> README.md

hands-on-hardhat's People

Contributors

qiaopengjun5162 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.