Prerequisites:
- Docker & Docker Compose
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
-
Follow the instructions of wallet-frontend and wallet-backend-server to setup the environment.
-
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
- 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
- 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
- Start from the verifier's platform: http://wallet-enterprise-acme-verifier:8005/
- Select a VC or a combination of VCs to present
- Scan the QR to present your VC(s)
Visit https://wwwallet.github.io/wallet-docs/
Want to contribute? Check out our Contribution Guidelines for more details!