{"id":26515411,"url":"https://github.com/zama-ai/httpz-solidity","last_synced_at":"2025-04-11T20:37:48.289Z","repository":{"id":182574816,"uuid":"574980130","full_name":"zama-ai/httpz-solidity","owner":"zama-ai","description":"A Solidity library for interacting with fhEVM.","archived":false,"fork":false,"pushed_at":"2025-03-20T09:55:19.000Z","size":19911,"stargazers_count":466,"open_issues_count":32,"forks_count":91,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-03-20T10:37:38.829Z","etag":null,"topics":["encryption","evm","fhe","fhevm","solidity","tfhe"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-06T13:49:23.000Z","updated_at":"2025-03-19T21:53:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"e614154f-e59f-40b4-a51f-0f8a82e719a4","html_url":"https://github.com/zama-ai/httpz-solidity","commit_stats":null,"previous_names":["zama-ai/fhevm-solidity","zama-ai/fhevm","zama-ai/httpz-solidity"],"tags_count":58,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zama-ai%2Fhttpz-solidity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zama-ai%2Fhttpz-solidity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zama-ai%2Fhttpz-solidity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zama-ai%2Fhttpz-solidity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zama-ai","download_url":"https://codeload.github.com/zama-ai/httpz-solidity/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248477988,"owners_count":21110609,"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":["encryption","evm","fhe","fhevm","solidity","tfhe"],"created_at":"2025-03-21T06:06:00.326Z","updated_at":"2025-04-11T20:37:48.280Z","avatar_url":"https://github.com/zama-ai.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://github.com/user-attachments/assets/5d44c888-a30a-47a5-86b1-f1a10b58572d\"\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://github.com/user-attachments/assets/f9f6b6e1-db81-4cb7-b962-181802576398\"\u003e\n  \u003cimg width=600 alt=\"HTTPZ\"\u003e\n\u003c/picture\u003e\n\u003c/p\u003e\n\n\u003chr/\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"fhevm-whitepaper-v2.pdf\"\u003e 📃 Read white paper\u003c/a\u003e |\u003ca href=\"https://docs.zama.ai/fhevm\"\u003e 📒 Documentation\u003c/a\u003e | \u003ca href=\"https://zama.ai/community\"\u003e 💛 Community support\u003c/a\u003e | \u003ca href=\"https://github.com/zama-ai/awesome-zama\"\u003e 📚 FHE resources by Zama\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/zama-ai/httpz-solidity/releases\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/zama-ai/fhevm?style=flat-square\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/zama-ai/httpz-solidity/blob/main/LICENSE\"\u003e\n    \u003c!-- markdown-link-check-disable-next-line --\u003e\n    \u003cimg src=\"https://img.shields.io/badge/License-BSD--3--Clause--Clear-%23ffb243?style=flat-square\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/zama-ai/bounty-program\"\u003e\n    \u003c!-- markdown-link-check-disable-next-line --\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Contribute-Zama%20Bounty%20Program-%23ffd208?style=flat-square\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://slsa.dev\"\u003e\u003cimg alt=\"SLSA 3\" src=\"https://slsa.dev/images/gh-badge-level3.svg\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003e [!NOTE]  \n\u003e **Renaming in progress**: The HTTPZ repositories are transitionning to **HTTPZ**. You may see both names referenced for a short time. [Sign up](https://share-eu1.hsforms.com/1F7Z672SsRAeOVyqLdXWn2Q2duixc) to stay informed about the official HTTPZ release.\n\n## About\n\n### What is HTTPZ\n\n**HTTPZ** is a technology that enables confidential smart contracts on the EVM using fully homomorphic encryption (FHE).\n\nThanks to a breakthrough in homomorphic encryption, HTTPZ makes it possible to run confidential smart contracts on encrypted data, guaranteeing both confidentiality and composability with:\n\n- **End-to-end encryption of transactions and state:** Data included in transactions is encrypted and never visible to anyone.\n- **Composability and data availability on-chain:** States are updated while remaining encrypted at all times.\n- **No impact on existing dapps and state:** Encrypted state co-exists alongside public one, and doesn't impact existing dapps.\n  \u003cbr\u003e\u003c/br\u003e\n\n### Main features\n\n- **Solidity integration:** HTTPZ contracts are simple solidity contracts that are built using traditional solidity toolchains.\n- **Simple developer experience:** Developers can use the `euint` data types to mark which part of their contracts should be private.\n- **Programmable privacy:** All the logic for access control of encrypted states is defined by developers in their smart contracts.\n- **High precision encrypted integers :** Up to 256 bits of precision for integers\n- **Full range of operators :** All typical operators are available: `+`, `-`, `*`, `/`, `\u003c`, `\u003e`, `==`, …\n- **Encrypted if-else conditionals :** Check conditions on encrypted states\n- **On-chain PRNG :** Generate secure randomness without using oracles\n- **Configurable decryption :** Threshold, centralized or KMS decryption\n- **Unbounded compute Depth :** Unlimited consecutive FHE operations\n\n_Learn more about HTTPZ features in the [documentation](https://docs.zama.ai/fhevm)._\n\u003cbr\u003e\u003c/br\u003e\n\n### Use cases\n\nHTTPZ is built for developers to write confidential smart contracts without learning cryptography. Leveraging HTTPZ, you can unlock a myriad of new use cases such as DeFi, gaming, and more. For instance:\n\n- **Tokenization**: Swap tokens and RWAs on-chain without others seeing the amounts.\n- **Blind auctions**: Bid on items without revealing the amount or the winner.\n- **On-chain games**: Keep moves, selections, cards, or items hidden until ready to reveal.\n- **Confidential voting**: Prevents bribery and blackmailing by keeping votes private.\n- **Encrypted DIDs**: Store identities on-chain and generate attestations without ZK.\n- **Private transfers**: Keep balances and amounts private, without using mixers.\n\n_Learn more use cases in the [list of examples](https://docs.zama.ai/fhevm/tutorials/see-all-tutorials)._\n\u003cbr\u003e\u003c/br\u003e\n\n\u003e [!Note] \u003e **Zama 5-Question Developer Survey**\n\u003e We want to hear from you! Take 1 minute to share your thoughts and help us enhance our documentation and libraries. 👉 **[Click here](https://www.zama.ai/developer-survey)** to participate.\n\n### Citations\n\nTo cite HTTPZ or the whitepaper in academic papers, please use the following entries:\n\n```text\n@Misc{HTTPZ,\ntitle={{Confidential EVM Smart Contracts using Fully Homomorphic Encryption}},\nauthor={Zama},\nyear={2024},\nnote={\\url{https://github.com/zama-ai/httpz-solidity}},\n}\n```\n\n### Contributing\n\nThere are two ways to contribute to the HTTPZ:\n\n- [Open issues](https://github.com/zama-ai/httpz-solidity/issues/new/choose) to report bugs and typos, or to suggest new ideas\n- Request to become an official contributor by emailing hello@zama.ai.\n\nBecoming an approved contributor involves signing our Contributor License Agreement (CLA). Only approved contributors can send pull requests, so please make sure to get in touch before you do!\n\u003cbr\u003e\u003c/br\u003e\n\n### License\n\nThis software is distributed under the **BSD-3-Clause-Clear** license. Read [this](LICENSE) for more details.\n\n#### FAQ\n\n**Is Zama’s technology free to use?**\n\n\u003e Zama’s libraries are free to use under the BSD 3-Clause Clear license only for development, research, prototyping, and experimentation purposes. However, for any commercial use of Zama's open source code, companies must purchase Zama’s commercial patent license.\n\u003e\n\u003e Everything we do is open source and we are very transparent on what it means for our users, you can read more about how we monetize our open source products at Zama in [this blog post](https://www.zama.ai/post/open-source).\n\n**What do I need to do if I want to use Zama’s technology for commercial purposes?**\n\n\u003e To commercially use Zama’s technology you need to be granted Zama’s patent license. Please contact us at hello@zama.ai for more information.\n\n**Do you file IP on your technology?**\n\n\u003e Yes, all Zama’s technologies are patented.\n\n**Can you customize a solution for my specific use case?**\n\n\u003e We are open to collaborating and advancing the FHE space with our partners. If you have specific needs, please email us at hello@zama.ai.\n\n## Support\n\n\u003ca target=\"_blank\" href=\"https://community.zama.ai\"\u003e\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://github.com/zama-ai/httpz-solidity/assets/157474013/e249e1a8-d724-478c-afa8-e4fe01c1a0fd\"\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://github.com/zama-ai/httpz-solidity/assets/157474013/a72200cc-d93e-44c7-81a8-557901d8798d\"\u003e\n  \u003cimg alt=\"Support\"\u003e\n\u003c/picture\u003e\n\u003c/a\u003e\n\n🌟 If you find this project helpful or interesting, please consider giving it a star on GitHub! Your support helps to grow the community and motivates further development.\n\n\u003cp align=\"right\"\u003e\n  \u003ca href=\"#about\" \u003e ↑ Back to top \u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzama-ai%2Fhttpz-solidity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzama-ai%2Fhttpz-solidity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzama-ai%2Fhttpz-solidity/lists"}