[{"data":1,"prerenderedAt":565},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-contracts":354,"-getting-started-contracts-surround":560},[4,14,146,163,170,176,183,248,255],{"title":5,"path":6,"page":7,"children":8},"Start here","\u002Fgetting-started",false,[9],{"title":10,"path":11,"stem":12,"icon":13},"Public products","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-compass",{"title":15,"path":16,"page":7,"children":17,"icon":61},"Belong CheckIn","\u002Fbelong-checkin",[18,22,27,32,37,42,47,52,57,62,67,71,76,81,86,91,96,100,105],{"title":19,"path":16,"stem":20,"icon":21},"Overview","3.belong-checkin\u002Findex","i-lucide-map-pin",{"title":23,"path":24,"stem":25,"icon":26},"App Features","\u002Fbelong-checkin\u002Fapp-features","3.belong-checkin\u002F1.app-features","i-lucide-list-checks",{"title":28,"path":29,"stem":30,"icon":31},"Telegram Bot","\u002Fbelong-checkin\u002Ftelegram-bot","3.belong-checkin\u002F10.telegram-bot","i-lucide-send",{"title":33,"path":34,"stem":35,"icon":36},"Apple Wallet","\u002Fbelong-checkin\u002Fapple-wallet","3.belong-checkin\u002F11.apple-wallet","i-lucide-ticket",{"title":38,"path":39,"stem":40,"icon":41},"Payments","\u002Fbelong-checkin\u002Fpayments-and-onramp","3.belong-checkin\u002F12.payments-and-onramp","i-lucide-credit-card",{"title":43,"path":44,"stem":45,"icon":46},"Sponsored Gas","\u002Fbelong-checkin\u002Fsponsored-gas","3.belong-checkin\u002F13.sponsored-gas","i-lucide-fuel",{"title":48,"path":49,"stem":50,"icon":51},"Fees & Staking","\u002Fbelong-checkin\u002Ffees-and-staking","3.belong-checkin\u002F14.fees-and-staking","i-lucide-percent",{"title":53,"path":54,"stem":55,"icon":56},"Connect AI Deploy","\u002Fbelong-checkin\u002Fconnect-ai-deploy","3.belong-checkin\u002F15.connect-ai-deploy","i-lucide-bot",{"title":58,"path":59,"stem":60,"icon":61},"QR Signage Examples","\u002Fbelong-checkin\u002Fvenue-qr-signage-examples","3.belong-checkin\u002F16.venue-qr-signage-examples","i-lucide-qr-code",{"title":63,"path":64,"stem":65,"icon":66},"Whitepaper","\u002Fbelong-checkin\u002Fwhitepaper","3.belong-checkin\u002F18.whitepaper","i-lucide-file-text",{"title":68,"path":69,"stem":70,"icon":61},"Check-In Modes","\u002Fbelong-checkin\u002Fcheck-in-modes","3.belong-checkin\u002F2.check-in-modes",{"title":72,"path":73,"stem":74,"icon":75},"Venue Quick Start","\u002Fbelong-checkin\u002Fvenue-quickstart","3.belong-checkin\u002F3.venue-quickstart","i-lucide-store",{"title":77,"path":78,"stem":79,"icon":80},"Customer Rewards","\u002Fbelong-checkin\u002Fcustomer_rewards_guide","3.belong-checkin\u002F4.customer_rewards_guide","i-lucide-gift",{"title":82,"path":83,"stem":84,"icon":85},"Promoter Earnings","\u002Fbelong-checkin\u002Fpromoter-earnings-guide","3.belong-checkin\u002F5.promoter-earnings-guide","i-lucide-wallet",{"title":87,"path":88,"stem":89,"icon":90},"Venue Partner","\u002Fbelong-checkin\u002Fvenue-partner","3.belong-checkin\u002F6.venue-partner","i-lucide-building",{"title":92,"path":93,"stem":94,"icon":95},"Event Creation","\u002Fbelong-checkin\u002Fevent-creation","3.belong-checkin\u002F7.event-creation","i-lucide-calendar-plus",{"title":97,"path":98,"stem":99,"icon":85},"Wallet & Sign-In","\u002Fbelong-checkin\u002Fwallet-and-auth","3.belong-checkin\u002F8.wallet-and-auth",{"title":101,"path":102,"stem":103,"icon":104},"AI & Voice","\u002Fbelong-checkin\u002Fai-and-voice","3.belong-checkin\u002F9.ai-and-voice","i-lucide-mic",{"title":106,"path":107,"page":7,"children":108},"Developer integration","\u002Fbelong-checkin\u002Fdeveloper",[109,112,117,122,126,131,136,141],{"title":15,"path":110,"stem":111,"icon":21},"\u002Fguides\u002Fcrypto\u002Fcheckin","2.guides\u002F1.crypto\u002FcheckIn",{"title":113,"path":114,"stem":115,"icon":116},"Integration Overview","\u002Fbelong-checkin\u002Fdeveloper\u002Fintegration-overview","3.belong-checkin\u002F19.developer\u002F1.integration-overview","i-lucide-plug",{"title":118,"path":119,"stem":120,"icon":121},"API Reference","\u002Fbelong-checkin\u002Fdeveloper\u002Fapi-reference","3.belong-checkin\u002F19.developer\u002F2.api-reference","i-lucide-book-open-text",{"title":123,"path":124,"stem":125,"icon":56},"MCP Tools","\u002Fbelong-checkin\u002Fdeveloper\u002Fmcp-tools","3.belong-checkin\u002F19.developer\u002F3.mcp-tools",{"title":127,"path":128,"stem":129,"icon":130},"Networks","\u002Fbelong-checkin\u002Fdeveloper\u002Fnetworks","3.belong-checkin\u002F19.developer\u002F4.networks","i-lucide-network",{"title":132,"path":133,"stem":134,"icon":135},"Enterprise Apps","\u002Fbelong-checkin\u002Fdeveloper\u002Fenterprise-whitelabel","3.belong-checkin\u002F19.developer\u002F5.enterprise-whitelabel","i-lucide-package",{"title":137,"path":138,"stem":139,"icon":140},"POS & Events","\u002Fbelong-checkin\u002Fdeveloper\u002Fwebhooks-and-pos","3.belong-checkin\u002F19.developer\u002F6.webhooks-and-pos","i-lucide-receipt",{"title":142,"path":143,"stem":144,"icon":145},"NFT Checkout","\u002Fbelong-checkin\u002Fdeveloper\u002Fnft-checkout","3.belong-checkin\u002F19.developer\u002F7.nft-checkout","i-lucide-shopping-cart",{"title":147,"path":148,"page":7,"children":149,"icon":152},"Belong Platform","\u002Fbelong-platform",[150,153,158],{"title":19,"path":148,"stem":151,"icon":152},"6.belong-platform\u002Findex","i-lucide-panels-top-left",{"title":154,"path":155,"stem":156,"icon":157},"Media Upload","\u002Fguides\u002Fmedia\u002Fcollection","2.guides\u002F2.media\u002Fcollection","i-lucide-image",{"title":159,"path":160,"stem":161,"icon":162},"Whitelabel","\u002Fguides\u002Fwhitelabel","2.guides\u002F5.whitelabel","i-lucide-badge-check",{"title":164,"path":165,"page":7,"children":166,"icon":169},"Belong Events","\u002Fbelong-events",[167],{"title":19,"path":165,"stem":168,"icon":169},"7.belong-events\u002Findex","i-lucide-calendar-days",{"title":171,"path":172,"page":7,"children":173,"icon":56},"LONG Events","\u002Flong-events",[174],{"title":19,"path":172,"stem":175,"icon":56},"8.long-events\u002Findex",{"title":177,"path":178,"page":7,"children":179,"icon":182},"Crypto Events","\u002Fcrypto-events",[180],{"title":19,"path":178,"stem":181,"icon":182},"9.crypto-events\u002Findex","i-lucide-globe",{"title":184,"path":185,"page":7,"children":186,"icon":189},"AI Deploy","\u002Fai-deploy\u002Foverview",[187,190,195,200,205,210,228,233,238,243],{"title":19,"path":185,"stem":188,"icon":189},"5.ai-deploy\u002F1.overview","i-lucide-rocket",{"title":191,"path":192,"stem":193,"icon":194},"Open Source","\u002Fai-deploy\u002Fopen-source","5.ai-deploy\u002F10.open-source","i-lucide-github",{"title":196,"path":197,"stem":198,"icon":199},"Quick Start","\u002Fai-deploy\u002Fquickstart","5.ai-deploy\u002F2.quickstart","i-lucide-zap",{"title":201,"path":202,"stem":203,"icon":204},"Cloud Providers","\u002Fai-deploy\u002Fcloud-providers","5.ai-deploy\u002F3.cloud-providers","i-lucide-cloud",{"title":206,"path":207,"stem":208,"icon":209},"AI Providers","\u002Fai-deploy\u002Fai-providers","5.ai-deploy\u002F4.ai-providers","i-lucide-brain",{"title":211,"path":212,"page":7,"children":213},"Channels","\u002Fai-deploy\u002Fchannels",[214,218,223],{"title":215,"path":216,"stem":217,"icon":31},"Telegram","\u002Fai-deploy\u002Fchannels\u002Ftelegram","5.ai-deploy\u002F5.channels\u002F1.telegram",{"title":219,"path":220,"stem":221,"icon":222},"WhatsApp","\u002Fai-deploy\u002Fchannels\u002Fwhatsapp","5.ai-deploy\u002F5.channels\u002F2.whatsapp","i-lucide-message-circle",{"title":224,"path":225,"stem":226,"icon":227},"Slack","\u002Fai-deploy\u002Fchannels\u002Fslack","5.ai-deploy\u002F5.channels\u002F3.slack","i-lucide-hash",{"title":229,"path":230,"stem":231,"icon":232},"Private Access","\u002Fai-deploy\u002Fprivate-access","5.ai-deploy\u002F6.private-access","i-lucide-shield",{"title":234,"path":235,"stem":236,"icon":237},"Troubleshooting","\u002Fai-deploy\u002Ftroubleshooting","5.ai-deploy\u002F7.troubleshooting","i-lucide-wrench",{"title":239,"path":240,"stem":241,"icon":242},"Enterprise & API","\u002Fai-deploy\u002Fenterprise-api","5.ai-deploy\u002F8.enterprise-api","i-lucide-server-cog",{"title":244,"path":245,"stem":246,"icon":247},"OVHcloud","\u002Fai-deploy\u002Fovhcloud","5.ai-deploy\u002F9.ovhcloud","i-lucide-cloud-cog",{"title":249,"path":250,"page":7,"children":251,"icon":254},"Hexagon MM","\u002Fhexagon-mm",[252],{"title":19,"path":250,"stem":253,"icon":254},"10.hexagon-mm\u002Findex","i-lucide-chart-no-axes-combined",{"title":256,"path":257,"page":7,"children":258,"icon":261},"Belong API & Docs","\u002Fdeveloper-platform",[259,262,282,311],{"title":19,"path":257,"stem":260,"icon":261},"11.developer-platform\u002Findex","i-lucide-code-xml",{"title":263,"path":6,"page":7,"children":264},"API, SDK & contracts",[265,269,273,277],{"title":266,"path":267,"stem":268,"icon":121},"API","\u002Fgetting-started\u002Fapi-docs","1.getting-started\u002F2.api-docs",{"title":270,"path":271,"stem":272,"icon":56},"MCP","\u002Fgetting-started\u002Fmcp","1.getting-started\u002F3.mcp",{"title":274,"path":275,"stem":276,"icon":261},"SDK","\u002Fgetting-started\u002Fsdk","1.getting-started\u002F4.sdk",{"title":278,"path":279,"stem":280,"icon":281},"Smart Contract","\u002Fgetting-started\u002Fcontracts","1.getting-started\u002F5.contracts","i-lucide-clock",{"title":283,"path":284,"page":7,"children":285},"Contract guides","\u002Fguides\u002Fcrypto",[286,291,294,298,303,307],{"title":287,"path":288,"stem":289,"icon":290},"EVM NFT Minting","\u002Fguides\u002Fcrypto\u002Fminting","2.guides\u002F1.crypto\u002Fminting","i-lucide-box",{"title":43,"path":292,"stem":293,"icon":85},"\u002Fguides\u002Fcrypto\u002Fsponsorship","2.guides\u002F1.crypto\u002Fsponsorship",{"title":295,"path":296,"stem":297,"icon":290},"LONG Staking","\u002Fguides\u002Fcrypto\u002Fstaking","2.guides\u002F1.crypto\u002Fstaking",{"title":299,"path":300,"stem":301,"icon":302},"Starknet NFT Minting","\u002Fguides\u002Fcrypto\u002Fstarknet","2.guides\u002F1.crypto\u002Fstarknet","i-lucide-circuit-board",{"title":304,"path":305,"stem":306,"icon":290},"Sui NFT Minting","\u002Fguides\u002Fcrypto\u002Fsui","2.guides\u002F1.crypto\u002Fsui",{"title":308,"path":309,"stem":310,"icon":281},"LONG Vesting","\u002Fguides\u002Fcrypto\u002Fvesting","2.guides\u002F1.crypto\u002Fvesting",{"title":312,"path":313,"page":7,"children":314},"MCP tool reference","\u002Fmcp",[315,318,322,326,330,334,338,342,346,350],{"title":19,"path":316,"stem":317,"icon":56},"\u002Fmcp\u002Foverview","4.mcp\u002Foverview",{"title":319,"path":320,"stem":321,"icon":56},"Addresses","\u002Fmcp\u002Ftools-addresses","4.mcp\u002Ftools-addresses",{"title":323,"path":324,"stem":325,"icon":56},"CheckIn","\u002Fmcp\u002Ftools-check-in","4.mcp\u002Ftools-check-In",{"title":327,"path":328,"stem":329,"icon":56},"Events","\u002Fmcp\u002Ftools-events","4.mcp\u002Ftools-events",{"title":331,"path":332,"stem":333,"icon":56},"Hubs","\u002Fmcp\u002Ftools-hubs","4.mcp\u002Ftools-hubs",{"title":335,"path":336,"stem":337,"icon":290},"Minting","\u002Fmcp\u002Ftools-minting","4.mcp\u002Ftools-minting",{"title":339,"path":340,"stem":341,"icon":56},"Notes","\u002Fmcp\u002Ftools-notes","4.mcp\u002Ftools-notes",{"title":343,"path":344,"stem":345,"icon":56},"Registration","\u002Fmcp\u002Ftools-registration","4.mcp\u002Ftools-registration",{"title":347,"path":348,"stem":349,"icon":56},"Starknet","\u002Fmcp\u002Ftools-starknet","4.mcp\u002Ftools-starknet",{"title":351,"path":352,"stem":353,"icon":281},"Vesting","\u002Fmcp\u002Ftools-vesting","4.mcp\u002Ftools-vesting",{"id":355,"title":356,"body":357,"description":553,"extension":554,"links":555,"meta":556,"navigation":557,"path":279,"seo":558,"stem":280,"__hash__":559},"docs\u002F1.getting-started\u002F5.contracts.md","Smart Contracts",{"type":358,"value":359,"toc":544},"minimark",[360,370,375,384,395,411,414,419,428,433,441,454,460,474,479,490,500,508,510,514],[361,362],"doc-figure",{":height":363,":width":364,"alt":365,"caption":366,"placement":367,"source-url":368,"src":369},"450","800","A purple robot surrounded by HubRegistry, HubMembership, and CheckIn labels beside Belong Smart Contracts v2.","The contract architecture separates hub registration, membership, and check-in logic.","lead","https:\u002F\u002Ft.me\u002Fbelongnet\u002F236","\u002Fmedia\u002Fsocial\u002Fmodular-smart-contracts.webp",[371,372,374],"h1",{"id":373},"smart-contracts-v2","Smart Contracts v2",[376,377,378,379,383],"p",{},"This section of the repository contains the second-generation smart contracts designed for the ",[380,381,382],"strong",{},"check-in system"," and related hub membership logic within the Belong ecosystem.",[376,385,386,387,390,391,394],{},"Use this page to find the contract source and understand how hubs, membership, and check-in fit together. A ",[380,388,389],{},"hub"," is the venue or community container; its membership rules determine who can use the access flow. Application developers can start with the ",[392,393,266],"a",{"href":267}," before working directly with contract code.",[376,396,397,398,401,402],{},"View the source code and documentation here:",[399,400],"br",{},"\n👉 ",[392,403,410],{"href":404,"rel":405,"target":409},"https:\u002F\u002Fgithub.com\u002Fbelongnet\u002Fcheckin-contracts\u002F",[406,407,408],"nofollow","noopener","noreferrer","_blank","GitHub — checkin-contracts",[412,413],"hr",{},[415,416,418],"h2",{"id":417},"architecture-overview","🧩 Architecture Overview",[376,420,421,422,424,425,427],{},"The ",[380,423,374],{}," are modular and built with extensibility in mind.",[399,426],{},"\nThey define the core logic for hub membership, user verification, and activity check-ins.",[429,430,432],"h3",{"id":431},"main-components","Main Components",[434,435,437],"h4",{"id":436},"hubregistry",[438,439,440],"code",{},"HubRegistry",[442,443,444,448,451],"ul",{},[445,446,447],"li",{},"Manages registration and ownership of hubs.",[445,449,450],{},"Keeps track of hub metadata and authorized administrators.",[445,452,453],{},"Provides access control for other contracts interacting with specific hubs.",[434,455,457],{"id":456},"membership",[438,458,459],{},"Membership",[442,461,462,465,468],{},[445,463,464],{},"Handles user memberships within hubs.",[445,466,467],{},"Supports joining and leaving hubs, as well as assigning roles.",[445,469,470,471,473],{},"Integrates with ",[438,472,440],{}," for permission validation.",[434,475,477],{"id":476},"checkin",[438,478,323],{},[442,480,481,484,487],{},[445,482,483],{},"Implements the check-in mechanism for events or hubs.",[445,485,486],{},"Verifies user membership and eligibility.",[445,488,489],{},"Emits on-chain events for transparency and analytics.",[434,491,493,496,497],{"id":492},"utils-and-interfaces",[438,494,495],{},"Utils"," and ",[438,498,499],{},"Interfaces",[442,501,502,505],{},[445,503,504],{},"Contain shared utilities and standardized interfaces for interoperability.",[445,506,507],{},"Ensure that external integrations can interact safely with the core contracts.",[412,509],{},[415,511,513],{"id":512},"️-technical-details","⚙️ Technical Details",[442,515,516,522,528,534],{},[445,517,518,521],{},[380,519,520],{},"Language:"," Solidity",[445,523,524,527],{},[380,525,526],{},"Framework:"," Hardhat",[445,529,530,533],{},[380,531,532],{},"Network Support:"," EVM-compatible chains (BNB, Polygon, Skale, etc.)",[445,535,536,539,540,543],{},[380,537,538],{},"Version:"," ",[438,541,542],{},"v2"," branch (active development)",{"title":545,"searchDepth":546,"depth":546,"links":547},"",2,[548,552],{"id":417,"depth":546,"text":418,"children":549},[550],{"id":431,"depth":551,"text":432},3,{"id":512,"depth":546,"text":513},"Documentation for Belong's second-generation smart contracts related to the check-in system.","md",null,{},{"title":278,"icon":281},{"title":356,"description":553},"i36umicme-9STEzf2nL3yZIzzLHyytjOXqOfjKebgmw",[561,563],{"title":274,"path":275,"stem":276,"description":562,"icon":261,"children":-1},"Official JavaScript SDK for the Belong widget.",{"title":19,"path":250,"stem":253,"description":564,"icon":254,"children":-1},"Understand liquidity monitoring, market-making execution controls, and partner onboarding.",1795861628286]