IDP Kit Setup
Intro
Before you start with the project setup, make sure you have the following dependencies on your local machine:
Getting Started
For running the project, you have two options: Docker or Gradle.
Cloning the project
git clone https://github.com/walt-id/waltid-idpkit.git2. Changing directory
cd waltid-idpkit3. Open the project in your feavourite IDEA
4. Create a walt.yaml file in the root directory of the project. Values needed are described in the configuration section.
5. Building the project
./gradlew build install6. Creating an alias (optional)
alias idpkit="build/install/waltid-idpkit/bin/waltid-idpkit"Running the IDP-Kit Frontend The frontend with which the user will interact to authenticate by doing a connect wallet.
Change into the frontend directory
cd web/waltid-idpkit-ui/Install dependencies using node v.16
yarn install
or
npm installRunning the project
yarn dev
or
npm run devRun NFT-Kit JS (if ecosystem of your NFTs is not Ethereum or Polygon)
You also need to run the NFT Kit JS, if your NFT collection is not hosted on the Ethereum or Polygon network. Per default, the project will be run under "http://localhost:3000". We will need that in the NFT collection configuration.
Cloning the project
git clone https://github.com/walt-id/waltid-nftkit.git2. Changing directory
cd waltid-nftkit/js3. Run the following command
npm install4. Run the following command
npm i --save-dev @types/bn.js3. Run project
npm startLast updated
Was this helpful?
