Skip to content

Commit 9604cd7

Browse files
authored
Merge pull request #214 from 0xPolygonID/develop
Syncing main from develop
2 parents b97845e + 7ca5683 commit 9604cd7

File tree

3 files changed

+44
-18
lines changed

3 files changed

+44
-18
lines changed

docs/issuer/issuer-configuration.md

+27-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The first step in setting up the issuer node is to define the networks it will s
3333
The github repository provides an example file called `resolvers_setting_sample.yaml` this file can be used as a reference to configure the issuer node networks.
3434
You must create a file called resolvers_settings.yaml which must be in the root directory.
3535

36-
Let's see an example of how to configure the issuer node for the Polygon amoy network.
36+
Let's see an example of how to configure the issuer node for the Polygon amoy network and [Privado Identity Chain](/docs/privado-identity-chain.md)
3737
```yaml
3838
polygon:
3939
amoy:
@@ -55,7 +55,33 @@ polygon:
5555
rhsUrl: https://rhs-staging.polygonid.me # RHS URL (setup this if you are using OffChain or All mode)
5656
chainID: 80002 # Polygon amoy chain ID
5757
publishingKey: pbkey # Publishing key path. Left this value as this.
58+
59+
privado:
60+
main:
61+
contractAddress: 0x3C9acB2205Aa72A05F6D77d708b5Cf85FCa3a896
62+
networkURL: https://rpc-mainnet.privado.id
63+
defaultGasLimit: 600000
64+
confirmationTimeout: 10s
65+
confirmationBlockCount: 5
66+
receiptTimeout: 600s
67+
minGasPrice: 0
68+
maxGasPrice: 1000000
69+
rpcResponseTimeout: 5s
70+
waitReceiptCycleTime: 30s
71+
waitBlockCycleTime: 30s
72+
gasLess: false
73+
rhsSettings:
74+
mode: None
75+
contractAddress: 0x7dF78ED37d0B39Ffb6d4D527Bb1865Bf85B60f81
76+
rhsUrl: https://rhs-staging.polygonid.me
77+
chainID: 21000
78+
publishingKey: pbke
5879
```
80+
81+
:::note
82+
Configuring Privado Idenity Chain (privado:main) is necessary as identities on the Privado ID Web Wallet and the Privado ID Wallet App are asociated to this chain. This configuration ensures issuance of credentials to these identities.
83+
:::
84+
5985
Notes about **rhsSettings** mode:
6086
Types:
6187
* Iden3commRevocationStatusV1.0: Centralized mode

docs/issuer/migration-v1-v2.md renamed to docs/issuer/migration-v2-v3.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
id: issuer-migration-guide
3-
title: Migration Guide (v1 to v2)
4-
sidebar_label: Migration Guide (v1 to v2)
5-
description: Guide for migrating from issuer node v1 to v2
3+
title: Migration Guide (v2 to v3)
4+
sidebar_label: Migration Guide (v2 to v3)
5+
description: Guide for migrating from issuer node v2 to v3
66
keywords:
77
- docs
88
- privado id
99
- issuer node
10-
- v1
1110
- v2
11+
- v3
1212
- core
1313
- API
1414
- UI
@@ -18,24 +18,24 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
1818
import Tabs from '@theme/Tabs';
1919
import TabItem from '@theme/TabItem';
2020

21-
# Migration Guide: Upgrading from Issuer Node v1 to v2
21+
# Migration Guide: Upgrading from Issuer Node v2 to v3
2222

23-
We are excited to announce the release of Issuer Node v2. If you are currently running Issuer Node v1, we recommend migrating to the new version as soon as possible.
23+
We are excited to announce the release of Issuer Node v3. If you are currently running Issuer Node v2, we recommend migrating to the new version as soon as possible.
2424

2525
:::note
2626
The migration process is designed to be seamless, with no disruption to previously issued credentials, connections, or the overall functionality of your system.
2727
:::
2828

29-
## Key Enhancements in Issuer Node v2
29+
## Key Enhancements in Issuer Node v3
3030

