mina icon indicating copy to clipboard operation
mina copied to clipboard

Remove mina-signer's dependency on `mina_base` by deriving `fromJSON` from statically generated JS

Open mitschabaude opened this issue 2 years ago • 2 comments

Impact: This will push the size of mina-signer below 4MB, which currently blocks Auro from supporting zkApps in their Firefox wallet

mitschabaude avatar Sep 20 '22 07:09 mitschabaude

How hard is this? The other thing in the pipeline for a while is transitioning the signer to depend on wasm from a rust implementation. Maybe we could still do this in the short term though

bkase avatar Sep 20 '22 12:09 bkase

I don't think this is much work, ~2 days, it's just porting what we do in snarkyjs already to mina-signer, plus a fromJSON method we don't have yet (but want anyway) in snarkyjs

mitschabaude avatar Sep 20 '22 13:09 mitschabaude