LogoLogo
ProductsCommunityGitHubShare Feedback
Wallet Kit
Wallet Kit
  • What is the Wallet Kit?
    • Introduction
    • Transition To The Community Stack
    • Self-Sovereign Identity
      • SSI | Basics
      • Technology & Concepts
    • Wallet Kit
      • Wallet Kit | Basics
        • Overview
        • Functionality
      • Architecture
    • Issuer & Verifier Portals
      • Functionality
      • Architecture
  • Getting started
    • Quick Start
    • CLI | Command Line Interface
    • REST APIs
      • Issuer Configuration
      • Credential Templates
      • Credential Issuance
      • Credential Verification
    • Dependency (JVM)
    • Frontend
    • Public deployments
    • Demo
    • Build
      • Docker Build
        • Docker
      • Local Build
  • Configuration and Setup
    • Wallet backend setup
    • Issuer portal setup
    • Verifier portal setup
  • Concepts
    • OpenID Connect (OIDC)
      • OIDC for Credential Issuance
      • OIDC for Verifiable Presentations (SIOP)
      • Issuance via OIDC for Verifiable Presentations (SIOP)
  • Ecosystems
    • IOTA
      • Tutorials
        • Login With IOTA
  • Community
    • Discord
    • Twitter
    • Newsletter
    • GitHub Discussions
  • DEVELOPER RELATIONS
    • Roadmap
    • Contribute
    • Share Feedback
    • Contact
  • Product Editions
    • Open Source | Always Free
    • Enterprise
    • Cloud Platform
Powered by GitBook
On this page
  • Installation & Running the Project
  • Configuration

Was this helpful?

Export as PDF
  1. Getting started

CLI | Command Line Interface

The wallet backend provides a simple command line interface, to run and/or configure the backend, including the issuer and verifier backends.

Installation & Running the Project

Make sure you have Docker or a JDK 16 build environment including Gradle installed on your machine

  1. Cloning the project

git clone https://github.com/walt-id/waltid-walletkit.git

2. Change directory

cd waltid-walletkit

3. Build docker container

docker build --rm -t waltid/walletkit .

4. Create an alias

alias waltid-walletkit="docker run -p 8080:8080 -e WALTID_DATA_ROOT=/data -v $PWD:/data waltid/walletkit"

4. Run the project (with alias)

waltid-walletkit run

6. Run the project (without alias)

docker run -p 8080:8080 -e WALTID_DATA_ROOT=/data -v $PWD:/data waltid/walletkit run

  1. Cloning the project

git clone https://github.com/walt-id/waltid-walletkit.git

2. Change directory

cd waltid-walletkit

3. Build the project

./gradlew build install

4. Create an alias

alias waltid-walletkit="build/install/waltid-walletkit/bin/waltid-walletkit"

Note: The alias will only exist during the current terminal session and must be set again in any sessions their after

5. Run the project (with alias)

waltid-walletkit run

6. Run the project (without alias)

build/install/waltid-walletkit/bin/waltid-walletkit run

To get info about available options of the run command, use:

waltid-walletkit run --help

Configuration

For configuring keys and DIDs (especially for the Issuer or Verifier backends), the wallet backend integrates some commands from the SSI Kit for key and DID management.

The config command lets you define the context in which you want to execute the command, by specifying the arguments --as-issuer, --as-verifier or --as-user [userID] or their shortcuts -i, -v, -u [userID], before the respective subcommand.

E.g.

waltid-walletkit config --as-issuer did list

This command lists the DIDs available in the context of the issuer backend.

To get info about available options of the config command, use:

waltid-walletkit config --help

For more details about the integrated commands, you may want to refer to the documentation of the SSI Kit, which you find here:

PreviousQuick StartNextREST APIs

Last updated 1 month ago

Was this helpful?

More options how to build the project can be found .

here
SSI Kit