REST APIs
Make sure you have Docker or a JDK 16 build environment including Gradle installed on your machine
Docker Build
Local Build
- 1.Cloning the project
git clone https://github.com/walt-id/waltid-walletkit.git
2. Change directory
cd waltid-walletkit
3. Build docker container
docker build --rm -t waltid/walletkit .
4. Run the project
docker run -p 8080:8080 -e WALTID_DATA_ROOT=/data -v $PWD:/data waltid/walletkit run
- 1.Cloning the project
git clone https://github.com/walt-id/waltid-walletkit.git
2. Change directory
cd waltid-walletkit
3. Build the project
./gradlew build install
4. Create an alias
alias walletkit="build/install/waltid-walletkit/bin/waltid-walletkit"
Note: The alias will only exist during the current terminal session and must be set again in any sessions their after
5. Run the project (with alias)
walletkit run
6. Run the project (without alias)
build/install/waltid-walletkit/bin/waltid-walletkit run
To get info about available options of the run command, use:
waltid-walletkit run --help
Refer to the wallet backend configuration section, to find out details about binding address and port on which the REST APIs are exposed.
- Wallet API is available under the context path
/api/
- Verifier portal API is available under the context path
/verifier-api/
- Issuer portal API is available under the context path
/issuer-api/
A swagger documentation (including the issuer and verifier API documentation) is available under
/api/swagger
If you want to start using the API right away without setting up a custom frontend application, you can use one of our prebuild ones to get started.
Last modified 16d ago