A permanent, rigorously verified, and composable identity layer that transforms Web3 identity from "you are your wallet address" to "you are your verified, credential-rich, reputation-scored on-chain passport."
TruePass is a decentralized identity passport protocol built on the HELA Blockchain that provides a unified, proof-based identity ā including citizenship, reputation, and XP ā accessible across diverse decentralized applications. It features a 9-level progressive verification system validated by 20 independent validators per level, ensuring fraud-resistant, Sybil-proof, and recoverable digital identities.
"Create an onchain identity passport that provides a unified, proof-based identity including citizenship, reputation, and XP, accessible across diverse decentralized applications."
The Web3 ecosystem suffers from a fundamental identity infrastructure gap. Despite thousands of dApps operating across finance, governance, gaming, and public services ā there is no universal, rigorously verified, and portable identity layer for users. A user's entire existence is reduced to a cryptographic wallet address that carries zero verifiable information about who they are.
| # | Problem | Impact |
|---|---|---|
| 1 | Wallet ā Identity | A wallet address reveals nothing about the person behind it ā no credentials, no reputation, no proof of humanity. dApps cannot distinguish verified users from malicious actors. |
| 2 | Key Loss = Permanent Identity Loss | Losing a private key means losing everything ā funds, credentials, governance history, reputation, and community standing ā with zero recovery path. |
| 3 | Fragmented Reputation | Achievements are scattered across isolated platforms. A user's track record on one dApp is invisible to every other, making cross-platform trust impossible. |
| 4 | No Verifiable Proof | Most blockchain identities are self-declared. There is no native on-chain mechanism to verify claims against trustworthy, authorized sources. |
| 5 | Sybil Vulnerability | Without verified identity, governance systems, airdrops, and rewards are exploited by attackers creating thousands of fake accounts. |
| 6 | No Cross-Application Layer | Each dApp operates in its own silo. Users must re-verify and re-build trust from scratch on every new platform. |
| 7 | No Verifier Accountability | Existing systems lack transparency ā verification authorities operate without staking, slashing, or economic accountability. |
TruePass directly addresses all seven problems by creating a permanent, rigorously verified, and composable identity layer on the HELA Blockchain:
- š Decouples identity from wallets ā your passport is you, not your key
- š Guardian-based identity recovery ā survives any wallet failure
- š Unified reputation & XP ā one portable trust profile across all dApps
- ā Authority-issued verifiable credentials ā cryptographic proof, not self-declared claims
- š”ļø 9-level verification Ć 20 validators ā makes Sybil attacks practically infeasible
- š Cross-dApp identity protocol ā any dApp can query your passport instantly
- āļø Validator staking & slashing ā economic accountability for honest verification
A layered architecture separating users, frontend, backend services, on-chain smart contracts, and decentralized storage.
graph TB
%% āāāāāāāāāāāāāāāā USER LAYER āāāāāāāāāāāāāāāā
subgraph USERS["š¤ User Layer"]
direction LR
U1["š Passport Holder"]
U2["šļø Credential Authority"]
U3["š”ļø Guardian"]
U4["ā
Validator"]
U5["š External dApp"]
end
%% āāāāāāāāāāāāāāāā FRONTEND LAYER āāāāāāāāāāāāāāāā
subgraph FRONTEND["š„ļø Frontend Layer ā Next.js 14 + React + TailwindCSS"]
direction LR
F1["š Passport Dashboard"]
F2["š Verification Progress"]
F3["š« Issuer Portal"]
F4["š Recovery Interface"]
F5["āļø Validator Panel"]
F6["šļø Public Profile"]
F7["š Web3Modal + Ethers.js"]
end
%% āāāāāāāāāāāāāāāā BACKEND LAYER āāāāāāāāāāāāāāāā
subgraph BACKEND["āļø Backend Layer ā Express.js + Node.js"]
direction LR
B1["š Reputation Engine"]
B2["š Fraud Detection"]
B3["š” Event Listener"]
B4["š¦ IPFS Service"]
B5["š¢ XP Calculator"]
B6["š REST API + WebSocket"]
B7["š„ Validator Assignment"]
B8["š Notification Service"]
B9["ā° BullMQ Job Queue"]
end
%% āāāāāāāāāāāāāāāā SMART CONTRACT LAYER āāāāāāāāāāāāāāāā
subgraph CONTRACTS["š Smart Contract Layer ā HELA Blockchain"]
direction TB
subgraph CORE["Core Contracts"]
C1["šŖŖ TruePassIdentity<br/><i>Soulbound Passport NFT</i>"]
C2["ā
VerificationManager<br/><i>9 Levels Ć 20 Validators</i>"]
C3["š CredentialRegistry<br/><i>Issue / Verify / Revoke</i>"]
end
subgraph TRUST["Trust & Reputation"]
C4["ā ReputationEngine<br/><i>Score 0-1000 + XP</i>"]
C5["š¤ EndorsementManager<br/><i>Weighted Endorsements</i>"]
C6["š FraudDetection<br/><i>Penalties + Freezing</i>"]
end
subgraph GOVERNANCE["Governance & Recovery"]
C7["š RecoveryManager<br/><i>Guardian-based Recovery</i>"]
C8["šļø AuthorityRegistry<br/><i>DAO-Approved Issuers</i>"]
C9["āļø ValidatorRegistry<br/><i>Staking + Slashing</i>"]
C10["š³ļø DAOGovernance<br/><i>Proposals + Voting</i>"]
end
end
%% āāāāāāāāāāāāāāāā STORAGE LAYER āāāāāāāāāāāāāāāā
subgraph STORAGE["š¾ Storage Layer"]
direction LR
S1["š IPFS via Pinata<br/><i>Metadata, Credentials, Evidence</i>"]
S2["š PostgreSQL<br/><i>Sessions, Cache, Index</i>"]
S3["š“ Redis + BullMQ<br/><i>Jobs, Queues, Pub/Sub</i>"]
end
%% āāāāāāāāāāāāāāāā CONNECTIONS āāāāāāāāāāāāāāāā
U1 & U2 & U3 & U4 & U5 --> FRONTEND
FRONTEND <--> |"REST API + WebSocket"| BACKEND
FRONTEND <--> |"Ethers.js RPC"| CONTRACTS
BACKEND <--> |"Event Listening + Tx Submission"| CONTRACTS
BACKEND <--> STORAGE
CONTRACTS --> |"CID References"| S1
%% āāāāāāāāāāāāāāāā CONTRACT INTERACTIONS āāāāāāāāāāāāāāāā
C10 --> |"governs"| C8
C10 --> |"governs"| C9
C10 --> |"governs"| C6
C9 --> |"assigns"| C2
C2 --> |"updates level"| C1
C8 --> |"authorizes"| C3
C3 --> |"triggers"| C4
C6 --> |"penalizes"| C4
C5 --> |"boosts"| C4
C7 --> |"transfers control"| C1
%% āāāāāāāāāāāāāāāā STYLES āāāāāāāāāāāāāāāā
classDef userStyle fill:#EDE9FE,stroke:#7C3AED,stroke-width:2px,color:#1F2937
classDef frontStyle fill:#DBEAFE,stroke:#2563EB,stroke-width:2px,color:#1F2937
classDef backStyle fill:#D1FAE5,stroke:#059669,stroke-width:2px,color:#1F2937
classDef contractStyle fill:#FEF3C7,stroke:#D97706,stroke-width:2px,color:#1F2937
classDef storageStyle fill:#FCE7F3,stroke:#DB2777,stroke-width:2px,color:#1F2937
class U1,U2,U3,U4,U5 userStyle
class F1,F2,F3,F4,F5,F6,F7 frontStyle
class B1,B2,B3,B4,B5,B6,B7,B8,B9 backStyle
class C1,C2,C3,C4,C5,C6,C7,C8,C9,C10 contractStyle
class S1,S2,S3 storageStyle
graph TD
DAO["š³ļø DAOGovernance<br/><i>Protocol Control</i>"] --> |"approves"| AUTH["šļø AuthorityRegistry<br/><i>Who can issue credentials</i>"]
DAO --> |"manages"| VAL["āļø ValidatorRegistry<br/><i>Who can verify + staking</i>"]
DAO --> |"configures"| FRAUD["š FraudDetection<br/><i>Penalties + freezing</i>"]
VAL --> |"assigns validators"| VER["ā
VerificationManager<br/><i>9 Levels Ć 20 Signatures</i>"]
FRAUD --> |"flags"| VER
VER --> |"updates level + XP"| PASS["šŖŖ TruePassIdentity<br/><i>Soulbound Passport</i>"]
AUTH --> |"authorizes issuance"| CRED["š CredentialRegistry<br/><i>Verifiable Credentials</i>"]
CRED --> |"updates score"| REP["ā ReputationEngine<br/><i>Score + XP + Tier</i>"]
FRAUD --> |"penalizes XP"| REP
ENDORSE["š¤ EndorsementManager<br/><i>Weighted Endorsements</i>"] --> |"boosts"| REP
REC["š RecoveryManager<br/><i>Guardian Recovery</i>"] --> |"transfers control"| PASS
classDef dao fill:#EDE9FE,stroke:#7C3AED,stroke-width:2px,color:#1F2937
classDef core fill:#FEF3C7,stroke:#D97706,stroke-width:2px,color:#1F2937
classDef trust fill:#D1FAE5,stroke:#059669,stroke-width:2px,color:#1F2937
classDef recovery fill:#DBEAFE,stroke:#2563EB,stroke-width:2px,color:#1F2937
class DAO dao
class PASS,VER,CRED,AUTH core
class REP,ENDORSE,FRAUD trust
class REC,VAL recovery
End-to-end sequence diagram showing the complete TruePass identity lifecycle ā from passport creation to cross-dApp usage and recovery.
%%{init: {
"theme": "base",
"themeVariables": {
"primaryColor": "#000000",
"secondaryColor": "#000000",
"tertiaryColor": "#000000",
"primaryTextColor": "#ffffff",
"secondaryTextColor": "#ffffff",
"lineColor": "#ffffff",
"actorBorder": "#ffffff",
"actorBkg": "#000000",
"actorTextColor": "#ffffff",
"activationBorderColor": "#ffffff",
"activationBkgColor": "#000000",
"sequenceNumberColor": "#ffffff",
"noteTextColor": "#ffffff",
"noteBkgColor": "#000000",
"noteBorderColor": "#ffffff"
}
}}%%
sequenceDiagram
autonumber
actor User as š¤ User
participant FE as š„ļø Frontend<br/>(Next.js)
participant BE as āļø Backend<br/>(Express.js)
participant SC as š Smart Contracts<br/>(HELA)
participant VAL as ā
Validators<br/>(20 per level)
participant IPFS as š IPFS<br/>(Pinata)
participant dApp as š External dApp
%% āāāāāā PHASE 1: REGISTRATION āāāāāā
rect rgb(0,0,0)
Note over User,IPFS: š Phase 1 ā Registration & Passport Creation
User->>FE: Connect wallet (MetaMask)
FE->>SC: Request auth challenge nonce
SC-->>FE: Return unique nonce
FE->>User: Sign nonce with private key
User-->>FE: Signed message
FE->>BE: Verify signature
BE-->>FE: ā
Authenticated
User->>FE: Enter display name, avatar, bio
FE->>IPFS: Upload passport metadata
IPFS-->>FE: Return CID (content hash)
FE->>SC: mintPassport(metadataURI)
SC-->>FE: šŖŖ Passport minted (SBT) ā Level 0, +10 XP
FE-->>User: Dashboard: Passport ID, Newcomer tier
end
A non-transferable NFT (ERC-721 with transfers disabled) minted on HELA represents each user's permanent on-chain identity. The passport stores verification level, XP, reputation score, status, and metadata ā decoupling identity from wallet ownership forever.
Identity trust is built through 9 independent verification stages, not a single check:
| Level | Type | What It Proves |
|---|---|---|
| 1 | Wallet Verification | User controls a valid blockchain address |
| 2 | Human Verification | User is a real human, not a bot |
| 3 | Document Verification | User holds legitimate government-issued ID |
| 4 | Biometric Verification | User matches the submitted documents (anti-deepfake) |
| 5 | Social Trust Verification | User is recognized by existing verified community members |
| 6 | Fraud Detection Analysis | No fraud indicators across all prior stages |
| 7 | Validator Review | Expert human review confirms all evidence |
| 8 | DAO Committee Review | Governance-level policy compliance check |
| 9 | Final Passport Approval | Fully verified ā maximum trust achieved |
Each verification level requires approval from 20 independent validators with a configurable threshold (e.g., 12-of-20). Validators are randomly selected, weighted by stake and reputation ā making collusion exponentially harder than single-authority systems.
Validators must stake tokens to participate. Approving a fraudulent identity results in stake slashing and removal from the validator pool. This creates direct economic consequences for dishonesty and rewards for integrity.
DAO-approved authorities (universities, governments, DAOs, certification bodies) issue cryptographically signed credentials to passport holders:
- šļø Citizenship Verification
- š Academic Degrees & Course Completions
- š Hackathon Participations & Wins
- š¼ Professional Certifications
- š¤ DAO Memberships & Community Contributions
Each credential includes issuer signature, timestamp, IPFS-stored content, and on-chain revocation support.
A multi-factor reputation score (0ā1000) computed from:
| Component | Weight | Source |
|---|---|---|
| Verification Level | 35% | Progress through 9 levels |
| Credentials | 25% | Weighted sum of credential types |
| XP | 15% | Total experience points earned |
| Endorsements | 10% | Reputation-weighted peer endorsements |
| Activity Consistency | 8% | Regular participation over time |
| Account Age | 7% | Duration since passport creation |
Reputation Tiers: Newcomer ā Active Participant ā Trusted Contributor ā Established Member ā Community Leader ā Legendary
Users earn experience points for verified activities:
- +10 to +200 XP for completing each verification level (560 total for full verification)
- +50 to +150 XP for credentials (hackathon wins, certifications)
- +10 to +30 XP for governance participation
- XP penalties for detected fraud (ā20 to ā200 XP)
Identity Ranks: Initiate ā Explorer ā Builder ā Architect ā Veteran ā Master ā Legend
If a wallet is lost, identity is not lost. Users assign 3ā7 guardians who can authorize recovery:
- Recovery initiated from new wallet
- Guardians independently approve on-chain
- Threshold met ā 48-hour time-lock begins
- Identity transfers to new wallet ā all credentials, XP, reputation intact
A multi-layered fraud engine monitors for:
- 𧬠Duplicate identity ā biometric/document hash cross-referencing
- š¤ Bot behavior ā automated interaction pattern detection
- š Geographic anomalies ā inconsistent location signals
- š Document forgery ā template and metadata validation
- šøļø Social graph manipulation ā circular vouching detection
ā ļø Validator collusion ā abnormal approval pattern analysis
Any dApp on HELA can query TruePass through standardized smart contract functions:
getVerificationLevel(address) // ā 0-9 getReputation(address) // ā 0-1000 + tier getXP(address) // ā total XP + rank hasCredential(address, type) // ā bool isVerifiedCitizen(address) // ā bool isFullyVerified(address) // ā bool getCredentials(address) // ā Credential[]
The protocol is governed by a DAO ā not a centralized entity:
- Authority approval ā community votes on who can issue credentials
- Validator management ā add, remove, or slash validators
- Protocol upgrades ā parameter changes and feature additions
- Dispute resolution ā contested verifications and fraud cases
- Treasury management ā protocol fee allocation
TruePass holders can endorse each other, with endorsement weight proportional to the endorser's reputation score. A reputation-800 endorser's endorsement carries 8Ć the weight of a reputation-100 endorser. Circular endorsement is detected and flagged by the fraud system.
TruePass is built natively on HELA ā and here's why it's the ideal foundation:
| Advantage | Benefit for TruePass |
|---|---|
| ā” EVM Compatibility | Standard Solidity development, Hardhat tooling, Ethers.js ā no custom SDK required |
| š Fast Block Finality | Real-time verification level updates and multi-validator approvals with instant confirmation |
| š° Low Gas Costs | Critical for TruePass ā a full 9-level verification involves 180+ validator transactions. On high-gas chains this would be prohibitive; on HELA it's economically viable |
| š Scalability | Designed for high-throughput smart contract environments, supporting thousands of concurrent verifications |
| š Security | Enterprise-grade blockchain security for storing permanent identity records |
| š Growing Ecosystem | TruePass serves as a foundational identity primitive that other HELA dApps can build upon, driving ecosystem growth |
| Requirement | Version | Purpose |
|---|---|---|
| Node.js | v18+ | Runtime for backend & frontend |
| PostgreSQL | v14+ | Primary database for off-chain data |
| Redis | v7+ | Required for BullMQ background jobs (validator timeouts, session expiry) |
| MetaMask | Latest | Wallet for HELA blockchain interaction |
| Git | Latest | Version control |
git clone https://github.com/notcaliper/TruePass.git
cd TruePasscd backend
npm installcp .env.example .env
Edit .env with your credentials:
# āāā Server āāā PORT=3000 NODE_ENV=development # āāā PostgreSQL āāā DB_HOST=localhost DB_PORT=5432 DB_NAME=truepass DB_USER=postgres DB_PASSWORD=your_password_here # āāā JWT āāā JWT_SECRET=your_jwt_secret_here JWT_EXPIRES_IN=7d # āāā Redis āāā REDIS_HOST=localhost REDIS_PORT=6379 # āāā Blockchain (HELA) āāā RPC_URL=https://mainnet.helachain.com PRIVATE_KEY=your_deployer_private_key CONTRACT_ADDRESS=0x_your_contract_address CHAIN_ID=8668
Ensure PostgreSQL is running, then:
# Create the database psql -U postgres -c "CREATE DATABASE truepass;" # Apply schema psql -U postgres -d truepass -f db/schema.sql # OR use the sync script (development only) npm run db:sync
# Development mode (with hot-reload) npm run dev # Production mode npm start
curl http://localhost:3000/api/v1/health
Expected response:
{ "status": "ok" }TruePass/
āāā backend/
ā āāā db/ ā Database schema and migrations
ā āāā src/
ā ā āāā config/ ā Database, Redis, and Blockchain config
ā ā āāā controllers/ ā Request handlers
ā ā āāā jobs/ ā Background workers (BullMQ)
ā ā āāā middleware/ ā Auth, Rate Limiting, Validation, Error Handling
ā ā āāā models/ ā Sequelize models and associations
ā ā āāā routes/ ā API Route definitions
ā ā āāā services/ ā Core business logic
ā ā āāā utils/ ā Logging and helper functions
ā ā āāā validators/ ā Joi validation schemas
ā ā āāā server.js ā Application entry point
ā āāā .env.example ā Environment template
ā āāā package.json ā Dependencies and scripts
āāā README.md
| Method | Endpoint | Auth | Description |
|---|---|---|---|
POST |
/api/v1/auth/challenge |
ā | Get wallet authentication challenge |
POST |
/api/v1/auth/login |
ā | Verify wallet signature & login |
POST |
/api/v1/passport/create |
ā | Mint a new TruePass identity passport |
GET |
/api/v1/passport/:id |
ā | Get passport details (level, XP, reputation) |
POST |
/api/v1/verification/start |
ā | Initiate a verification level |
POST |
/api/v1/verification/vote |
ā | Validator vote submission (approve/reject) |
GET |
/api/v1/health |
ā | Server health check |
Built with ā¤ļø for the HackJKLU v5.0 2026 hackathon.
This project is licensed under the ISC License ā see the LICENSE file for details.