Cointime

Download App
iOS & Android

Nexus: Enabling General Purpose Verifiable Cloud Computing

Validated Individual Expert

Introduction

Verifiable cloud computing presents the possibility of outsourcing the computation of traditional programs (e.g. written in Rust or C++) to remote servers, such as those provided by AWS or Google Cloud, and receiving both the output of the program and a proof that verifies the correctness of the computation. This would allow users to outsource computation to untrusted servers while retaining the ability to verify the results.

The potential impact of verifiable cloud computing, especially in the blockchain space, is hard to fathom. By enabling smart contracts to outsource computation, storage, and interactions with other systems in a mathematically verifiable manner, this technology holds the promise of massively enhancing the computational capabilities of smart contract systems.

Nexus is an attempt at achieving general-purpose verifiable cloud computing, designed in particular to scale Ethereum applications. In this paper, we provide a brief overview of the main innovations our team is working on to enable this future.

Verifiable Computing

Verifiability can be defined and achieved in different ways. Generally, we have:

  • Proofs of validity: Through zero-knowledge proofs / zk-SNARKs, a verifier can mathematically verify that a certain program was computed correctly.
  • Proofs of fraud: One can instead provide proofs of in-validity. This is usually referred to as optimistic computation, and requires at least one honest party to identify and prove fraud was committed.
  • Proofs of consensus: Instead of requiring mathematical correctness, one may assume that a threshold (t-of-N) of parties are honest or economically rational actors. This is the approach taken by blockchains and sidechains.

Each approach has significant tradeoffs between ease of implementation and security, but generally speaking zero-knowledge proofs provide the best security guarantees, while consensus/state-machine-replication provides the most practical and powerful primitive today.

Safety and Liveness

Verifiability alone is not enough. Enabling truly unstoppable decentralized applications requires providing two security guarantees:

  • Safety: This is equivalent to the verifiablity / correctness property.
  • Liveness: Ensures the application will eventually execute, i.e. it is censorship-resistant.

Systems like optimistic and zk rollups may provide safety (through fraud proofs / ZKPs), but not liveness (e.g. if they have a centralized sequencer). A system which provides both safety and liveness is said to be totally correct.

Nexus: Enabling Totally Correct General-Purpose Cloud Computing

Nexus is a decentralized marketplace for verifiable cloud computing.

It enables developers to host serverless cloud applications written in traditional languages (e.g. Rust, C++, Go), similar to AWS Lambda, while enjoying both safety and liveness guarantees.

Nexus comes in two flavors: Nexus and Nexus Zero, which build on top of each other.

Nexus Zero: A Zero-Knowledge Cloud Computing Network

Nexus Zero is a decentralized network of off-chain zero-knowledge provers, which allow Ethereum smart contracts to outsource general computation. [1]

It is comprised of three components:

  • A general-purpose zero-knowledge virtual machine (zkVM).
  • A permissionless network of provers.
  • A decentralized market-making network.

Applications on Nexus Zero are stateless “zk-Functions”, which are invoked directly by smart contracts.

Underneath, Nexus Zero is based on a zk-SNARK implementation that supports executions on a universal von Neumann RISC-V machine. In practice, this means that instead of compiling a program to different circuit representations, Nexus Zero uses a single unversal circuit that can prove any computation (within an upper bound on the runtime).

Nexus: A Decentralized Cloud Computing Network

Nexus is a decentralized network of decentralized cloud computing networks [2]. In other words, it is a network of independent, externally-aware “serverless blockchains”.

Applications on Nexus are stateful “Nexus Functions”, invoked directly by smart contracts.

In particular, Nexus networks can be used to outsource computation, storage, and I/O capabilities from smart contract systems. Nexus networks can also be used to replicate any prover system (e.g. ZK / optimistic), and in general do anything one can do with AWS / Google Cloud, but with total correctness guarantees.

Nexus networks reach internal consensus and can communicate with external systems through special-purpose multi-party computation techniques, like threshold signature schemes. Node incentivation is based on traditional Proof-of-Stake.

Thus, one can use Nexus to immediately spin up an Ethereum-connected “serverless blockchain”. In particular, these networks can serve as sidechains, oracle networks, storage / data-availability networks, keeper-networks, decentralized sequencer networks or special-purpose blockchains.

Nexus: Simplicity

Beyond achieving general-purpose verifiable cloud computing, one of our central goals at Nexus Labs is to provide an extremely simple and enjoyable developer experience.

That is why both Nexus and Nexus Zero are designed to provide an experience indistinguishable from traditonal cloud computing. Developers can write programs in traditional languages and import their favorite libraries.

The above is an example of an Ethereum-connected stateless “Lambda Function” on Nexus, which is invoked on every new block. Functions also have access to storage and a local POSIX-like filesystem.

