/ Getting Started

Example: KYC (On-Chain Hash)

KYC in CarbonX3 / CX3Script deployments is not "upload a passport PDF into the blockchain." Production systems perform identity and eligibility checks off-chain (regulated onboarding, document capture, sanctions screening). Only a compact, non-reversible commitment - typically a hash or attestation id - is stored on-chain so the contract can enforce "this address was cleared under policy X at time Y" without storing raw personal data in public state.

Data-protection note: a plain hash of a KYC record (or of a name, ID number or e-mail) is still personal data under the GDPR and KVKK (EDPB Guidelines 02/2025 on blockchain). Use a salted or keyed commitment (for example an HMAC with a secret kept off-chain) or an opaque attestation id, keep the record and the salt/key off-chain, and delete them when the person asks for erasure so the on-chain value can no longer be linked to anyone. Clearing a mapping entry does not remove earlier values from chain history.