Web-wallet backend is configured with a set of files describing the configuration using the Hocon format (Human-Optimized Config Object Notation). Things that can be configured relate to:
issuer-portal - the IssuerUrl
environment variable should be set, specifying the location where the issuer-portal can be reached at. By default, it is set to http://localhost:8080
. For local development, this can be updated in the wallet-frontend .env
file:
Storage configuration describes which database should be used for data persistence and the connection string required to connect to the database. This information is organized in 2 separate configuration files:
db.conf
- database configuration
db.<database>.conf
- datasource configuration
Database configuration holds the datasource configuration filename (with no extension). The content of this configuration file will then be loaded and used as the connection string for the database. The filename should have the following format: db.<database>
The database configuration is stored in the config/db.conf
.
They hold the connection string used to connect to the chosen database.
Can be found in config/db.sqlite.conf
Can be found in config/db.postgres.conf
Credential configurations set up the environment for functions related to authorization, credential, DID and key management. Currently, the following configurations are available:
specifies the remote location which web-wallet backend should use to proxy all the credential management, key management, DID management and authentication requests to. The configuration is stored in the wallet.conf
file.
e.g. wallet configuration
A push notifications service can be configured so that the end-user will receive notifications for both when they receive a credential accept request or a verification request. The configuration is stored in the push.conf
file.
e.g. push notifications configuration
Token-related configurations hold token auxiliary data mapping. Currently, there are 2 configurations available:
Chain explorer configuration holds the mapping of chains to their respective explorer location. It is stored in the chainexplorer.conf
file.
e.g. chain explorer configuration
Marketplace configuration holds the mapping of chains to their respective marketplace location. It is stored in the marketplace.conf
file.
e.g. marketplace configuration
In order to be able to fetch NFT data for owner addresses, the NFTKit dependency should also be configured for the desired chains.
Refer to for details about NFTKit configurations. The walt.yaml
configuration file should be mounted under the project's root folder: waltid-web-wallet/walt.yaml
.