- Go 1.13
In order to access edge service image and user agent image you have to create personal token with read:packages and repo permissions (personal token).
Run the following command using your newly generated personal token:
docker login -u <username> -p <github token with read:packages and repo permission> docker.pkg.github.com
- Go 1.13
- Docker
- Docker-Compose
- Make
Run trustbloc-local-setup(make trustbloc-local-setup
) this target will generate:
-
TLS CA located in ~/.trustbloc-local/sandbox/trustbloc-dev-ca.crt (you need to import in cert chain)
-
Hosts entries located in ~/.trustbloc-local/sandbox/hosts (you need copy it to /etc/hosts)
# run checks and unit tests
make all
# run linter checks
make checks
# run unit tests
make unit-test
# start demo components
make demo-start
The following components are started when you run 'make demo-start':
Edge Components:
- Edge Service for creating, storing and verifying credentials
- User Agent is WASM agent for storing and retrieving verifiable credentials using CHAPI
Demo Applications:
Third Party:
- ORY Hydra OAuth2 Server
- Login/Consent App (simple consent app for Hydra)
- ORY Oathkeeper deployed in reverse proxy operating mode
- Strapi Content Management Service
'make demo-start' will also insert demo data into CMS, update ORY Oathkeeper configuration (access rule file) with Strapi admin token and setup up issuer profile for VC service.
You can verify student card data setup by logging in to admin console with user strapi (password: strapi).
After you have started sandbox components using 'make demo-start' register user wallet using following step:
Open user agent register wallet and follow the links.
To create student card verifiable credential open issuer home page and follow the links. You can login as our pre-defined user [email protected] or set-up your own user using Strapi admin application.
After creating student card verifiable credential open rp home page and follow the links.