Deploy Contract on Fhenix Testnet

Wallet

  1. Create a Metamask wallet ( Use the wallet you connected to Discord Quests)
  2. Get Faucet by typing /faucet in Discord OR Bridge from Sepolia

Add Fhenix Testnet to Metamask

1- Open MetaMask in your browser and click on the Ethereum network.

2- Click Add Network.

3- Click Add a network manually.

4- Fill out the network details form. To add a custom network, fill in the following fields:

Deploy Contract using Remix (Manually)

1- Visit Remix

2- Create a SimpleStorage.sol file and paste This in editing menu

image

3- Compile your contract file using compiler version 8.26

image

4- Deploy your Contract

  • Change Environment to Metamask
  • Make sure your wallet is on Fhenix Testnet Network
  • Click on Deploy
  • After you sign wallet tx, You'll see your deployed contract address appears

Screenshot_305

Check you address here

https://explorer.helium.fhenix.zone/

Complete Quest: Deployed Contracts

You can Verify your deployed contracts on Discord Quests

  • Remember: You'd better NOT click on submit but press Edit & verify again the quest if you want to deploy more to get more points. Once you click submit, the quest gets closed and you are not able to get more points

Verify Contract (Manually)

  1. Go to the deployed Contract page in Explorer
  2. If you choose Contract tab, You see a green tick besides it meaning Contract ia verified automatically since it is known by the explorer

Screenshot_308

If it's NOT verified, You can Click Publish & Verify and Verify it by simply choose Flattened source code, Paste your Contract code ,and Click Publish & Verify

Screenshot_309

Complete Quest: Contract Creation and Verification Discord

Do not submit if you want to get more points. Click Edit ,then Verify again after you deployed and verified more Contracts Screenshot_310

Quest 3 (Gas used per contract by other users) is easy you must transact using another address with your contract, I'll add a guide for it later. I'm sleepy