# DID KYC

Verify once and use everywhere.

## How to get started

### 1. install `DID KYC` blocklet from ABT Node marketplace

### 2. config the required environments

#### 2.1 MONGO_URI

A valid MongoDB connection url like:

```
mongodb://127.0.0.1:27017/did-kyc
```

#### 2.2 MAILGUN_USER & MAILGUN_PASSWORD

The verifiable credential of email address need [mailgun](https://www.mailgun.com/) service, so we need you provide a
mailgun user and password.

#### 2.3 REACT_APP_CHAIN_ID

A valid chain id, The `REACT_APP_CHAIN_ID` and `REACT_APP_CHAIN_HOST` are one-to-one, you can start a chain by `Blockchain Manager` blocklet, or you can use our test chain:

```
// playground chain id:
playground
```

#### 2.4 REACT_APP_CHAIN_HOST

A valid chain host, you can start a chain by `Blockchain Manager` blocklet, or you can use our test chain:

```
// playground chain host:
https://playground.network.arcblockio.cn/api
```

### 3. start the blocklet
