Skip to content

Commit

Permalink
Merge pull request #140 from 0xPolygonID/fix-mumbai-amoy
Browse files Browse the repository at this point in the history
fix: build section | rm demo verifier
  • Loading branch information
0xpulkit authored Apr 15, 2024
2 parents f91b0c4 + 41caa0d commit e9fcb0e
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 80 deletions.
16 changes: 8 additions & 8 deletions docs/issuer-node/issuer-node-api/agent/apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ A typical response looks like this:
{
"body": {
"credential": {
"id": "https://ce98-2a0c-5a84-3403-bb00-e0d9-c19e-2ab1-2a2b.eu.ngrok.io/issuer/v1/did:polygonid:polygon:mumbai:2qDTZaJRKmLk9AiGkqwJePy2SWm1PtffGRF5CjTeZA/claims/ec81d686-a6e4-11ed-a1f4-debe37e1cbd5",
"id": "https://ce98-2a0c-5a84-3403-bb00-e0d9-c19e-2ab1-2a2b.eu.ngrok.io/issuer/v1/did:polygonid:polygon:amoy:2qDTZaJRKmLk9AiGkqwJePy2SWm1PtffGRF5CjTeZA/claims/ec81d686-a6e4-11ed-a1f4-debe37e1cbd5",
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json-ld/iden3credential-v2.json-ld",
Expand All @@ -57,15 +57,15 @@ A typical response looks like this:
"credentialSubject": {
"birthday": 19960424,
"documentType": 782222,
"id": "did:polygonid:polygon:mumbai:2qG9d1nUyeTVU63vU1gH3jcD6Y8z4ANPSdFdQHPY4t",
"id": "did:polygonid:polygon:amoy:2qG9d1nUyeTVU63vU1gH3jcD6Y8z4ANPSdFdQHPY4t",
"type": "KYCAgeCredential"
},
"credentialStatus": {
"id": "https://ce98-2a0c-5a84-3403-bb00-e0d9-c19e-2ab1-2a2b.eu.ngrok.io/issuer/v1/did%3Apolygonid%3Apolygon%3Amumbai%3A2qDTZaJRKmLk9AiGkqwJePy2SWm1PtffGRF5CjTeZA/claims/revocation/status/4144415042",
"id": "https://ce98-2a0c-5a84-3403-bb00-e0d9-c19e-2ab1-2a2b.eu.ngrok.io/issuer/v1/did%3Apolygonid%3Apolygon%3Aamoy%3A2qDTZaJRKmLk9AiGkqwJePy2SWm1PtffGRF5CjTeZA/claims/revocation/status/4144415042",
"revocationNonce": 4144415042,
"type": "SparseMerkleTreeProof"
},
"issuer": "did:polygonid:polygon:mumbai:2qDTZaJRKmLk9AiGkqwJePy2SWm1PtffGRF5CjTeZA",
"issuer": "did:polygonid:polygon:amoy:2qDTZaJRKmLk9AiGkqwJePy2SWm1PtffGRF5CjTeZA",
"credentialSchema": {
"id": "https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json/KYCAgeCredential-v3.json",
"type": "JsonSchemaValidator2018"
Expand All @@ -74,7 +74,7 @@ A typical response looks like this:
{
"type": "BJJSignature2021",
"issuerData": {
"id": "did:polygonid:polygon:mumbai:2qDTZaJRKmLk9AiGkqwJePy2SWm1PtffGRF5CjTeZA",
"id": "did:polygonid:polygon:amoy:2qDTZaJRKmLk9AiGkqwJePy2SWm1PtffGRF5CjTeZA",
"state": {
"claimsTreeRoot": "c244e9c4a42a1fb6aace041c08ecdc9532170194dd03ae99ffd5a035a4423f04",
"value": "f92376a5ec15d599f877504d55a3c703d8e40aebb9e9e60802fc217a86693a02"
Expand All @@ -85,7 +85,7 @@ A typical response looks like this:
"siblings": []
},
"credentialStatus": {
"id": "https://ce98-2a0c-5a84-3403-bb00-e0d9-c19e-2ab1-2a2b.eu.ngrok.io/issuer/v1/did%3Apolygonid%3Apolygon%3Amumbai%3A2qDTZaJRKmLk9AiGkqwJePy2SWm1PtffGRF5CjTeZA/claims/revocation/status/0",
"id": "https://ce98-2a0c-5a84-3403-bb00-e0d9-c19e-2ab1-2a2b.eu.ngrok.io/issuer/v1/did%3Apolygonid%3Apolygon%3Aamoy%3A2qDTZaJRKmLk9AiGkqwJePy2SWm1PtffGRF5CjTeZA/claims/revocation/status/0",
"revocationNonce": 0,
"type": "SparseMerkleTreeProof"
}
Expand All @@ -96,10 +96,10 @@ A typical response looks like this:
]
}
},
"from": "did:polygonid:polygon:mumbai:2qDTZaJRKmLk9AiGkqwJePy2SWm1PtffGRF5CjTeZA",
"from": "did:polygonid:polygon:amoy:2qDTZaJRKmLk9AiGkqwJePy2SWm1PtffGRF5CjTeZA",
"id": "558984b4-b074-42a7-b60f-c2b5290d1a32",
"threadID": "4ccb5b86-bf30-47a4-b7e1-e0e2e4edec8b",
"to": "did:polygonid:polygon:mumbai:2qG9d1nUyeTVU63vU1gH3jcD6Y8z4ANPSdFdQHPY4t",
"to": "did:polygonid:polygon:amoy:2qG9d1nUyeTVU63vU1gH3jcD6Y8z4ANPSdFdQHPY4t",
"typ": "application/iden3comm-plain-json",
"type": "https://iden3-communication.io/credentials/1.0/issuance-response"
}
Expand Down
2 changes: 1 addition & 1 deletion docs/issuer-node/issuer-node-api/claim/apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ You can retrieve a set of credentials based on different filters or criteria. Th

- `schemaHash` _String_: hash of the schema. For example, c9b2370371b7fa8b3dab2a5ba81b6838.

- `subject` _String_: identifier of the Subject for which credentials are to be retrieved. For example, did:polygonid:polygon:mumbai:2qE1BZ7gcmEoP2KppvFPCZqyzyb5tK9T6Gec5HFANQ.
- `subject` _String_: identifier of the Subject for which credentials are to be retrieved. For example, did:polygonid:polygon:amoy:2qE1BZ7gcmEoP2KppvFPCZqyzyb5tK9T6Gec5HFANQ.

- `revoked` _Boolean_: if the credential is revoked or not. It can be "true" or "false".

Expand Down
2 changes: 1 addition & 1 deletion docs/issuer/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Currently available only on the [Issuer Node Core API](/docs/issuer/issuer-core.
The representation of the DID for this case follows the same canonical form, where the identifier `2qCU58EJgrELSJT6EzT27Rw9DhvwamAdbMLpePztYq` actually originates from the Ethereum address:

```
did:polygonid:polygon:mumbai:2qCU58EJgrELSJT6EzT27Rw9DhvwamAdbMLpePztYq
did:polygonid:polygon:amoy:2qCU58EJgrELSJT6EzT27Rw9DhvwamAdbMLpePztYq
```

:::note
Expand Down
61 changes: 0 additions & 61 deletions docs/verifier/demo-verifier.md

This file was deleted.

12 changes: 8 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,25 @@ module.exports = {
label: "Build",
items: [
{
href: "/docs/issuer/issuer-node-ui",
label: "Issuer API+UI",
href: "/docs/issuer/issuer-overview/",
label: "Issuer",
},
{
href: "/docs/verifier/verifier-overview/",
label: "Verifier SDK",
label: "Verifier",
},
{
href: "/docs/wallet/wallet-overview/",
label: "Wallet SDK",
label: "Wallet",
},
{
href: "/docs/js-sdk/js-sdk-overview/",
label: "JS-SDK",
},
{
href: "/docs/smart-contracts/",
label: "Smart Contracts",
}
],
},
{
Expand Down
1 change: 0 additions & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ module.exports = {
collapsed: true,
items: [
"verifier/verifier-overview",
"verifier/demo-verifier",
"verifier/features",
{
type: "category",
Expand Down
5 changes: 1 addition & 4 deletions src/data/content-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const contentData = {
target: "",
type: "secondary",
},

],
headVideoLink:
"https://www.youtube.com/embed/i3exuUa65sE?autoplay=1&controls=0&cc_load_policy=0&showinfo=0&rel=0&modestbranding=1",
Expand All @@ -30,10 +31,6 @@ export const contentData = {
"Off-chain and on-chain verification.",
],
tutorialsInfo: [
{
title: "Demo Verifier",
link: "/docs/verifier/demo-verifier",
},
{
title: "Verify data off-chain with Verifier SDK",
link: "/docs/category/off-chain-verification",
Expand Down

0 comments on commit e9fcb0e

Please sign in to comment.