Git Product home page Git Product logo

mingderwang / zksync Goto Github PK

View Code? Open in Web Editor NEW

This project forked from matter-labs/zksync

0.0 2.0 0.0 365.92 MB

zkSync: trustless scaling and privacy engine for Ethereum

Home Page: https://zksync.io

License: Apache License 2.0

Shell 0.30% JavaScript 1.45% Dockerfile 0.23% HTML 0.02% Vue 1.32% Rust 76.91% PLpgSQL 0.07% TypeScript 13.15% CSS 0.01% Solidity 6.22% SCSS 0.01% Jsonnet 0.33%

zksync's Introduction

zkSync: scaling and privacy engine for Ethereum

Logo

Live on Mainnet Live on Rinkeby Live on Ropsten Join the technical discussion chat at https://gitter.im/matter-labs/zksync

zkSync is a scaling and privacy engine for Ethereum. Its current functionality scope includes low gas transfers of ETH and ERC20 tokens in the Ethereum network.

Description

zkSync is built on ZK Rollup architecture. ZK Rollup is an L2 scaling solution in which all funds are held by a smart contract on the mainchain, while computation and storage are performed off-chain. For every Rollup block, a state transition zero-knowledge proof (SNARK) is generated and verified by the mainchain contract. This SNARK includes the proof of the validity of every single transaction in the Rollup block. Additionally, the public data update for every block is published over the mainchain network in the cheap calldata.

This architecture provides the following guarantees:

  • The Rollup validator(s) can never corrupt the state or steal funds (unlike Sidechains).
  • Users can always retrieve the funds from the Rollup even if validator(s) stop cooperating because the data is available (unlike Plasma).
  • Thanks to validity proofs, neither users nor a single other trusted party needs to be online to monitor Rollup blocks in order to prevent fraud.

In other words, ZK Rollup strictly inherits the security guarantees of the underlying L1.

To learn how to use zkSync, please refer to the zkSync SDK documentation.

Development Documentation

The following guides for developers are available:

Projects

Changelog

Since the repository is big and is split into independent components, there is a different changelog for each of its major parts:

License

zkSync is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT for details.

zksync's People

Contributors

alekseysidorov avatar andreysobol avatar antond3 avatar baldyash avatar barichek avatar bors-matterlabs-dev[bot] avatar bradfora avatar deniallugo avatar dennybaa avatar dependabot[bot] avatar dvush avatar furkhat avatar gluk64 avatar hedgar2017 avatar huitseeker avatar jazzandrock avatar lispc avatar ly0va avatar perekopskiy avatar popzxc avatar saitima avatar shamatar avatar slumber avatar stanislavbreadless avatar syuhei176 avatar thor314 avatar tsionyx avatar tymurkhr avatar vladbochok avatar voron200 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.