Identity, Membership, and Invites
OmegaX needs identity that is useful for coverage/rewards while preserving privacy and permissionless access.
Identity Principles
- Wallet-first identity on-chain.
- Optional off-chain subject identity commitments for enterprise workflows.
- No raw email, phone, or health telemetry on-chain.
- Membership is policy-bound per pool.
Identity Objects
wallet_pubkey(required): settlement identity.subject_commitment(optional): hashed opaque identifier for org-level linkage.organization_ref(optional): off-chain tenant id associated with pool or member.membership_record: protocol truth for covered/enrolled status.
Membership Policy Modes
open
- Any wallet can enroll.
token_gate
- Wallet must hold configured SPL token balance.
- Example OmegaX consumer pool: minimum
$OMEGAXthreshold.
invite_permit
- Wallet submits signed enrollment permit from trusted issuer.
- Issuer can be employer, insurer, provider, or community operator.
composed
all_oforany_ofcombinations.- Example:
all_of(token_gate($OMEGAX), invite_permit(orgX)).
Invite Model (Off-Chain + On-Chain Bridge)
Invites are issued off-chain by an issuer service (for example, an employer/insurer backend or an integration partner). It should produce:
- Human invite code / link for onboarding UX.
- Canonical permit payload bound to:
pool_idwallet_pubkeyinvite_idsubject_commitment(optional)issued_atexpires_atnonce
- Ed25519 signature by trusted issuer key.
On-chain enroll_member verifies permit signature and policy constraints, then creates MembershipRecord.
Enrollment Permit Canonical Payload
Suggested canonical payload fields:
versiondomain(for replay isolation)pool_idorganization_refinvite_idwallet_pubkeysubject_commitmentissued_at_isoexpires_at_isononce
Signature verification must use deterministic serialization and domain separation.
Replay and Abuse Prevention
- Nonce uniqueness per
pool_id + issuer + wallet. - Permit expiry enforced on-chain.
- Optional one-time invite semantics enforced by issuer backend.
- Optional max-uses and issuance quotas in issuer systems.
$OMEGAX Holder Pool Pattern
For open consumer pool with token-holder access:
- Pool membership policy includes
token_gatewith$OMEGAXmint and threshold. - Off-chain invites may still be used for campaign routing.
- On-chain membership truth is token gate + optional permit policy.
This keeps participation open while allowing curated growth channels.
Employer / Insurer Pool Pattern
For enterprise pools:
- Pool created by organization authority.
- Membership policy typically
invite_permitorall_of(invite_permit, token_gate(optional)). - Org backend controls invite issuance and eligibility.
- On-chain program controls final coverage eligibility and payout enforcement.
Data Minimization
Recommended:
- Keep
subject_commitmentas irreversible hash. - Keep PII and health evidence in controlled off-chain systems.
- Put only commitments, signatures, and references on-chain.
Revocation
Revocation paths:
- Pool authority can revoke membership.
- Expired permit cannot be reused.
- Governance can disable malicious issuer keys via oracle/issuer registry policy.
Why This Works
This model supports all required pool types without rewriting protocol logic:
- Open community pools.
$OMEGAXholder pools.- Employer/insurer invite pools.
- Hybrid pools with composable constraints.