thehubbleproject / hubble-contracts

Hubble optimistic rollup
https://thehubbleproject.github.io/docs/
MIT License
133 stars 28 forks source link

Extract BLS lib files to separate repo/package #663

Open jacque006 opened 2 years ago

jacque006 commented 2 years ago

Problem

The Solidity BLS libs in this repo are a separate and reusable component outside of the optimistic rollup functionality in the contracts. As more projects use or build upon BLS functionality they will likely want these components. Currently they must correctly copy/pasta the correct pieces out, and will not have an easy way to get updates.

https://github.com/jzaki/bls-wallet-contracts is one current example.

We already have extracted similar functionality from JS/TS to https://github.com/thehubbleproject/hubble-bls

Solution

jacque006 commented 2 years ago

FYI @ChihChengLiang @kautukkundan @jzaki