inblockio / aqua-verifier-webextension

A Chrome-Browser web-extension to verify Aqua Protocol data.
https://inblock.io
MIT License
6 stars 2 forks source link

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

Project Structure

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