This demo application features requesting three Verifiable Credentials using Litentry Network API and its Client SDK for JavaScript.
- Node.js 20+
- PNPM 7+
- Polkadot-js Wallet Extension with at least one account.
First, install dependencies using PNPM
pnpm install
Run the development server
pnpm dev
Open http://localhost:3000 with your browser to see the result. Similarly, open the browser's DevTools to see the console log of the request among other useful debug information.
During the processing, you will be asked to connect your Polkadot-js wallet, and sign a transaction to request two verifiable credentials to Litentry Network.
To learn more about Litentry, take a look at the following resources:
- Client-SDK Documentation - learn about Litentry's Client SDK features and API.
- Litentry Documentation - Official documentation of Litentry Protocol.
- Litentry Website - Official website.