Skip to content

ArdentHQ/arkconnect-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

508 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARK Connect Extension

ARK Connect

ARK Connect is a browser extension for Chrome and Firefox that offers message and transaction signing. ARK Connect allows users to log in, approve actions and interact with the ARK Ecosystem.

Development

Requirements

Used Packages

Setup

  1. Clone this repository with git clone git@github.com:ArdentHQ/arkconnect-extension.git
  2. Setup your .env by running cp .env.example .env and adjusting it to your needs
  3. Install dependencies with pnpm i
  4. Run the application with pnpm dev

Building

Building results in a browser-specific build. There are two commands that exists to achieve this:

pnpm build:chrome
pnpm build:firefox

Pick the one applicable for your environment and it will generate a build in dist/chrome-mv3/ or dist/firefox-mv2/.

Adding the extension to Chrome

  • When the build completes, open Chrome or Edge and navigate to chrome://extensions. Make sure to turn on the developer mode switch.
  • Click on the "Load unpacked extension" button
  • Select the dist/chrome-mv3 folder in this project (after pnpm dev or pnpm build:chrome)

Adding the extension to Firefox

  • When the build completes, open Firefox and navigate to about:debugging.
  • Click on the "This Firefox" button
  • Click on "Load temporary add-on"
  • Select the manifest.json file inside dist/firefox-mv2/

Documentation

For usage on a website, please refer to the dedicated Documentation file

Releasing

Builds are generated automatically by the GitHub workflows on the develop and main branches. These can be used to upload to the web extension stores.

For bumping the version number, update package.json with npm version <major|minor|patch> --no-git-tag-version or by manually incrementing the number

Troubleshooting

This section will highlight common issues and their solutions

pnpm dev runs wxt's dev mode and auto-loads the extension in a fresh browser profile with hot reload. If launching a custom browser binary or starting URL is needed, set VITE_FIREFOX_BINARY and/or VITE_START_URL in .env.

About

ARK Connect Web Extension

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages