Please be aware that although the wallet can be used to issue credential, manage presentation definitions, receive and present credentials using the OID4VC set of specifications, the wallet is still in an alpha stage.
This module is an open-source web wallet. It allows you to receive credentials using OID4VCI and present them using OpenID4VP. The wallet can issue credentials using OID4VCI as well and can manage presentation definitions. In the near future full support for managing the issuer and relying party components will be added. The wallet has support for authorization code flows as well as pre-authorized flows. Support for using EBSI Legal Entity DIDs is also present.
As mentioned above, the wallet is still very much in an alpha stage and needs polishing in many areas. Please take that into mind.
We use pnpm as package manager. Install it with the following command:
npm install --global pnpm
NOTE: After installation be sure to close the terminal window. If installed from your IDE, be sure to close the IDE and start it (do not restart, as it might not pick up the latest environment variables)
Set the NEXTAUTH_URL
environment variable in the .env.local
file or use the shell. The value is the application url:
export NEXTAUTH_URL=<protocol://domain:port/path>
First you should copy the .env.example
file to .env.local
and make the necessary changes.
The Web-Wallet can be started by running the following command.
Development mode
pnpm dev
Production mode
Create a production build
pnpm build
Start the server
pnpm start
The current wallet is using Supabase in certain areas. We are planning to remove that in the short term. Supabase has two options to work with it locally. You can either use a CLI tool that they have provided or use a dockerized solution to do so.
Following the guides above, you can connect and use your local supabase instance.
Please note that the web wallet itself is licensed AGPL, meaning restrictions apply. Our low-level libraries, SDK and mobile wallet are more liberal licensed using Apache2. We do offer alternative licenses if you want to perform make to the code base without the requirement to re-publish as AGPL. Please contact us if this is the case.