Compiling the contract
Compile smart contract
Switch to the Compiler tab
Select compiler version
Now, compile HelloWorld.sol
After successful compilation, it will show a green tick mark on the Compiler tab button
Deploy Smart Contract
In both Testnet and Mainnet, you do the below to deploy your smart contract using Remix.
Navigate to the Deployment tab
Select Injected Provider Metamask in the Environment dropdown, and your contract
Accept the Connect request received in MetaMask. You can also manually launch MetaMask if the popup doesn't open by default.
In MetaMask, once a transaction is deployed, you will receive another MetaMask pop-up that requires you to confirm the transaction. You just need to confirm the transaction.
Last updated