2.4 KiB
GHOST Connect - Light Client Browser Extension
Overview
Welcome to GHOST Connect - the ultimate light client! GHOST Connect leverages the power of a light client that implements the JSON RPC to provide a highly resilient, efficient, and user-friendly wallet experience. This extension will be able to instantly connect any DApp to GHOST and CASPER chains without the hassle of waiting for synchronization.
Getting Started
Download
You can download pre-build extension for browser of your choice here.
- Chromium-based Browsers - Use official guide to install
- Firefox-based Browsers - To install extension temporary check official guide here
NOTE: if you are using Brave Browser go to Options right after the installation and follow the instructions
Prerequisites
Installation
Clone the repository and install dependencies:
pnpm install
# to build chrome extension
pnpm build:chrome
# to build firefox extension
pnpm build:firefox
Running the GHOST Connect
Start the development server:
pnpm dev
In another terminal:
pnpm start
This will open the extension in a browser window.
How it Works
GHOST Connect runs a single light client instance inside of the user's browser.
When a dapp connects to GHOST Connect, its connection to the blockchain is
forwarded to that light client instance. Inside the extension, we use low level
API libraries such as the observable-client, substrate-client, and json-rpc-provider to
maintain a connection to light client.
If light client were to crash, GHOST Connect will automatically re-connect. However, from the dapp perspective, you will be disconnected and it will be your responsibility to re-connect back to GHOST Connect.
Giving Feedback
If you encounter any issues while using the extension, please don't hesitate to open an issue ticket.
