4. Deploy the smart contract
Last updated
Last updated
Go to the deploy.js
file located in the scripts folder
Paste the deployment script in the deploy.js
file
Deploy the contract by running npx hardhat run scripts/deploy.js --network swisstronik
Please make sure that the network command corresponds exactly to the name specified in your hardhat.config.js file (in this case: "swisstronik").
After successful deployment, you should receive the following message in your terminal:
Swisstronik contract deployed to 0x...
Awesome, now let's start interacting with the contract! 🎉