Source code
Web-wallet is built as a monolithic repository were both the backend and frontend are part of the same repository.
Project requirements
JDK
17+ - for wallet-backendgradle
v7.5.1 - to build the wallet-backend
Node
v.16+ - for wallet-frontendpnpm
v.8.1.0+ package manager - to run the wallet-frontend
Project setup
Clone waltid-identity
Change into web-wallet backend folder
wallet-frontend source folder
Building the project
wallet-backend
wallet-frontend
Runtime configurations
Refer to Runtime configurations from the Quick Start section.
Running the project
The modules referenced in the Requirements section from Quick Start need to be available before starting the web-wallet, so that all functions are enabled. Otherwise, the web-wallet will offer only account management functions (sign in / sign up, profile and settings).
The default storage option is sqlite. If postgres is used as the storage option, the database should be available before starting the web-wallet.
start wallet-backend:
extract the build output (either .tar or .zip)
copy the configs from
waltid-web-wallet/config
to./waltid-web-wallet-0.0.1/bin/config
execute
start wallet-frontend
Wallet-backend is available at: http://localhost:4545 (the port number configured in web.conf
).
Wallet-frontend is available at: http://localhost:3000.
Last updated