-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Hi, I am looking into the feasibility of bundling this wallet inside a browser extension (Manifest V2):
- https://developer.chrome.com/extensions/
- https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions
Initial idea is to have a browser action button that when clicked, loads the wallet inside a popup or in a new tab.
There are two ways of doing that:
- Loading everything from https://wallet.glif.io when user clicks on browser action icon.
- Bundling HTML+JS+CSS inside of extension, making UI load instantly even when remote server at https://wallet.glif.io is down.
The latter is preferable, because it also means we can harden supply chain and host it on IPFS, and trust CID instead of TLS cert fingerprint and DNS.
I tried to pre-build everything with next export, which outputs to ./out/, but when I try to load static version in a browser (npx http-server ./out -a 127.0.0.1 -p 3000 -c-1), there is just a blank white page without any errors in console.
Is static mode supported at all? Any suggestions/concerns?
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed