- Start Hardhat node:
npx hardhat node
- Add hardhat network on metamask network
- Deploy smart contract on hardhat network:
npx hardhat run scripts/deploy.ts --network localhost
- note: hold smart contract address
- Install dependencies:
yarn install
- Run webservice:
yarn dev
- other version with vue-typescript
Note: Borrow some code from react-dapp