{"id":21349127,"url":"https://github.com/halink0803/only-fhe","last_synced_at":"2025-10-06T17:06:41.894Z","repository":{"id":255889645,"uuid":"848706357","full_name":"halink0803/only-fhe","owner":"halink0803","description":"Fully encrypted NFT - message bearer.","archived":false,"fork":false,"pushed_at":"2024-09-08T16:36:34.000Z","size":632,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T16:49:54.424Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hackathon-eight-bay.vercel.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/halink0803.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-08-28T08:56:49.000Z","updated_at":"2024-09-11T16:58:13.000Z","dependencies_parsed_at":"2025-01-22T16:45:14.763Z","dependency_job_id":"96b35897-c9b4-4941-90c5-06e5da9778df","html_url":"https://github.com/halink0803/only-fhe","commit_stats":null,"previous_names":["halink0803/only-fhe"],"tags_count":0,"template":false,"template_full_name":"FhenixProtocol/fhenix-hardhat-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halink0803%2Fonly-fhe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halink0803%2Fonly-fhe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halink0803%2Fonly-fhe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halink0803%2Fonly-fhe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halink0803","download_url":"https://codeload.github.com/halink0803/only-fhe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243824040,"owners_count":20353780,"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":[],"created_at":"2024-11-22T02:42:36.482Z","updated_at":"2025-10-06T17:06:36.875Z","avatar_url":"https://github.com/halink0803.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Only-FHE\n\n## This repo is dedicated to the ethglobal online hackathon\n\nThis project provide NFT ability to hold a hidden metadata. \n1. Beside the public image URI. NFT can hold a private image. \n2. The image most significant be can be extract (assume it is lower than 256bit) and encrypted by using FHE technology. The encrypted bits finally saved onchain in the nft contract. Only the owner of the NFT can get the real bit and the reproduce the private image.\n3. Furthermore, the image metadata can also be FHE encrypted. It is allow those value also keep privately onchain, and can be updated without revealing value. This features can be apply to gaming. For example, the power of a pokemon. It can be evolved and increase power without the notice of other user before a match.\n4. User from platform like OnlyFans, can also take advantage of this, by selling NFT, with the public image is the censored version, while the encrypted one is the uncensored version which the buyer would like to own.\n\n![design](./design.png)\n\n**Contract**\n1. *localfhenix (exposed)*: 0x7a69d10828D9bf695ceEb007663b9ead8ab23834\n2. *Helium testnet*: 0xACadC9298bB39a24348eaD6b08EE45bb03267327\n\n## Quick start\n\nThe first things you need to do are cloning this repository and installing its dependencies:\n\n```sh\ngit clone https://github.com/halink0803/only-fhe.git\ncd only-fhe\npnpm install\n```\n\nNext, you need an .env file containing your mnemonics or keys. You can use .env.example that comes with a predefined mnemonic, or use your own\n\n```sh\ncp .env.example .env\n```\n\nOnce the file exists, let's run a LocalFhenix instance:\n\n```sh\npnpm localfhenix:start\n```\n\nThis will start a LocalFhenix instance in a docker container. If this worked you should see a `Started LocalFhenix successfully` message in your console.\n\nIf not, please make sure you have `docker` installed and running on your machine. You can find instructions on how to install docker [here](https://docs.docker.com/get-docker/).\n\nNow that we have a LocalFhenix instance running, we can deploy our contracts to it:\n\n```sh\nnpx hardhat deploy\n```\n\n\n```sh\n```\n\n## Troubleshooting\n\n\n## More Info\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalink0803%2Fonly-fhe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalink0803%2Fonly-fhe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalink0803%2Fonly-fhe/lists"}