{"id":29171948,"url":"https://github.com/zama-ai/fhevm-go","last_synced_at":"2025-08-13T18:35:29.084Z","repository":{"id":218975078,"uuid":"691623119","full_name":"zama-ai/fhevm-go","owner":"zama-ai","description":"fhevm-go is an open-source library used to easily integrate the fhEVM into an EVM-compatible blockchain.","archived":false,"fork":false,"pushed_at":"2024-05-28T16:34:49.000Z","size":96790,"stargazers_count":14,"open_issues_count":21,"forks_count":8,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-05-29T02:31:50.201Z","etag":null,"topics":["blockchain","cryptography","encryption","evm","fhe","fully-homomorphic-encryption","golang","privacy"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zama-ai.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":"2023-09-14T14:49:59.000Z","updated_at":"2024-06-11T13:02:43.017Z","dependencies_parsed_at":"2024-05-12T20:55:10.090Z","dependency_job_id":"422f981e-10c6-43fd-855b-0a894dfbe4a0","html_url":"https://github.com/zama-ai/fhevm-go","commit_stats":null,"previous_names":["zama-ai/fhevm-go"],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/zama-ai/fhevm-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zama-ai%2Ffhevm-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zama-ai%2Ffhevm-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zama-ai%2Ffhevm-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zama-ai%2Ffhevm-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zama-ai","download_url":"https://codeload.github.com/zama-ai/fhevm-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zama-ai%2Ffhevm-go/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262969880,"owners_count":23392530,"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":["blockchain","cryptography","encryption","evm","fhe","fully-homomorphic-encryption","golang","privacy"],"created_at":"2025-07-01T13:09:08.059Z","updated_at":"2025-07-01T13:09:08.935Z","avatar_url":"https://github.com/zama-ai.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003c!-- product name logo --\u003e\n  \u003cimg width=600 src=\"https://github.com/zama-ai/fhevm/assets/1384478/265d051c-e177-42b4-b9a2-d2b2e474131b\"\u003e\n\u003c/p\u003e\n\u003chr/\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://docs.zama.ai/fhevm-go\"\u003e 📒 Read documentation\u003c/a\u003e | \u003ca href=\"https://zama.ai/community\"\u003e 💛 Community support\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003c!-- Version badge using shields.io --\u003e\n  \u003ca href=\"https://github.com/zama-ai/fhevm-go/releases\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/zama-ai/fhevm-go?style=flat-square\"\u003e\n  \u003c/a\u003e\n\u003c!-- Zama Bounty Program --\u003e\n  \u003ca href=\"https://github.com/zama-ai/bounty-program\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Contribute-Zama%20Bounty%20Program-yellow?style=flat-square\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003chr/\u003e\n\n**fhEVM-go** is an open-source library used to easily integrate the [fhEVM](https://docs.zama.ai/fhevm) into an EVM-compatible blockchain.\n\n## Main features\n\nfhEVM-go gives your EVM the ability to compute on encrypted data using fully homomorphic encryption by:\n\n- a collection of operations on encrypted data via precompiled contracts\n- various additional EVM components that support encrypted computation\n\n## Getting started\n\nIn order to use the library, you need to clone the repository and build it. This is required because the library depends on the `tfhe-rs` library that needs to be built from source (for now), and Go doesn't support such a build.\n\n```bash\n$ git clone --recurse-submodules https://github.com/zama-ai/fhevm-go\n$ cd fhevm-go\n$ make build\n```\n\nThat's it! You can now use it in your project by adding it to `go.mod`, and adding a `replace` to point to your local build. An example using `fhevm-go` v1.0.0:\n\n```\n...\nrequire(\n    ...\n    github.com/zama-ai/fhevm-go v1.0.0\n    ...\n)\n\nreplace(\n    ...\n    github.com/zama-ai/fhevm-go v1.0.0 =\u003e /path/to/your/local/fhevm-go\n    ...\n)\n...\n```\n\n\u003e [!NOTE]\n\u003e The replace in necessary for now as Go build system can't build the `tfhe-rs` library that `fhevm-go` needs. It's therefore necessary that we build it manually as mentioned above, then point to our ready-to-use directory in `go.mod`.\n\n## Regenerate protobuff files\n\nTo re-generate these files, install `protoc`, `protoc-gen-go` and `protoc-gen-go-grpc` and run protoc\n`cd proto \u0026\u0026 protoc --go_out=../fhevm/kms --go_opt=paths=source_relative --go-grpc_out=../fhevm/kms --go-grpc_opt=paths=source_relative kms.proto \u0026\u0026 cd ..`.\n\n## Documentation\n\nFull, comprehensive documentation is available at [https://docs.zama.ai/fhevm-go](https://docs.zama.ai/fhevm-go).\n\n## Target users\n\nThe library helps EVM maintainers to extend their EVM with the power of FHE. If you are looking for a library to deploy and use smart contracts on an fhEVM, you should better look at [https://github.com/zama-ai/fhevm](https://github.com/zama-ai/fhevm).\n\n## Tutorials\n\n- [Integration guide](https://docs.zama.ai/fhevm-go/getting-started/integration)\n\n## Need support?\n\n\u003ca target=\"_blank\" href=\"https://community.zama.ai\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/5758427/231145251-9cb3f03f-3e0e-4750-afb8-2e6cf391fa43.png\"\u003e\n\u003c/a\u003e\n\n## License\n\n\nThis software is distributed under the BSD-3-Clause-Clear license. If you have any questions, please contact us at hello@zama.ai.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzama-ai%2Ffhevm-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzama-ai%2Ffhevm-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzama-ai%2Ffhevm-go/lists"}