Skip to content

inblockio/aqua-verifier-webextension

 
 

Repository files navigation

build

VerifyPage - Chrome Browser Extension

You can install this extension from the Chrome-App-Store here. Current Version 1.2.7

This is a verification client for the micro-pkc https://github.com/inblockio/aqua-PKC it uses the CLI verification tool as an external dependency https://github.com/inblockio/aqua-verifier-js. If you want the latest build, or you want to build it yourself, follow the instructions given here.

Chrome Extension, TypeScript, HTML

Prerequisites

Includes the following

  • TypeScript
  • Webpack
  • React
  • Jest
  • Example Code
    • Chrome Storage
    • Options Version 2
    • content script
    • count up badge number
    • background

Project Structure

  • src/typescript: TypeScript source files
  • src/assets: static files
  • dist: Chrome Extension directory
  • dist/js: Generated JavaScript files

Setup

npm install

Build

npm run build

Build in watch mode to support troubleshooting

terminal

npm run watch

Load extension to chrome

Go to chrome://extensions and enable 'Developer Mode' on the upper right corner. Now you can load dist directory of our local extension, after you completed the build process.

You can also load a pre-build version of the extension.

Test

npx jest or npm run test

Troubleshooting

In npm v17.x we expect the following error while running npm run build:

Error: --openssl-legacy-provider is not allowed in NODE_OPTIONS

to solve it, put this in your .bashrc

export NODE_OPTIONS=--openssl-legacy-provider

About

A Chrome-Browser web-extension to verify Aqua Protocol data.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 95.5%
  • JavaScript 3.0%
  • Other 1.5%