- Solidity compiler (solc): Installing the Solidity Compiler
yarn
npx hardhat compile
yarn run hardhat export-abi
Abis will be
In one shell
npx hardhat node
In another shell:
npx hardhat run scripts/deploy.js
node scripts/deployProd.js <private key> <provider url> <network id>
The provider url is the ws or wss url of the Ethereum node you are connecting to.
Network id:
- mainnet: 1
- goerli-testnet: 5
- sepolia-testnet: 11155111
npx hardhat test