Skip to content

Deploy Solidity Contract from Remix

In this tutorial, we will deploy a Solidity smart contract to QF Network using Remix IDE, a web-based tool that allows developers to write, compile, deploy, and interact with Solidity smart contracts directly from the browser.

  1. Open https://remix.polkadot.io/ for editing your Solidity contract and paste your smart contract into it:

    Deploy smart contract step 1

  2. Go to the Solidity compiler tab and press ‘Ctrl+S’ to compile (or click the compile button):

    Deploy smart contract step 2

  3. Choose the Deploy & run transactions tab:

    Deploy smart contract step 3

  4. In the Environment tab, choose Injected Provider - MetaMask:

    Deploy smart contract step 4

  5. Change the network in the upper right corner of your Metamask:

    Connecting Metamask step 6

  6. Press on Ethereum(in my case):

    Connecting Metamask step 7

  7. Choose QF Network:

    Connecting Metamask step 8

  8. Set the value and press Deploy:

    Deploy smart contract step 5

  9. You will see a Confirmation tab showing the transaction details:

    Deploy smart contract step 6

    Notice the gas fees and contract address displayed—this is your deployment receipt. If the confirmation shows an error or the estimated gas is too low, open the Remix console for details and increase the gas limit before submitting.

  10. Change the network fee to advanced:

    Deploy smart contract step 7

  11. Press Save:

    Deploy smart contract step 8

  12. After you press Confirm, you will see your deployed contract in both Remix and MetaMask:

    Deploy smart contract step 9

  13. You can interact with your contract in Remix or in MetaMask:

    Deploy smart contract step 10

  14. Open https://portal.qfnetwork.xyz/ and search for your contract address. You will see your transaction recorded on the blockchain:

    Deploy smart contract step 11

Congratulations! You have successfully deployed Solidity smart contract to QF Network.