SSI eIDAS Bridge API service linking the European Trust and Legal Framework, named eIDAS (electronic IDentification, Authentication and trust Services), with the Self-Sovereign Identification (SSI) global trust framework, based on Decentralized Identifiers, or DIDs.
You need:
- Node.js >= 12
- Yarn >= 1.22.0
Clone the repository and move to the project directory
git clone https://github.com/validatedid/ssi-eidas-bridge
cd ssi-eidas-bridge
Copy .env.example
to .env
and set the following environment variables:
BRIDGE_ENV
: set to test, local, integration, development or productionAPI_PRIVATE_KEY
<-- TYPE HERE API PRIVATE KEY IN HEX FORMAT
Build and Run ssi-eidas-bridge Docker Image
docker-compose up --build
To stop the container, just press Ctrl^C
and to remove the container:
docker-compose down
Clone the repository and move to the project directory
git clone https://github.com/validatedid/ssi-eidas-bridge
cd ssi-eidas-bridge
Install the required libraries and packages dependencies
yarn install
Build project
yarn build
Start the swagger service API
yarn start
This command starts a node server exposing the SSI eIDAS Bridge Swagger API at http://localhost:9002/ssi-eidas-bridge/v1/api-docs/ where you can play with the API.
Copy .env.example to .env and set the following environment variables:
# Set to test, local, integration, development or production
BRIDGE_ENV=local
# DSS service used to validate the URL. DSS webapp demo can be deployed locally using Docker too,
# checkout this example: https://github.com/validatedid/dss-service
DSS_URL="https://ec.europa.eu/cefdigital/DSS/webapp-demo"
# REDIS key-value storage to store the p12 certificates.
REDIS_URL=127.0.0.1
REDIS_PORT=6379
Run:
yarn test:unit
Run:
yarn test:e2e
Run:
yarn test
This project contains the SSI eIDAS Bridge Service,linking the European Trust and Legal Framework, named eIDAS (electronic IDentification, Authentication and trust Services), with the Self-Sovereign Identification (SSI) global trust framework, based on Decentralized Identifiers, or DIDs.
You can read the documentation at https://api.vidchain.net/ssi-eidas-bridge/v1/api-docs.