Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ TrustVC supports on-chain verification across the following networks:
| Network | Code | Chain ID |
|---|---|---|
| Ethereum | ETH | 1 |
| Polygon | MATIC | 137 |
| Polygon | POL | 137 |
| XDC | XDC | 50 |
| Stability | FREE | 101010 |
| Astron | ASTRON | 1338 |
Expand All @@ -171,7 +171,7 @@ TrustVC supports on-chain verification across the following networks:
| Network | Code | Chain ID |
|---|---|---|
| Sepolia (Ethereum) | ETH | 11155111 |
| Amoy (Polygon) | MATIC | 80002 |
| Amoy (Polygon) | POL | 80002 |
| XDC Apothem | XDC | 51 |
| Stability Testnet | FREE | 20180427 |
| Astron Testnet | ASTRON | 21002 |
Expand Down
4 changes: 2 additions & 2 deletions docs/how-tos/contexts.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ For detailed instructions on fixing CORS errors, see the [CORS Errors guide](/do
"credentialStatus": {
"type": "TransferableRecords",
"tokenNetwork": {
"chain": "MATIC",
"chain": "POL",
"chainId": "80002"
},
"tokenRegistry": "0xH3C2..."
Expand All @@ -188,7 +188,7 @@ For detailed instructions on fixing CORS errors, see the [CORS Errors guide](/do
#### **Field Details**
- **`type`**: Defines the status type (TransferableRecords).
- **`tokenNetwork`**: Specifies the blockchain details:
- **`chain`**: Blockchain network name (e.g., MATIC).
- **`chain`**: Blockchain network name (e.g., POL for Polygon mainnet, POL for Amoy testnet).
- **`chainId`**: Blockchain ID (e.g., 80002 for Amoy network).
- **`tokenRegistry`**: Address of the token registry contract.

Expand Down
2 changes: 1 addition & 1 deletion docs/how-tos/credential-status.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const rawDocument = {
credentialStatus: {
type: "TransferableRecords",
tokenNetwork: {
chain: "MATIC",
chain: "POL",
chainId: "80002",
},
tokenRegistry: "0xH3C2...", // Address of the Token Registry deployed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Each template requires specific data fields. Below are examples for common templ
"credentialStatus": {
"type": "TransferableRecords",
"tokenNetwork": {
"chain": "MATIC",
"chain": "POL",
"chainId": "80002"
},
"tokenRegistry": "0x3652efbc80ace560844afc932d2bf8b452a96c6d",
Expand Down
2 changes: 1 addition & 1 deletion docs/how-tos/issuer/dns-did.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Example of a DNS-DID signed document:

## Hands-on Creating a DNS-DID

Before we start creating the DNS-DID, please take note that this method **does not require** any ethers/matic (cryptocurrency) to begin. Which means if you use this method, your verifiable document that you will generate will be free!
Before we start creating the DNS-DID, please take note that this method **does not require** any ethers/POL (cryptocurrency) to begin. Which means if you use this method, your verifiable document that you will generate will be free!
Also, please make sure you have completed the prerequisites listed below.

### Prerequisites
Expand Down
2 changes: 1 addition & 1 deletion docs/how-tos/issuer/dns-txt.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Have a better understanding about our different document types: [verifiable docu

## Hands-on Creating a DNS-TXT Record

Before we start creating the DNS-TXT records, please take note that this method **requires** ethers/matic (cryptocurrency) to begin.
Before we start creating the DNS-TXT records, please take note that this method **requires** ethers/POL (cryptocurrency) to begin.
Also, please make sure you have completed the prerequisites listed below.

### Prerequisites
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/creator.md
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ curl --location 'http://localhost:3000/create/bill_of_lading' \
--data '{"credentialSubject": {"type": ["BillOfLading"],"shipperAddressStreet": "","consigneeName": "","notifyPartyName": "","blNumber": "20250107","scac": "20250107"},"owner": "0xCA93690Bb57EEaB273c796a9309246BC0FB93649","holder": "0xCA93690Bb57EEaB273c796a9309246BC0FB93649"}'

output:
{"signedW3CDocument":{"@context":["https://www.w3.org/ns/credentials/v2","https://w3id.org/security/data-integrity/v2","https://trustvc.io/context/transferable-records-context.json","https://trustvc.io/context/render-method-context-v2.json","https://trustvc.io/context/attachments-context.json","https://trustvc.io/context/bill-of-lading.json"],"type":["VerifiableCredential"],"credentialStatus":{"type":"TransferableRecords","tokenNetwork":{"chain":"MATIC","chainId":"80002"},"tokenRegistry":"0x3652efbc80ace560844afc932d2bf8b452a96c6d","tokenId":"b91d5b4dfcc23d33f7be4f2620dd569c89987e8299bc4b67f6edb95b0bbbb46b"},"renderMethod":[{"id":"https://generic-templates.tradetrust.io","type":"EMBEDDED_RENDERER","templateName":"BILL_OF_LADING"}],"credentialSubject":{"type":["BillOfLading"],"shipperAddressStreet":"","consigneeName":"","notifyPartyName":"","blNumber":"20250107","scac":"20250107"},"validFrom":"2025-06-30T08:58:15.679Z","validUntil":"2025-09-30T08:58:15.679Z","issuer":"did:web:did.trustvc.io","id":"urn:bnid:_:0197c00e-f6ff-755b-88a2-a9e2f3974140","proof":{"type":"DataIntegrityProof","created":"2025-06-30T08:58:16Z",
{"signedW3CDocument":{"@context":["https://www.w3.org/ns/credentials/v2","https://w3id.org/security/data-integrity/v2","https://trustvc.io/context/transferable-records-context.json","https://trustvc.io/context/render-method-context-v2.json","https://trustvc.io/context/attachments-context.json","https://trustvc.io/context/bill-of-lading.json"],"type":["VerifiableCredential"],"credentialStatus":{"type":"TransferableRecords","tokenNetwork":{"chain":"POL","chainId":"80002"},"tokenRegistry":"0x3652efbc80ace560844afc932d2bf8b452a96c6d","tokenId":"b91d5b4dfcc23d33f7be4f2620dd569c89987e8299bc4b67f6edb95b0bbbb46b"},"renderMethod":[{"id":"https://generic-templates.tradetrust.io","type":"EMBEDDED_RENDERER","templateName":"BILL_OF_LADING"}],"credentialSubject":{"type":["BillOfLading"],"shipperAddressStreet":"","consigneeName":"","notifyPartyName":"","blNumber":"20250107","scac":"20250107"},"validFrom":"2025-06-30T08:58:15.679Z","validUntil":"2025-09-30T08:58:15.679Z","issuer":"did:web:did.trustvc.io","id":"urn:bnid:_:0197c00e-f6ff-755b-88a2-a9e2f3974140","proof":{"type":"DataIntegrityProof","created":"2025-06-30T08:58:16Z",
"cryptosuite": "ecdsa-sd-2023","proofPurpose":"assertionMethod","proofValue":"hZXGbdsA9oFArnVg2yjpoR6M+FOL8JDsRyngG/56y7V6GVWfWJPjHOLvizcolJDIBZv2+0Ch0WCIYewp/jE2bGDy4XALHFGj8hM5lW5hB4kio0Kglkol4OlKw+eZ8ujstHAB9XhFu7/XwAcKOB02TQ==","verificationMethod":"did:web:did.trustvc.io#keys-1"}},"txHash":"0x2b57d581fd1434d5e9409af65d33358bc8436f2b9c412d2e7c687217500a58c9"}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/decentralized-renderer.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export const BillOfLadingSample: BillOfLadingSchemaW3C = {
credentialStatus: {
type: "TransferableRecords",
tokenNetwork: {
chain: "MATIC",
chain: "POL",
chainId: "80002",
},
tokenRegistry: "0x3652efbc80ace560844afc932d2bf8b452a96c6d",
Expand Down
Loading