hardhat-tutorial

This repository contains the project developed in Hardhat's tutorial. There's also a version that includes a minimal frontend here.

Development

Requirements

  • Node 16;

Setup

git clone https://github.com/umluizlima/hardhat-tutorial.git
cd hardhat-tutorial
npm install

Test

npx hardhat test

Deploy to Ropsten testnet

npx hardhat run scripts/deploy.js --network ropsten

Dependencies

  • Hardhat: An Ethereum development task runner and testing network.
  • Mocha: A JavaScript test runner.
  • Chai: A JavaScript assertion library.
  • ethers.js: A JavaScript library for interacting with Ethereum.
  • Waffle: To have Ethereum-specific Chai assertions/mathers.

Utilities

  • nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions.
  • editorconfig: EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs.