Maskbook icon indicating copy to clipboard operation
Maskbook copied to clipboard

[Bounty] Integrate ZK-Rollups into Mask

Open LindaMask opened this issue 4 years ago • 6 comments

Catalogue

  • Platform

    • [x] Gitcoin
    • [ ] Hackerlink
    • [ ] Mask
  • Experience

    • [ ] Beginner
    • [ ] Intermediate
    • [x] Advanced
  • Category

    • [ ] Mask Core Feature
    • [x] Mask Plugin
    • [ ] Security/Cryptography Feature
    • [ ] Documentation
    • [ ] Design
    • [ ] Other
      • [ ] /List it here/
  • Time Commitment [x] 4 weeks

  • Bounty Size [x] 5000 USD

Part 1: Problem Description

Background Zero Knowledge-Rollups (ZK-Rollups) is a Layer 2 scalability solution that allows blockchains to validate transactions faster while also ensuring that gas fees remain minimal. Zk-rollups manage to perform better than traditional Layer 1 blockchains like Ethereum because they combine on and off-chain processes.

While the Ethereum mainnet explicitly utilizes on-chain activities to process transactions and validate blocks, Layer 2 zk-rollup solutions introduce off-chain functionalities as well. One of the main components that allow zk-rollups to successfully validate transactions faster than Layer 1 blockchains are Merkle Trees.Merkle Trees are an important mathematical structure that allow blockchains to ensure that no one can fake data in the on-chain records of a zk-rollup.

Solution As the first step of our cooperation, we, Mask Network, would like to integrate ZK-Rollups as one of our default supported blockchain system in our internal Mask Wallet, so that further on-chain interactions would happen directly within Mask Network without leaving the platform. We believe this would further help us attract more users from different projects, aiming at different goals to maximize users experiences in the broad blockchain world.

If you are interested in this bounty, please make sure that you contact us first to see how our structure looks like and proceed to the development afterwards.

Part 2: Resources

  • https://zksync.io/
  • https://github.com/DimensionDev/Maskbook/tree/master/packages/maskbook/src/plugins/Wallet

Part 3: Contact and Support

@yisiliu for ideas @Jack-Works for implementations Mask Network discord server: https://discord.gg/4Xccj7a75Q ZK-Rollups discord server: https://discord.com/invite/px2aR7w

LindaMask avatar Nov 21 '21 02:11 LindaMask

you also need to get familiar with gitcoin to finish post this bounty

example

https://gitcoin.co/issue/barnbridge/bounty-program/14/100026336

Tedko avatar Nov 21 '21 18:11 Tedko

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 5000.0 DAI (5000.0 USD @ $1.0/DAI) attached to it.

gitcoinbot avatar Dec 23 '21 03:12 gitcoinbot

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Workers have applied to start work.

These users each claimed they can complete the work by 264 years, 6 months from now. Please review their action plans below:

1) developerfred has applied to start work (Funders only: approve worker | reject worker).

I would love to integrate zksync.io version 2.0 into Maskbook wallet 2) harjaapdhillon16 has applied to start work (Funders only: approve worker | reject worker).

I have worked with web3 integrations before like the one with unstoppable domains, so I will be pretty much able to get this done to, with some cool code quality ! 3) xinbitiangao has applied to start work (Funders only: approve worker | reject worker).

My family has been very poor since I was a child. I don't have enough to eat every day. I often sleep by the road. I really want to get this reward. Please give me this reward 4) codinglittlecat has applied to start work (Funders only: approve worker | reject worker).

Awesome!!! Could you provide ZK rollup integration APIs? 5) kod101 has applied to start work (Funders only: approve worker | reject worker).

Use snarkjs create javascript proof that can be used on solidity.

Learn more on the Gitcoin Issue Details page.

gitcoinbot avatar Dec 26 '21 07:12 gitcoinbot

@Jack-Works @LindaMask I am starting working on this project but before that could you provide some more information about the project like the structure, etc.

amritkumarj avatar Dec 29 '21 03:12 amritkumarj

@Jack-Works @LindaMask Thanks, for assigning me to the ZkSync project. Can you tell me which swap is used for zksync?

amritkumarj avatar Dec 29 '21 07:12 amritkumarj

Hi @DhruvJain1122 I believe this has been resolved. Thank you

LindaMask avatar Dec 29 '21 14:12 LindaMask