Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@0xpolygonid/snap-example

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xpolygonid/snap-example

PolygonID MetaMask Snap example

  • 1.0.0-beta.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

PolygonID snap example

Welcome to the PolygonID snap example repository! This repository serves as a demo project showcasing the usage of the snap library from 0xPolygonID for Verifiable Credentials and did:pkh.

Overview

The PolygonID snap example repository demonstrates how to integrate and utilize the snap project to enable zero-knowledge proof sharing for Verifiable Credentials and did:pkh. With snap, you can enhance privacy and security in credential verification processes by leveraging zero-knowledge proofs.

This example project provides a clear starting point for understanding and experimenting with the capabilities of snap in the context of Verifiable Credentials and did:pkh. It showcases how to set up the project and utilize the library to perform zero-knowledge proof sharing.

Features

  • Demonstrates zero-knowledge proof sharing for Verifiable Credentials and did:pkh.
  • Includes sample code showcasing the usage of snap in a practical scenario.
  • Requires the installation of Metamask and Flask for a complete demonstration.

Getting Started

To get started with the PolygonID snap example project, follow these steps:

  1. Clone the repository: Begin by cloning this repository to your local machine using the following command:

     git clone https://github.com/0xPolygonID/snap-example.git
    

2. **Install dependencies**: Navigate into the project directory and install the required dependencies using Yarn or npm:

cd snap-example yarn install


3. **Install Metamask Flask**: Install Metamask Flask, a browser extension wallet, to interact with the demo application. You can find installation instructions on the [Metamask website](https://metamask.io/flask/).

4. **Run the project**: Once the dependencies are installed, you can run the project using the provided scripts:

yarn start


This command will start the application, and you can access it in your browser at `http://localhost:8000`.

5. **Explore the demo**: The project includes sample code and a guided demonstration of zero-knowledge proof sharing for Verifiable Credentials and did:pkh. Follow the instructions provided in the demo application to understand and experience the capabilities of `snap`.

FAQs

Package last updated on 01 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc