A Browser extension that keeps the latest state of well known substrate-based chains' specs and bootnodes (Polkadot, Kusama, Rococo, Westend) synced across tabs - using Substrate Connect and Smoldot light client;
The Extension is using Substrate Connect and Smoldot light client packages. This extension, upon browser initiation updates and synchronizes in the well known substrate chain specs (Polkadot, Kusama, Rococo, Westend), keeping them to the latest state inside the extension, for faster chain sync. When a dApp that supports Substrate Connect (e.g. polkadotJS apps) starts in a browser's tab, then it receives the latest specs from the Extension instead of wrap-syncing from the last imported inside the dApp; At the same time, the dApp will appear inside the Extension as "connected" - meaning that it is using the Extension's bootnodes and specs;
Substrate Connect Documentation Page
Download at:
Navigate to the project directory and install the dependencies.
$ pnpm install
To build the extension, and rebuild it when the files are changed, run
- Open a terminal and run
$ pnpm dev
This will initiate a "watch" terminal that will hot reload in every change (Changes polling: 1 second. Aggregation of changes: every 1 second.)
After the project has been built, a directory named dist
has been created.
- Open another terminal and run
- For dev mode on chrome:
$ pnpm start
- For dev mode on Firefox:
$ pnpm start:firefox
- Open Chrome
- Navigate to
chrome://extensions
. - Enable Developer mode.
- Click Load unpacked.
- Select the
dist
directory. (This requires reload of the extension every time a change is made)