Source code
Web-wallet is built as a monolithic repository were both the backend and frontend are part of the same repository.
Project requirements
JDK17+ - for wallet-backendgradlev7.5.1 - to build the wallet-backend
Nodev.16+ - for wallet-frontendpnpmv.8.1.0+ package manager - to run the wallet-frontend
Project setup
Clone waltid-identity
git clone https://github.com/walt-id/waltid-identity.gitChange into web-wallet backend folder
cd waltid-web-walletwallet-frontend source folder
cd waltid-web-wallet/webBuilding the project
wallet-backend
gradle clean buildwallet-frontend
pnpm installRuntime 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)
cd build/distributions && tar xf waltid-web-wallet-0.0.1.tarcopy the configs from
waltid-web-wallet/configto./waltid-web-wallet-0.0.1/bin/configexecute
./waltid-web-wallet-0.0.1/bin/waltid-web-walletstart wallet-frontend
cd web &&
pnpm devWallet-backend is available at: http://localhost:4545 (the port number configured in web.conf).
Wallet-frontend is available at: http://localhost:3000.
Last updated
Was this helpful?
