Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

injikhr/did-core

Repository files navigation

Injik/did-core

Microservice sub-repository for injik/did-core

Prerequisite

To develop, npm must be installed on your development machine.

Also, project id of Infura is needed for both developing and running it.

You must do export INFURA_PID=${PROJECT_ID} to run this.

Code development

  1. Install dependencies:
npm install; git restore package*.json
  1. Build source
npm run build
  1. Build and run
npm run start

Usage

As Injik/did-core is designed to use as a Kubernetes pod, it's packaged as a Docker image.

You can find and use it in Docker hub

Here's example of how to run a container:

docker run -d \
-p 60071:7771 \
-h 0.0.0.0 \
-e INFURA_PID=${YOUR_INFURA_PROJECT_ID} \
haeramkeem/did-core