{"id":20340609,"url":"https://github.com/zunxbt/fhenix-dev-task","last_synced_at":"2025-03-04T14:46:12.759Z","repository":{"id":258901997,"uuid":"866585595","full_name":"zunxbt/Fhenix-Dev-Task","owner":"zunxbt","description":"Guide on how to create and verify contract on Fhenix Helium","archived":false,"fork":false,"pushed_at":"2024-10-02T14:23:25.000Z","size":3,"stargazers_count":44,"open_issues_count":0,"forks_count":21,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T18:12:39.711Z","etag":null,"topics":["contract","fhe","fhenix"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zunxbt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-02T14:22:28.000Z","updated_at":"2025-01-14T12:53:22.000Z","dependencies_parsed_at":"2024-10-22T05:38:59.039Z","dependency_job_id":null,"html_url":"https://github.com/zunxbt/Fhenix-Dev-Task","commit_stats":null,"previous_names":["zunxbt/fhenix-dev-task"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunxbt%2FFhenix-Dev-Task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunxbt%2FFhenix-Dev-Task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunxbt%2FFhenix-Dev-Task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zunxbt%2FFhenix-Dev-Task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zunxbt","download_url":"https://codeload.github.com/zunxbt/Fhenix-Dev-Task/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241867678,"owners_count":20033816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contract","fhe","fhenix"],"created_at":"2024-11-14T21:22:46.956Z","updated_at":"2025-03-04T14:46:12.740Z","avatar_url":"https://github.com/zunxbt.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch2 align=center\u003e Fhenix Dev Task \u003c/h2\u003e\n\n## Join Discord\n- First join [Fhenix Discord](https://discord.gg/fhenix-io)\n- Visit `#🤖|bot-commands` and write `/quests` and select the popped up `/quests` option and then press `Enter`\n\n![Img-1](https://github.com/user-attachments/assets/30f7abde-4ab0-4d7b-9b53-4101a7028e7e)\n\n- You will see 10 different quests, here I will show how to do only dev tasks (`Quest 4`,`Quest 6`)\n\n---\n\n## Network Set Up\n- Visit [Chainlist](https://chainlist.org/?testnets=true\u0026search=Fhenix+Helium)\n- Click on `Connect wallet` and then add the network in your preferred wallet (Metamask or Rabby or OKX)\n\n---\n\n## Faucet (Bridge)\n- Right now you can get tFHE faucet by mining [here](https://get-helium.fhenix.zone/)\n- You can also get tFHE by bridging from the below website\n\n1. [Native Bridge](https://bridge.helium.fhenix.zone/) [Sepolia Ethereum -\u003e Fhenix Helium]\n2. [Pheasant Bridge](https://testnet.pheasant.network/) [Many other testnet networks supported]\n\n## Quest 4 : Deploy Contract on Fhenix\n- Visit [Remix Website](https://remix.ethereum.org)\n  \n![Img-2](https://github.com/user-attachments/assets/f186a74b-3287-478a-a14b-7ca267aa9f18)\n\n- Give it any name but at the last part u need `.sol` as this is a solidity file [Example : `zun.sol`] and then press `Enter`\n- After that you will an interface like this \n\n![image](https://github.com/user-attachments/assets/b9a9a624-2733-4393-b014-b4e995e01c0c)\n\n- You need copy the below mentioned codes and paste it there\n\n```solidity\n// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\ncontract SimpleStorage {\n    uint256 public storedData;\n\n    function set(uint256 x) public {\n        storedData = x;\n    }\n\n    function get() public view returns (uint256) {\n        return storedData;\n    }\n}\n```\n- Click on `Solidity Compiler` icon\n\n![Img-4](https://github.com/user-attachments/assets/1e25afbb-183a-4630-bab4-887cfd6a940d)\n\n- Then click on `Compile YOUR_CONTRACT_NAME.sol`\n\n![Img-5](https://github.com/user-attachments/assets/aa054f1a-94e4-4fec-b7e9-989002752728)\n\n- Afterthat, click on `Deploy and run transactions` icon in the left slide bar\n\n![Img-5](https://github.com/user-attachments/assets/8e5a154a-e415-4805-b1d3-5e157b990b04)\n\n- Open your wallet and then switch to `Fhenix Helium` network if you have not switched it yet\n- Now choose `Injected Provider` in environment section and then choose your wallet\n- Then click on `Deploy` button to deloy a contract\n\n![Img-6](https://github.com/user-attachments/assets/39a4b675-0a83-4f1c-9948-3d56f5f41ec4)\n\n- Congrats, you have successfully deployed a contract on `Fhenix Helium`\n- You can check your deployed contract address here\n\n![Img7](https://github.com/user-attachments/assets/74fdd356-6104-4c6e-8574-bfa32227b41b)\n\n\n- Right now, you can deploy max 5 contract and can earn 150 points\n- To deploy more contracts,click on `Deploy` button again and again\n- Do this process 4 times to deploy 4 contracts\n\n## Quest 6 : Contract Verification\n- If you use above contract code, It will be verified automatically, You don't need to do anything\n\n![image](https://github.com/user-attachments/assets/6131b98d-c88e-4308-ae52-acbfddb0ef3f)\n\n- Also, there contract verification tool is defective, if you use other than the above code, your contract will not be verified now\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzunxbt%2Ffhenix-dev-task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzunxbt%2Ffhenix-dev-task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzunxbt%2Ffhenix-dev-task/lists"}