fluidex / circuits

GNU Affero General Public License v3.0
10 stars 5 forks source link

feature: add signature validation in PlaceOrder #95

Closed lispc closed 3 years ago

HAOYUatHZ commented 3 years ago

We would like to add signature verification in https://github.com/Fluidex/circuits/blob/master/src/place_order.circom like in

First, try to add this feature to https://github.com/Fluidex/circuits/blob/master/src/place_order.circom.

Then, try to upgrade https://github.com/Fluidex/circuits/blob/master/tpl/ejs/src/place_order.circom.ejs to generate the new https://github.com/Fluidex/circuits/blob/master/src/place_order.circom.

Third, upgrade the corresponding test https://github.com/Fluidex/circuits/blob/master/test/place_order.ts like in