In addition, Nexus functions can also be stateful (keep state between invocations) just like a smart contract, and unlike smart contracts they can run long-running tasks, like rollup sequencers or any zero-knowledge prover as long as it is 1) deterministic and 2) compiles to WASM.

Conclusion

General-purpose verifiable cloud computing opens new uncharted territory for innovation in blockchain scalability, a future that promises massively enhanced computational capabilities for blockchains, rollups and smart contracts.

At Nexus Labs we are working to enable exactly this future, and we believe that mathematics, cryptography and distributed systems hold the key.

About the Author

Daniel Marin is the founder of Nexus Labs, a scientific organization building Nexus, a decentralized network for verifiable cloud computing. He studied Computer Science, Theoretical Physics and Mathematics at Stanford, advised by Dan Boneh. He has previously interned at Google and the Stanford DAWN AI Lab, and was 2x medallist at the International Physics Olympiad. Daniel has been part of the Stanford Blockchain Club research team, and enjoys working at the limits of computing, cryptography and distributed systems.

References

[1] More in depth about Nexus Zero’s implementation: https://blog.nexus.xyz/zero/

[2] Nexus’ Litepaper: https://blog.nexus.xyz/introducing-nexus/

Comments

All Comments

Recommended for you

  • BTC Surpasses $82,000

    Market data shows that BTC has surpassed $82,000, currently priced at $82,038.65, with a 24-hour increase of 0.31%. The market is experiencing significant volatility, so please ensure proper risk management.

  • ETH Surpasses $2400

    Market data shows that ETH has surpassed $2400, currently priced at $2400.26, with a 24-hour decline of 1.33%. The market is experiencing significant volatility, so please ensure proper risk management.

  • BTC Surpasses $81,000

    Market data shows that BTC has surpassed $81,000, currently priced at $81,016.34, with a 24-hour decline of 1.53%. The market is experiencing significant volatility, so please ensure proper risk management.

  • BTC Falls Below $80,000

    Market data shows that BTC has fallen below $80,000, currently priced at $79,940.09, with a 24-hour decline of 3.44%. The market is experiencing significant volatility, so please ensure proper risk management.

  • Philadelphia Semiconductor Index Set to Lose Over $2 Trillion in Market Value in Seven Trading Days

    The Philadelphia Semiconductor Index is poised to evaporate over $2 trillion in market value within seven trading days.

  • Philadelphia Semiconductor Index Drops 4% to Lowest Level in Nearly a Month

    The Philadelphia Semiconductor Index fell by 4.01% during the day, currently reported at 11,215.37 points. Nvidia dropped by 3.25%, Broadcom fell by 2.87%, Micron decreased by 5.79%, Intel declined by 5.81%, AMD dropped by 6.28%, Qualcomm rose by 0.66%, TSMC fell by 4.37%, and ASML decreased by 3.34%.

  • Philadelphia Semiconductor Index Falls 4% to Lowest Level in Nearly a Month

    The Philadelphia Semiconductor Index dropped 4.01% during the day, currently reported at 11,215.37 points. Nvidia fell by 3.25%, Broadcom by 2.87%, Micron by 5.79%, Intel by 5.81%, AMD by 6.28%, Qualcomm rose by 0.66%, TSMC fell by 4.37%, and ASML dropped by 3.34%.

  • Ripple Prime Launches Perpetual Contract Trading Services for Institutional Clients

    According to Bloomberg, Ripple's main brokerage division, Ripple Prime, is launching perpetual contracts for real-world assets (RWA) aimed at institutional clients, covering over 100 reference markets including stocks, indices, ETFs, and commodities. This product is offered through Trade.xyz on Hyperliquid, continuing Ripple Prime's previous initiative to provide clients with access to cryptocurrency perpetual contract trading.

  • NYC Comptroller Urges Anthropic to Pause IPO Plans

    On October 15, New York City Comptroller Mark Levine stated in an interview that he has written to Anthropic CEO Dario Amodei, urging the company to suspend its planned initial public offering (IPO). In the letter, he called for Anthropic to pause its IPO plans until it can fully and transparently address concerns related to AI safety, governance, and development that the company itself has raised. Levine wrote that the company should focus on mitigating these risks rather than advancing the IPO. Currently, New York City has an investment exposure of less than $10 million in Anthropic through the private market.

  • US September PPI Rises 6.3% Year-on-Year, Exceeding Market Expectations

    The US Producer Price Index (PPI) for September recorded a year-on-year increase of 6.3%, the highest since May 2026, surpassing market expectations of 5.3%. The month-on-month PPI for September was reported at 1.3%, significantly higher than the market forecast of 0.5%. Additionally, US retail sales for September showed a month-on-month increase of 0.8%, also exceeding market expectations.