Official ChittyID Foundation Implementation - Authoritative identity management for the ChittyOS ecosystem.
This is the authoritative ChittyID Foundation service that defines HOW ChittyIDs are generated, validated, and managed across the entire ChittyOS ecosystem. All other services must REQUEST ChittyIDs from this Foundation service.
Production Service: https://id.chitty.cc
- Foundation defines HOW - ID format, generation, validation standards
- Services implement WHAT - Domain-specific workflows using ChittyIDs
- NO LOCAL GENERATION - All IDs must be requested from Foundation service
- Official Format:
VV-G-LLL-SSSS-T-YM-C-X(e.g.,CP-A-001-1234-P-2509-I-82)
POST /api/v2/chittyid/mint- Generate new ChittyIDPOST /api/v2/chittyid/verify- Verify ChittyID validityPOST /api/v2/chittyid/audit- Get audit trailPOST /api/v2/chittyid/mint/batch- Batch generationPOST /api/v2/fallback/request- Fallback service
All endpoints require Bearer token authentication:
Authorization: Bearer your_chitty_id_tokenconst response = await fetch('https://id.chitty.cc/api/v2/chittyid/mint', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer your_chitty_id_token'
},
body: JSON.stringify({
entity: 'PERSON',
name: 'John Doe',
format: 'official'
})
});
const result = await response.json();
console.log(result.chitty_id); // CP-A-001-1234-P-2509-I-82const response = await fetch('https://id.chitty.cc/api/v2/chittyid/verify', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer your_chitty_id_token'
},
body: JSON.stringify({
chittyId: 'CP-A-001-1234-P-2509-I-82'
})
});
const result = await response.json();
console.log(result.valid); // true- Node.js 18+
- Cloudflare account with Workers enabled
- Valid CHITTY_ID_TOKEN
git clone https://github.com/chittyfoundation/chittyid.git
cd chittyid
npm install
cp .env.example .env
# Configure your environment variablesnpm run devnpm run deploynpm test # All tests
npm run test:security # Security tests
npm run test:integration # Integration tests- drand Beacon Integration - Cryptographically secure randomness
- Mod-97 Checksum - ISO 7064 validation standard
- Audit Trails - Complete chain of custody tracking
- Fallback System - Error-coded IDs for service availability
- Rate Limiting - API protection and abuse prevention
- Health Check: https://id.chitty.cc/health
- Dashboard: https://id.chitty.cc/dashboard
- Metrics: Prometheus compatible metrics available
The service includes a comprehensive fallback system:
- Error-coded IDs with EP/EL/ET/EE prefixes for temporary states
- Automatic reconciliation when primary service returns
- Complete audit trail for all fallback operations
This is the official ChittyID Foundation service. All changes must:
- Maintain Charter compliance
- Pass security validation
- Include comprehensive tests
- Follow Foundation architecture principles
Foundation Service - ChittyFoundation Authority
Part of the broader ChittyOS Framework:
- ChittySchema - Universal data framework
- ChittyRegistry - Service discovery
- ChittyCanon - Authoritative resolution
- ChittyVerify - Trust validation
ποΈ ChittyFoundation Official Repository Authoritative identity management for the ChittyOS ecosystem.