Closed
Description
Why
We want to make Lace (which runs in the browser) "Mithril aware", which means that it needs to be able to verify Mithril certificates.
This feature will provide support for light wallet integration with Mithril: retrieve the Utxos of a limited set of addresses with a cryptographic proof.
What
We need to explore the usage of the Mithril client in the browser, which is the first mandatory step toward integration with Lace.
Our first objective is to verify a Mithril certificate in the browser. We want to know if this is possible, and we also want to get a better understanding of what it requires on our end (new developments, how to deliver software, ...)
How
- Compile a "light" binary in WASM that embeds the
STM
library and verifies a multi-signature (can be hard-coded) - Compile a "light" binary in WASM that embeds the
Ed25519-Dalek
library and verifies a genesis signature (can be hard-coded) - Compile a "light" binary in WASM that downloads and verifies the whole certificate chain
-
Compile the client in WASM