Skip to content

Zkred/extension-demo

 
 

Repository files navigation

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

How deploy project as chrome-extension

  1. Run yarn install at root
  2. Need create production build using npm run build command.(Appears 'build' folder)
  3. Visit chrome://extensions/ and turn on "Developer mode"
  4. Click "Load unpacked" button and navigate to the build folder that you created early

If you pull down new changes or make a change to the extension's files locally, you'll need to hit the "refresh" icon in chrome://extensions/ in order to run the new functionality...

Note

contentScripts.js - listening document events, and handle event from site where authEvent will fire

Important: this is demo. Not for use in production.

To run demo also, make sure that file src/constants/common.constants contains a valid rpc url. export const RPC_URL = '';

License

extension-demo is part of the 0xPolygonID project copyright 2024 ZKID Labs AG

This project is licensed under either of

at your option.

About

Example of usage polygonid-js-sdk example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.0%
  • CSS 13.3%
  • HTML 3.7%