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.git
2. Changing directory
cd waltid-idpkit
3. 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 install
6. 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 install
Running the project
yarn dev
or
npm run dev
Run 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.git
2. Changing directory
cd waltid-nftkit/js
3. Run the following command
npm install
4. Run the following command
npm i --save-dev @types/bn.js
3. Run project
npm start
Last updated
Was this helpful?