Lite Paper
collegenz.comest. 2024

Infrastructure

CollegenZ Rails

CollegenZ provides three sets of native contract patterns built specifically for education workloads. Each rail comes with reference contract implementations that a builder can deploy as-is or customize, and each one produces on-chain data that the other two can read and reference.

Proof

Credentials and verification

Money

Funding flows with conditional release

Engagement

Participation tracking and incentives

Proof Rail

The Proof rail provides contract patterns for issuing, holding, and verifying credentials on CollegenZ. A credential in this context is any record that an institution issues to a learner and that a third party may later need to verify: certificates, transcripts, skill badges, event attendance receipts, program completion records.

The issuing institution writes the credential to the chain, the learner receives it in their wallet, and any party with chain access can verify it without requiring API keys, vendor accounts, or contact with the issuing institution.

The credential persists on-chain regardless of whether the platform that was used to issue it continues to operate. This is the core property that distinguishes on-chain credentials from platform-hosted ones: the record's survival does not depend on the issuing software's survival.

Credential Record Structure

FieldTypeDescription
issueraddressWallet address of the issuing institution or its authorized representative contract
recipientaddressWallet address of the learner receiving the credential
credentialTypeuint8Enumerated type: certificate, transcript, badge, attendance receipt, custom
issuedAtuint256Timestamp of issuance
metadataHashbytes32Keccak256 hash of the off-chain credential metadata (title, description, issuer name, program details)
revokedboolWhether the credential has been revoked by the issuer
revokedAtuint256Timestamp of revocation, zero if not revoked

Issuance

An authorized issuer calls the issuance contract with the recipient's wallet address, the credential type, and the metadata hash. The contract writes the credential record to the chain and emits an event that the recipient's wallet can detect.

Authorization is handled through an issuer registry contract where institutions register their authorized issuance addresses, which means a university can authorize multiple departments or platforms to issue credentials on its behalf without sharing a single private key.

Issuer
Contract
Wallet

Verification

A verifier queries the chain using either the recipient's wallet address to retrieve all credentials associated with that learner, or a specific credential identifier to check a single record.

The query returns the full credential record including the issuer, type, timestamp, metadata hash, and revocation status. The verifier can then compare the metadata hash against the credential document the learner has presented to confirm that the document matches the on-chain record and has not been altered since issuance.

Verifier
Chain Query
Record

Revocation

The issuing institution can revoke a credential at any time by calling the revocation function on the contract. This sets the revoked flag to true and records the revocation timestamp. Any subsequent verification query will return the updated status. Revocation is a one-way operation in the reference contract: once revoked, a credential cannot be unrevoked through the same contract. An institution that needs to correct an erroneous revocation can issue a new credential.

revoked: false
revoked: true

Reference Contracts

The Proof rail ships with reference contract implementations deployable as-is for standard use cases and designed to be extended for institutions that need custom credential types or additional metadata fields.

Single credential issuanceBatch issuance for graduating classes or cohort completionsIssuer registry managementOn-chain verification queries
Credential verification flow

Money Rail

The Money rail provides contract patterns for moving funds through education workflows with conditions attached. Money enters a contract with rules defining when and to whom it should be released, and the contract enforces those rules automatically when the relevant on-chain data satisfies them or when designated reviewers sign off.

The finance office initiates the funding structure and the contract handles verification, approval tracking, and disbursement as operations that do not require manual intervention after setup.

Funding Flow Types

Scholarships

A donor or institution deposits funds into a scholarship contract and defines the release conditions: minimum attendance rate, enrollment status, GPA threshold, reviewer approval, or any combination. When a student applies and the contract determines that all conditions are satisfied using on-chain data and reviewer inputs, the funds transfer to the student’s wallet in a single transaction. The donor can query the contract at any time to see the full lifecycle of their deposit from creation through application, review, condition verification, and disbursement.

Pooled Grants & Micro-Grants

A funding pool contract accepts deposits from one or more sponsors and defines eligibility rules, review thresholds, and disbursement limits per round. Students submit proposals to the pool, designated reviewers evaluate them on-chain, and funds release automatically when the approval threshold is met. Pools can be configured as one-time or recurring with a defined refill cycle. Multiple students can draw from the same pool across multiple rounds, and the contract tracks cumulative disbursement against the pool’s total balance. Every proposal, review, and payout is recorded on-chain, giving sponsors a complete audit trail.

