CHAINPASS
HOMEMARKETPLACELEADERBOARDMY TICKETSDOCS
CONTRACT: CHECKINGBLOCK: --MINTED: --MATCHES_ACTIVE: --MATCHES_TOTAL: --BALANCE: --GAS: --NETWORK: WIREFLUID TESTNETCHAIN_ID: 92533MINT_RULE: 1_PASS_PER_WALLET_PER_MATCHPASS_CAP: MAX_5_PEOPLEENTRY: QR_PLUS_CNIC_HASHSCANNER_ROLE: OWNER_OR_AUTHORIZEDSEASON: PSL_2026
CONTRACT: CHECKINGBLOCK: --MINTED: --MATCHES_ACTIVE: --MATCHES_TOTAL: --BALANCE: --GAS: --NETWORK: WIREFLUID TESTNETCHAIN_ID: 92533MINT_RULE: 1_PASS_PER_WALLET_PER_MATCHPASS_CAP: MAX_5_PEOPLEENTRY: QR_PLUS_CNIC_HASHSCANNER_ROLE: OWNER_OR_AUTHORIZEDSEASON: PSL_2026
SYS_READY: V26.0 // WIREFLUID_CHAIN_92533

VERIFY
THEENTRY.

Every PSL family pass is minted as a soulbound ERC-721 NFT on WireFluid. One wallet can mint once per match, each pass can cover up to five people, and gate entry is finalized after QR + CNIC hash verification by authorized scanners.

WIREFLUID_TESTNETSOULBOUND_ERC721CNIC_HASH_BINDINGFAN_LEADERBOARDS
// MARKETPLACE

MINT MATCH PASSES, THEN TRACK LIFETIME FAN ACTIVITY.

The marketplace reads live match and enclosure capacity, then mints one family pass NFT with your selected person count. Leaderboard rankings are computed from cumulative people totals across on-chain passes.

OPEN_MARKETPLACE ↗
1x
PASS / WALLET / MATCH
UP TO 5
PEOPLE PER PASS
STATS_01 //
--
TICKETS_MINTED
SOURCE: ON_CHAIN
STATS_02 //
--
MATCHES_TOTAL
SOURCE: ON_CHAIN
STATS_03 //
--
MATCHES_ACTIVE
STATUS: LIVE
STATS_04 //
--
CONTRACT_BALANCE
ASSETS: CUSTODIAL
V2
// MODULE_FEATURES
CORE_PROTOCOLS
C_01 //
SOULBOUND_PASS_LOCK
All transfer functions are blocked in the contract, so a minted pass remains bound to the original buyer wallet. Unauthorized movement is rejected on-chain.
NON_TRANSFERABLE
C_02 //
MATCH_ENCLOSURE_MATRIX
Each match stores enclosure names, prices, and capacities. Minting is constrained by active match status plus remaining enclosure and venue capacity.
CAPACITY_AWARE
C_03 //
FAMILY_PASS_MINTING
A single NFT pass can cover 1 to 5 people. The contract enforces one mint transaction per wallet for a given match and validates exact payment.
MAX_5_PEOPLE
C_04 //
CNIC_HASH_BINDING
CNIC is formatted client-side and hashed before mint. The blockchain stores only the hash, preserving privacy while allowing physical-ID verification at entry.
PRIVACY_PRESERVING
C_05 //
AUTHORIZED_SCANNER_FLOW
Only the owner or an explicitly authorized scanner account can mark tickets as used. Scanner flow checks QR signatures, wallet ownership, and CNIC hash.
ROLE_GUARDED
C_06 //
LIFETIME_ACTIVITY_RANKING
Leaderboard aggregates person-count totals from minted passes per wallet, creating a live all-time ranking sourced directly from chain ticket data.
ONCHAIN_ANALYTICS
// V3
HOW_IT
WORKS
Four implementation-backed steps from minting to on-chain gate admission.
01
CONNECT_METAMASK
Connect your wallet on WireFluid testnet. The app checks chain ID and contract availability before enabling mint or scanner actions.
02
SELECT_MATCH_AND_ENCLOSURE
Choose an active match and available enclosure, then set person count (1 to 5). Price is calculated from enclosure rate multiplied by person count.
03
MINT_SOULBOUND_FAMILY_PASS
Submit mint with a locally hashed CNIC. The contract records ownership, payment, person count, and identity hash inside a non-transferable NFT pass.
04
VERIFY_AT_GATE
Present your rotating QR code at entry. Authorized scanner verifies signatures, compares CNIC hash, and marks the ticket as used on-chain.
// PRIMARY_USE_CASE
PSL
2026
Ticket minting and stadium entry verification for Pakistan's biggest cricket stage, with identity-bound family passes and on-chain scanner confirmation.
// EXPANSION_TARGETS
NEXT
STEP
Concerts — Atif Aslam, Kaifi Khalil
University Olympiads — FAST / LUMS / IBA
Cinema chains — nationwide rollout
Other sports leagues and tournaments
// TECH_STACK
WIRE
FLUID
Solidity + OpenZeppelin ERC-721URIStorage
WireFluid testnet deployment via Hardhat
MetaMask wallet connection for minting
QR + CNIC hash gate verification flow
// INITIALIZE_VERIFIED_ENTRY
VERIFIED
ENTRY STARTS HERE.
MINT FAMILY PASS.
HOLD SOULBOUND NFT.
VERIFY AT GATE.
CONTRACT_PARAMETERS
NETWORKWIREFLUID TESTNET
TOKEN_STANDARDERC-721 (SOULBOUND)
MINT_RULE1 PASS / WALLET / MATCH
PERSON_CAPUP TO 5 PEOPLE
ENTRY_CHECKQR + CNIC HASH
SCANNER_AUTHOWNER OR AUTHORIZED
QR_REFRESHEVERY 90s