- Solidity (Writing Smart Contracts & Tests)
- Javascript (Next.js & Testing)
- Hardhat (Development Framework)
- Ethers.js (Blockchain Interaction)
- Next.js (Frontend Framework)
- Install NodeJS. We recommend using an LTS (long-term-support) version, and preferably installing NodeJS via NVM.
$ npm install
$ npx hardhat test
$ npx hardhat node
In a separate terminal execute:
$ npx hardhat ignition deploy ignition/modules/Factory.js --network localhost
If you have previously deployed you may want to append --reset
at the end:
$ npx hardhat ignition deploy ignition/modules/Factory.js --network localhost --reset
$ npm run dev