Installment Plans

A tuition or fee payment can be structured as a series of scheduled installments encoded in a contract. The contract defines the total amount, number of installments, payment dates, grace periods, and late payment terms. Each payment is a transaction that the contract tracks against the schedule, and on completion the contract marks the plan as fulfilled. The institution receives funds as each installment is paid rather than waiting for the full amount, and the student sees the same terms and status that the institution sees because both are reading the same contract state.

Peer Lending Circles

A group of students pools funds on a rotating basis with contribution amounts, rotation schedule, and payout order defined in the contract. This formalizes an arrangement that already operates informally on many campuses where disputes commonly arise when participation is tracked through messages and memory. The contract makes the rules, the current state, and each participant’s contribution history visible to everyone in the circle at all times.

Condition Encoding

Release conditions in Money rail contracts are modular. A contract can reference on-chain data directly and also require manual inputs such as reviewer approvals. Conditions are combined with AND/OR logic at contract creation, and the contract evaluates them automatically when a claim or disbursement is triggered.

On-chain data reference

The contract reads a value from another contract on CollegenZ. Example: attendance rate from the Engagement rail, credential status from the Proof rail, campus token balance.

Threshold check

The referenced value must meet a minimum or maximum. Example: attendance rate must be above 75%, GPA must be above 3.0 if available on-chain.

Reviewer approval

A set of designated reviewer addresses must submit approval transactions. Configurable: 1-of-1 for simple sign-off, 2-of-3 for committee review, or any m-of-n configuration.

Time constraint

The condition is only valid within a defined time window. Example: the student must apply before a deadline, or the funds expire and return to the depositor after a specified date.

Composite

Multiple conditions combined with AND/OR logic. Example: attendance above 75% AND 2-of-3 reviewers approve AND application submitted before deadline.

Release Mechanism

Pull-based

The student submits a claim transaction and the contract evaluates conditions at that point, releasing funds if all conditions are met. Best for scholarships with reviewer approval since the student needs to apply first.

Push-based

The contract monitors referenced on-chain data and executes disbursement automatically when conditions are satisfied without requiring the student to initiate a claim. Best for attendance-gated rewards where relevant data is written to the chain continuously.

Reference Contracts

All reference contracts emit standardized events that block explorers and third-party applications can index.

01Single-recipient conditional scholarships
02Multi-recipient grant pools with configurable review thresholds and recurring funding cycles
03Scheduled installment plans with grace period and escalation logic
04Peer lending circle contracts with transparent rotation tracking
Money rail funding flows

Engagement Rail

The Engagement rail provides contract patterns for logging participation events and wiring them to automatic incentives. An engagement event is any action that an institution or application wants to record on-chain as evidence of student participation.

Attendance check-ins, quiz completions, quest milestones, mentoring sessions, event attendance. The event is written to the chain by the application that observed it, and from that point forward it is readable by any other application on CollegenZ.

Event Record Structure

FieldTypeDescription
sourceaddressContract address of the application or institution that logged the event
subjectaddressWallet address of the student the event is about
eventTypeuint8Enumerated type: attendance, quiz completion, quest milestone, mentoring session, event participation, custom
timestampuint256When the event occurred
metadataHashbytes32Keccak256 hash of additional event details stored off-chain
confirmedboolWhether the event has been confirmed by the subject (used for two-party events like mentoring)

Logging

Events are written to the chain by the application or institution that observed them. An attendance system calls the engagement contract when a student checks in. A quest platform calls it when a milestone is completed. A mentoring app calls it when a session is logged. For events that involve two parties, such as mentoring sessions, the contract supports a confirmation step where the subject confirms the event after the source logs it, and the confirmed flag is set to true only when both parties have signed.

Live Event Feed
ATTENDANCE0xCamp...3a1f2s ago
QUEST_MILESTONE0xQuest...7b2c8s ago
MENTORING0xMentor...4d8e14s ago
ATTENDANCE0xCamp...3a1f21s ago

Incentive Wiring

