Compiling the contract

Compile smart contract

  1. Switch to the Compiler tab

  2. Select compiler version

  3. Now, compile HelloWorld.sol

  4. 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.

  1. Navigate to the Deployment tab

  2. Select Injected Provider Metamask in the Environment dropdown, and your contract

  3. Accept the Connect request received in MetaMask. You can also manually launch MetaMask if the popup doesn't open by default.

  4. 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