Skip to content

wwWallet/wallet-ecosystem

Repository files navigation


wwWallet
Wallet Ecosystem


Quickstart

Prerequisites:

  • Docker & Docker Compose

Clone

git clone [email protected]:wwwallet/wallet-ecosystem.git
cd wallet-ecosystem/
git submodule init      #initialize your local configuration file
git submodule update    #fetch code from all repos
git submodule update --remote  # to get update all submodules from the remote repos and merge

Setup

  1. Follow the instructions of wallet-frontend and wallet-backend-server to setup the environment.

  2. Configure /etc/hosts

Add the following lines in the /etc/hosts file:

127.0.0.1 wallet-frontend
127.0.0.1 wallet-backend-server
127.0.0.1 wallet-enterprise-issuer
127.0.0.1 wallet-enterprise-acme-verifier
  1. Start the ecosystem
node ecosystem.js up -t

The argument -t forces the usage of the docker-compose.template.yml

For demonstrative purposes, we set up a small ecosystem with:

  • 1 Wallet Provider
  • 1 Credential Issuer
  • 1 Verifier

The configuration of the issuing legal entities takes place with the following:

node ecosystem.js init

For more options, see:

node ecosystem.js up --help

To shut down the ecosystem run the following command:

node ecosystem.js down

Supported Flows

Wallet-initiated Issuance Flow (Authorization Code Grant)

  • Start the issuing from the wallet: http://localhost:3000/add
  • Redirect to the issuing platform and select a method of authentication
  • Fetch, review and select a credential
  • Return to the wallet with the received credential

Verifier-initiated Presentation Flow

Documentation

Visit https://wwwallet.github.io/wallet-docs/

Contribution Guidelines

Want to contribute? Check out our Contribution Guidelines for more details!