Deploying a Contract

Do the following in the Remix IDE:

  1. Click on the Deploy & run transactions icon.

  2. In the ENVIRONMENT dropdown, choose Injected Provider - Metamask.

    Remix Environment Setting

  3. A Metamask window will popup asking you to select the account you wish to connect to Remix. Choose the appropriate account and click Next followed by Connect. At this point, the ACCOUNT field in Remix will be populated by your account address from Metamask.

  4. Click the Deploy button. A Metamask window will popup asking you to confirm the contract deployment.

    Remix Contract Deployment Metamask Popup

  5. Click the Confirm button. After a few seconds, the contract will be deployed. You will see a notification in the Remix terminal. The contract will also appear in the Deployed Contracts list in the Remix Side Panel.