- install :
npm i
- create
.env
file in project root path- mirror
.env.example
- mirror
- compile :
npm run compile
- if got
Error HH12
: run commandnpm install --save-dev hardhat
- test :
npm run test
- coverage :
npm run coverage
- view methods gas :
npm run gas
- deploy on hardhat temp network
npm run d
- deploy on localhost network
- Terminal 1:
npm run node
- Terminal 2:
npm run d:l
- Terminal 1:
- deploy on blockchain network
- ✅ Product:
npm run d:fbchain
- ✅ Product:
All scripts is in package.json
file.
npm install -g @remix-project/remixd
npm run remixd
import 'hardhat/console.sol'
console.log(amount)
import { time, loadFixture } from '@nomicfoundation/hardhat-network-helpers'
// import { anyValue } from '@nomicfoundation/hardhat-chai-matchers/withArgs'
import { expect } from 'chai'
import { ethers } from 'hardhat'
import { BigNumber } from 'ethers'