| tasks: | |
| - name: Install, start node, and deploy | |
| init: yarn | |
| command: npx hardhat node | |
| - name: Deploy smart contract and start server | |
| command: | | |
| export CLIENT_URL="$(gp url 8545)" | |
| gp await-port 8545 | |
| npx hardhat run scripts/deploy.js --network localhost | |
| npm start |