26 example walkthrough
Overview
Example: Solar Project Rajasthan
Project Details
4
Mint Project Record (On-Chain)
System Actions
projectRegistry.mintProjectRecord(
projectId = 101,
metadataHash = 0xabc123...,
capUnits = 10_000 * UNIT, // 10,000,000,000 (UNIT = 1e6)
poaiBundleHash = 0xdef456...,
poaiAssetHash = 0x789ghi...,
poaiDataHash = 0x123jkl...,
poaiProcessHash = 0x456mno...
);5
6
7
8
9
Retirement (Retail)
Retail User Actions
carbonCredit1155.retire(
tokenId = 101,
amountUnits = 250_000 // 0.25 * UNIT
);CreditsRetired(
tokenId = 101,
from = 0xPriya...,
amountUnits = 250_000
);{
"certificateId": "CERT-123",
"project": {
"id": "PJT-101",
"name": "Solar Rajasthan 2024",
"tokenId": 101
},
"retirement": {
"quantity": 0.25,
"quantityUnits": 250000,
"retiredBy": "0xPriya...",
"timestamp": "2026-01-14T10:00:00Z",
"transactionHash": "0xRetirementTx..."
},
"poai": {
"bundleHash": "0xdef456...",
"assetHash": "0x789ghi...",
"dataHash": "0x123jkl...",
"processHash": "0x456mno..."
},
"onChainProof": {
"contractAddress": "0xCarbonCredit1155...",
"tokenId": 101,
"eventIndex": 0
}
}Final State Summary
Project State
Balance State
Audit Trail
Last updated