31-
- **Unified API**: The previous two separate APIs (Core API and UI API) have been consolidated into a single, unified API. This simplifies development, enhances developer experience, and introduces new features like improved credentials status check while retaining all functionalities from v1.
32-
- **Streamlined Credential Issuance**: Issuer Node v2 introduces a simplified credential issuance flow. Now, users can authenticate and receive credentials in a single step using universal links.
33-
- **Flexible Key Management**: The vault setup is now optional, giving developers the freedom to choose their preferred key management tool. Additionally, Issuer Node v2 supports AWS Key Management Service (KMS).
31+
- **Unified API** (v2): The previous two separate APIs (Core API and UI API) have been consolidated into a single, unified API. This simplifies development, enhances developer experience, and introduces new features like improved credentials status check while retaining all functionalities from API v1.
32+
- **Streamlined Credential Issuance**: Issuer Node v3 introduces a simplified credential issuance flow. Now, users can authenticate and receive credentials in a single step using universal links.
33+
- **Flexible Key Management**: The vault setup is now optional, giving developers the freedom to choose their preferred key management tool. Additionally, Issuer Node v3 supports AWS Key Management Service (KMS).
3434
- **Enhanced UI**: The new UI enables the creation of multiple identities supported on multiple networks for an issuer and supports credential issuance through universal links, all seamlessly integrated with the Unified API.
3535

3636
## Migration Steps
3737

38-
If you were using Docker to run Issuer Node and wish to migrate to v2, please follow these steps after backing up your project folder.
38+
If you were using Docker to run Issuer Node and wish to migrate to 3, please follow these steps after backing up your project folder.
3939

4040
#### 1. **Backup Your Database**
4141

@@ -61,7 +61,7 @@ make stop
6161

6262
#### 4. **Pull Changes**
6363

64-
Pull the latest changes for v2 from the main branch of the repository
64+
Pull the latest changes for v3 from the main branch of the repository
6565
```bash
6666
git pull
6767
```
@@ -129,10 +129,10 @@ make run-all
129129
## Additional Notes
130130

131131
- New makefile commands have been added in this release. We recommend reviewing the README file for a comprehensive list.
132-
- Issuer Node v2 continues to support the following endpoints from v1 to ensure compatibility with previously issued credentials:
132+
- Issuer Node API v2 continues to support the following endpoints from v1 to ensure compatibility with previously issued credentials:
133133
- /v1/agent (API reference here)
134134
- /v1/{identifier}/claims/revocation/status/{nonce} (API reference here)
135-
- By following these steps, you should be able to migrate to Issuer Node v2 smoothly and take advantage of the new features and improvements.
135+
- By following these steps, you should be able to migrate to Issuer Node v3 smoothly and take advantage of the new features and improvements.
136136

137137

138138

docs/issuer/setup-issuer-core.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ This article details the steps to set up your own Issuer Node API.
2121

2222
:::caution
2323

24-
Issuer Node v2 is now available, bringing enhanced features and optimizations. If you are using the previous version of Issuer Node (v1), we recommend upgrading to the latest version as soon as possible. To ensure a smooth transition, please follow the migration guide provided [<ins> here </ins>](migration-v1-v2.md/).
24+
Issuer Node v3 is now available, bringing enhanced features and optimizations. If you are using the previous version of Issuer Node (v2), we recommend upgrading to the latest version as soon as possible. To ensure a smooth transition, please follow the migration guide provided [<ins> here </ins>](issuer-migration-guide).
2525

26-
Below is the installation guide for Issuer Node v2.
26+
Below is the installation guide for Issuer Node v3.
2727

2828
:::
2929

@@ -136,7 +136,7 @@ cp .env-issuer.sample .env-issuer
136136

137137
[How to Set Up Issuer Node UI Guide](setup-issuer-ui.md)
138138

139-
[Migrating from Issuer Node v1 to v2 Guide](migration-v1-v2.md)
139+
[Migrating from Issuer Node v2 to v3 Guide](issuer-migration-guide)
140140

141141

142142

0 commit comments

Comments
 (0)