Skip to content

Browser extension #513

@lidel

Description

@lidel

Hi, I am looking into the feasibility of bundling this wallet inside a browser extension (Manifest V2):

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:

  1. Loading everything from https://wallet.glif.io when user clicks on browser action icon.
  2. 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

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions