Supercolony-net / openbrush-contracts

https://openbrush.io
MIT License
110 stars 26 forks source link

OpenBrush support Zero-knowledge Proof (ZKP)? #82

Open nasa8x opened 2 years ago

nasa8x commented 2 years ago

Hi,

It will be interesting if you add Zero-knowledge Proof support in the future.

Thank you.

xgreenx commented 2 years ago

Hi, could you elaborate more, please? What exactly functionality do you mean because it has a lot of different things?=)

The main problem is the size of contracts. A lot of crypto libraries contain arrays with predefined values and those values take a lot of space. If the functionality doesn't take a lot of sizes, it can be implemented on smart contracts. If it takes, maybe it is better to move it to contract-pallet like https://github.com/paritytech/ink/issues/1068.

nasa8x commented 2 years ago

I mean the same as zkMega, zokrates