Any engagement event can be connected to an automatic incentive payout through a trigger contract. The trigger watches for events of a specified type, evaluates whether the event meets a defined threshold, and when it does it executes a payout in TUIT or campus tokens. Triggers can be simple like paying a fixed amount for each check-in or cumulative, paying a bonus when a student reaches a streak of 10 consecutive attendances.

Event Logged
Trigger Evaluates
Threshold Met
Payout Executed

The trigger is a separate contract from the event logger, which means the same events can have multiple triggers from different applications watching the same data.

Signal Composability

This is the property of the Engagement rail that matters most to builders working across multiple applications. Because engagement events are written to a shared chain rather than stored in a single application's database, any application on CollegenZ can query another application's engagement data and use it in its own logic.

A grant pool on the Money rail can check a student's attendance history from a completely separate campus application before releasing funds. A credential issuance on the Proof rail can reference quest completion data from QuestBoard. A new application that does not yet exist can read the entire engagement history of a student who has been active on the chain for two years.

Example: querying a student's attendance history from a different application

// Any contract on CollegenZ can read engagement data
// from any other application on the chain

EngagementRail rail = EngagementRail(ENGAGEMENT_CONTRACT_ADDRESS);

// Get all attendance events for a student from a specific campus app
Event[] events = rail.getEvents(
    subject:       studentWalletAddress,
    eventType:     EventType.ATTENDANCE,
    source:        campusAppContractAddress,
    fromTimestamp: semesterStartTimestamp
);

// Use the count in a condition check
uint256 attendanceCount = events.length;
bool meetsThreshold = attendanceCount >= requiredAttendance;

All engagement events on CollegenZ are publicly readable with no permissioning layer between applications for read access. This is what makes engagement data function as portable reputation.

Streaks & Thresholds

Streak tracking is handled at the contract level through dedicated streak contracts that monitor a sequence of engagement events and determine whether they form a consecutive pattern. A streak contract defines what counts as a valid sequence entry, what the required interval is between entries for the streak to remain active, and what rewards or state changes are triggered when a streak reaches a defined length. This is a contract-level mechanism rather than an application-level one, which means that streak logic is verifiable on-chain and consistent across any application that references it.

1
2
3
4
5
6
7
8
9
10
7-day streak

Reference Contracts

All events emit standardized logs that block explorers can index and display as activity feeds.

01Single-event logging with optional two-party confirmation
02Batch event logging for applications that write multiple events in a single transaction
03Trigger contracts for connecting events to incentive payouts with configurable thresholds and streak logic
04Query interface for cross-application event retrieval
Live engagement dashboard

Cross-Rail Workflow

How the Rails Connect

The following sequence shows a single scholarship workflow that uses all three rails. A scholarship requires minimum attendance, disburses funds when conditions are met, and issues a completion credential to the student's wallet after disbursement.

Each step references a different rail and the data flows between them through standard on-chain queries.

Engagement
Money
Proof

Sequence: Attendance-Gated Scholarship with Credential Issuance

1
Engagement

A campus attendance system logs check-ins to the Engagement rail throughout the semester. Each check-in is an on-chain event with the student’s wallet address, the event type, and the timestamp.

2
Money

A scholarship contract on the Money rail is configured with a release condition that references the Engagement rail: the student must have a minimum of 80% attendance rate over the semester.

3
Money

The student submits a claim to the scholarship contract. The contract queries the Engagement rail for the student’s attendance events, calculates the rate, and determines that the 80% threshold is met.

4
Money

The contract also checks that 2-of-3 designated reviewers have submitted approval transactions. Both conditions are satisfied. The contract transfers the scholarship funds to the student’s wallet.

5
Proof

The scholarship contract calls the Proof rail to issue a completion credential to the student’s wallet, recording that the student received this scholarship, the conditions that were satisfied, and the disbursement amount.

6
Proof

The credential is now verifiable by any party on the chain. A future grant application on a different platform can reference this credential as evidence that the student has previously received and fulfilled the conditions of a merit-based scholarship.

Each step in this sequence is a standard contract call on CollegenZ. The contracts do not need to be built by the same team or deployed at the same time. The attendance system, the scholarship contract, and the credential issuance can be three independent projects built by three different teams, connected only by the fact that they all write to and read from the same chain.