+
Skip to content

blockblaz/zeam

Repository files navigation

zeam - Zig Beam Client

Beam Chain is a futuristic ZK based Ethereum Consensus Protocol first unveiled in Devcon 7 Bangkok Thailand, Nov 2024 and is meant to upgrade the current Beacon Chain when ready. Zeam is its production grade implementation (wip).

The heart of Beam Chain is to massively scale and decentralize ethereum consensus with provable and verifiable protocol via ZK-VMs but also bundles some of the other disruptive ideas and learnings on ethereum consensus which could be a bit harder to incrementally implement on the current Beacon Chain.

Beam Chain

Beam Chain Developments & Resources

Client Development

As is the ethos of ethereum community, beam protocol and specs will be developed in open. Zeam will not only translate those specs to an production grade zig client but also actively contribute to development of those specs.

We also will collaborate actively with other Beam clients and collectively will push the protocol to maturity for consideration and deployment to ethereum blockchain.

We are currently doing various POCs/libs development:

And all of these efforts culminating in a ZEAM POC with which we hope to aid in Beam Spec research especially with state transition proving.

As we go along, we will also be maintaining important resources related to beam protocol, ZK and ZK-VMs, and quantum security & updates.

Zig Ecosystem

Zig despite being relatively new is an upcoming ecosystem stack for ethereum protocol. We will aim to further push the stack towards maturity via our modular client approach as well as independent libraries development and contribution.

Please reach out to us if you are actively engaged in developing a library in the ecosystem that you may think we can use and/or contribute to.

Zeam community

Please join us on our community to take part in conversations around Beam Protocol and Zeam Client:

Contributions

Zeam will welcome opensource contributions that meaningfully further the development of Zeam client. Keep Watching out for this space for annoucements on the same or reach out to us via our community telegram group

Build instructions

Prerequisites

  • Zeam requires zig version 0.14.1 to build.
  • Zeam requires Rust 1.85+ to be able to build the rust connections to various zkvms
  • Both risc0 (v3.0.3) and OpenVM provers are supported:
    • risc0 requires the toolchain to be installed: rzup install r0vm 3.0.3
    • OpenVM is self-contained (no external toolchain needed)

Build

In order to build the transition functions (one for each supported zkvm), as well as the whole client, type:

> zig build -Doptimize=ReleaseFast

at the root of the repository.

Running the prover demo

> zig build -Doptimize=ReleaseFast install run -- prove

Local Lean Devnet

To run a local devnet with multiple nodes for testing and development, see the Local Devnet Setup Guide which provides detailed instructions for running a 2-node setup with finalization.

or checkout the lean-quickstart submodule (git submodule update --init lean-quickstart) use the handy command line tool to spin up two nodes for local interop.

Reporting Issues

Open an issue or a bug or else talk to us via our community telegram group.

About

Ethereum Lean client in Zig (wip)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 14

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载