- Create a .env file in root directory with contents
PRIVATE_KEY=<WALLET-PRIVATE-KEY>
RPC_ENDPOINT_URL=https://ethereum-holesky-rpc.publicnode.com
Note that the wallet will be charged a small fee during deployment so make sure you have some eth tokens in holesky network otherwise deployment will fail.
- Deploy
npx hardhat ignition deploy ./ignition/modules/Deploy.js --network holesky
You can check my own token on holesky -> 0x386f64243fa8D8c674d945c6747aea87CE9d8ff1