-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application: Cyferio Hub #2462
base: master
Are you sure you want to change the base?
Application: Cyferio Hub #2462
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read and hereby sign the Contributor License Agreement. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @moven0831 thanks for the application. Nice to see that you were already a winner in two hackathons. A couple of initial questions:
- The link to the Cyferio SDK gives a 404 error. Is this hosted in a different location now?
- On the Cyferio website, the docs and demo links don't seem to point anywhere.
- What is the expected latency and throughput of the FHE rollups, and how will they compare to traditional rollups?
- What mechanisms will be in place to prevent malicious actors from exploiting vulnerabilities in the cross-chain communication protocols?
- How will the integration with DragonflyDB improve the scalability and performance of Cyferio Hub, especially in terms of transaction throughput and latency?
- What are the expected limits on the size and complexity of confidential computations that can be performed on the platform?
pinging @moven0831 |
Hi @keeganquigley and @semuelle , thanks for the nice questions and reminders (sorry for missing the message). Our team have done some research and here are the responses to the best of our knowledge. Looking forward to your feedback! Repowe have refactored our github repo recently and are ready to open-sourced them. please check them on
Websitethe website is currently under construction. we will update it as soon as possible.
Benchmarks on the size, complexity, latency and throughput of confidential transactions that can be performed on the FHE rollups created by Cyferio SDKWe have done some benchmarks on confidential token transfers. This is done on single sequencer node and a consumer-grade machine. Notice that with production-grade hardware and increasing the number of sequencer nodes, the performance can be further improved.
The details of the benchmarks are available here: https://github.com/cyferio-labs/cyferio-sdk/blob/d3a4601fa4d9f13301ce54a9144614e9cc796871/benchmarks/log_20241219.txt Moreover, we want to highlight that Zama has done some benchmarks on the confidential token transfers. They have done it on production-grade hardware and the results shows that the performance of confidential transactions can be dramatically improved. With advancements in FHE algorithms and hardware such as GPUs and ASICs, we strongly believe confidential transactions will continue to improve in size, complexity, and speed, eventually reaching mass adoption. Machine Info for Zama's benchmarks:
Table: Encrypted ERC20 transfers benchmarks
The details of Zama's benchmarks are available here: https://github.com/zama-ai/fhevm/blob/main/fhevm-whitepaper-v2.pdf Comparison with traditional rollupsCompared to FHE Rollups, Optimistic Rollups have the following advantages:
Nonetheless, again, FHE Rollup is one of the most feasible solutions to have confidential applications achieve mass adoption without the need of upgrading the mainstream blockchains. On the other hand, the FHE Coprocessor approach is better suited for simpler applications, as it results in high latency and gas fees for more complex uses. And it's the only viable way to build comprehensive privacy-preserving dApps such as Confidential DEX, Confidentail DID and Governance since Cyferio SDK is highly modularized and can be easily customized for the needs of different scenarios to lower the cost of development. Future mechanisms to prevent malicious actors from exploiting vulnerabilities in the cross-chain communication protocols.We understand the concerns of the community and are actively working on developing mechanisms to ensure the security of the cross-chain communication. One way is to collaborate with a mature cross-chain communication protocol, such as those utilized within the Polkadot ecosystem, the team can leverage proven security measures (from Polkadot's shared security model) and established best practices that have been vetted by a broader community of parachains and relay chains. Moreover, other feasible solutions are also being considered, such as diversified validator sets, robust smart contract audits, and secure key management are also in our roadmap. Integration with DragonflyDB will improve the scalability and performance of Cyferio Hub in terms of transaction throughput and latencyScenario 1 (FHE Ciphertext Transactions):We leverage DragonflyDB to efficiently handle computationally intensive tasks. Specifically, in dealing with FHE ciphertexts and operations among them, its optimized memory management mitigates the high ciphertext blow-up rate (typically 100x to 1000x), reducing TPS and ensuring consistent latency. This enables Cyferio Hub to confidently scale encrypted transaction loads from FHE rollups. Scenario 2 (Ordinary Transactions):In terms of StateDB, compared directly to RocksDB that we've used for now, DragonflyDB's benchmarks show a superior QPS (queries-per-second), more efficient resource utilization with in-memory data store, all of which ensure that as transaction volume increases, performance remains stable and users experience minimal delays. |
Project Abstract
Grant level
Application Checklist
project_name.md
).@_______:matrix.org
(change the homeserver if you use a different one)