Run a Moca Chain challenger node to audit MCSP storage providers — system requirements, setup, and operational guidance for ensuring data integrity.
⚠️ This section may change without prior notice
Critical information in this section may be subject to change as the network is in early stages.
🔒 Repo not publicly available — please reach out to us if you would like to run this code.
Challenger Information
Minimum System Requirements
Component
Minimum Specification
Hardware
Desktop or laptop running recent versions of Mac OS X or Linux
CPU
4 cores
Memory (RAM)
12 GB
Storage
1 TB HDD/SSD
Bandwidth
1 MB/s
Setting up a challenger
Prerequisite
Pull the develop branch of the moca-challenger repository.
The deployment of moca-challenger relies on validator binding initialization. If you want to deploy your own moca-challenger, you need to join as a new validator.
Challenger Introduction
Moca ensures data integrity by regularly issuing challenge events to storage providers to prove that stored data has not been tampered with. This service allows end-users to monitor challenge events in the blockchain and perform verification.
Moca-challenger main components
moca-challenger includes 7 main goroutines: Monitor, Verifier, Vote Collector, Vote Broadcaster, Vote Collator, Tx Submitter, and Attest Monitor.
Monitor: Polls the Moca blockchain to obtain new blocks, parse challenge events, and add them to the local database.
Verifier: Verifies the integrity of the stored data by comparing root hashes.
Vote Broadcaster: Broadcasts a signed vote on the blockchain for events that failed verification.
Vote Collector: Polls the blockchain for votes broadcast by other Challenger services.
Vote Collator: Collates votes to achieve a 2/3 consensus.
Tx Submitter: Sends a MsgAttest to the blockchain after enough consensus votes are received.
Attest Monitor: Polls the blockchain for successfully attested challenges and updates the database.
Deploy moca-challenger
Configuration file
Set your private key, deployment environment, and gas limit. The private_key and bls_private_key can be obtained as described in the next section.
Regular challenge: Moca automatically generates random data availability challenges. The moca-challenger monitors these events. If data has been tampered with, the root hashes will not match, and the challenge will be successful. The validator will vote, and if 2/3 consensus is reached, the SP will be slashed.
Manual challenge: Anyone can submit a transaction to challenge data availability.
Data recovery
Data recovery ensures that original data can be restored if lost on SPs.
Data is automatically recovered after a successful data challenge.
Data is automatically recovered when users find that the data is unreadable.
SPs can selectively recover lost data through tools.
When a challenge succeeds, the tampered data chunk file will be restored to the original file after a while.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AIR Kit","description":"AIR Kit — portable credentials, cross-platform loyalty, and privacy-preserving identity for enterprise partners and developers. Build on Moca Chain.","colors":{"primary":"#002536","light":"#9BD5EA","dark":"#000000"},"logo":{"light":"https://mintcdn.com/mocanetwork/u502VcMoQ3MqsIUB/images/air-logo.svg?fit=max\u0026auto=format\u0026n=u502VcMoQ3MqsIUB\u0026q=85\u0026s=0040bb2872ea1c6524c04e68bcd69da9","dark":"https://mintcdn.com/mocanetwork/u502VcMoQ3MqsIUB/images/air-logo.svg?fit=max\u0026auto=format\u0026n=u502VcMoQ3MqsIUB\u0026q=85\u0026s=0040bb2872ea1c6524c04e68bcd69da9","href":"https://docs.air3.com"},"favicon":"https://mintcdn.com/mocanetwork/A7O8YBP7ecQMKF6C/images/icon.png?fit=max\u0026auto=format\u0026n=A7O8YBP7ecQMKF6C\u0026q=85\u0026s=b187f10750407d4113b7e36b2e0f8509","api":{"playground":{"proxy":false}},"appearance":{"default":"light","strict":true},"background":{"color":{"light":"#FAFAFA","dark":"#000000"}},"navbar":{"links":[{"icon":"up-right-from-square","href":"https://air3.com/partner-with-us","label":"Partner with us"}],"primary":{"type":"button","label":"Dashboard","href":"https://developers.sandbox.air3.com/dashboard"}},"seo":{"metatags":{"og:image":"/images/preview.png?v=2","twitter:image":"/images/preview.png?v=2"},"indexing":"all"},"fonts":{"heading":{"family":"Poppins","weight":500},"body":{"family":"DM Sans","weight":500}},"integrations":{"amplitude":{"apiKey":"36efccffd2a5c5d4236e8b03daa7ad1e"}},"contextual":{"options":["copy","chatgpt","claude","perplexity","grok","add-mcp"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mocanetwork","hasAudioNarration":false,"actualSubdomain":"mocanetwork","customDomains":["docs.air3.com"],"gitSource":{"type":"github","owner":"air3network","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aff2984fce600747d9bc5cd","clientVersion":"0.0.4248","searchFilterCounts":[{"language":"default","tag":"Products","count":48},{"language":"default","tag":"Technicals","count":38},{"language":"default","tag":"Get Started","count":35},{"language":"default","tag":"Overview","count":26},{"language":"default","tag":"Architecture","count":21},{"language":"default","tag":"AIR Identity","count":17},{"language":"default","tag":"Moca Chain","count":17},{"language":"default","tag":"API References","count":15},{"language":"default","tag":"Solutions","count":15},{"language":"default","tag":"How it works","count":15}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","href":"/_mintlify/custom/mocanetwork/d259a00153a13659/custom.css"}]}
{"page":{"pagePath":"technicals/mocachain/run-a-challenger","slug":"/technicals/mocachain/run-a-challenger","pageMetadata":{"title":"How to run a challenger for Moca Chain","description":"Run a Moca Chain challenger node to audit MCSP storage providers — system requirements, setup, and operational guidance for ensuring data integrity.","href":"/technicals/mocachain/run-a-challenger"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Run a Moca Chain challenger node to audit MCSP storage providers — system requirements, setup, and operational guidance for ensuring data integrity.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,h5:`h5`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(Warning,{children:`⚠️ This section may change without prior notice`}),`\nCritical information in this section may be subject to change as the network is in early stages.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`🔒 Repo not publicly available — please reach out to us if you would like to run this code.`})}),`\n`,_jsx(Heading,{level:`2`,id:`challenger-information`,children:`Challenger Information`}),`\n`,_jsx(Heading,{level:`3`,id:`minimum-system-requirements`,children:`Minimum System Requirements`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Component`}),_jsx(_components.th,{children:`Minimum Specification`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Hardware`}),_jsxs(_components.td,{children:[`Desktop or laptop running recent versions of `,_jsx(_components.strong,{children:`Mac OS X`}),` or `,_jsx(_components.strong,{children:`Linux`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`CPU`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`4 cores`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Memory (RAM)`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.strong,{children:`12 GB`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Storage`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`1 TB HDD/SSD`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Bandwidth`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`1 MB/s`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`setting-up-a-challenger`,children:`Setting up a challenger`}),`\n`,_jsx(Heading,{level:`3`,id:`prerequisite`,children:`Prerequisite`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Pull the `,_jsx(_components.code,{children:`develop`}),` branch of the `,_jsx(_components.code,{children:`moca-challenger`}),` repository.`]}),`\n`,_jsxs(_components.li,{children:[`The deployment of `,_jsx(_components.code,{children:`moca-challenger`}),` relies on validator binding initialization. If you want to deploy your own `,_jsx(_components.code,{children:`moca-challenger`}),`, you need to join as a new validator.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`challenger-introduction`,children:`Challenger Introduction`}),`\n`,_jsx(_components.p,{children:`Moca ensures data integrity by regularly issuing challenge events to storage providers to prove that stored data has not been tampered with. This service allows end-users to monitor challenge events in the blockchain and perform verification.`}),`\n`,_jsx(Heading,{level:`4`,id:`moca-challenger-main-components`,children:`Moca-challenger main components`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`moca-challenger`}),` includes 7 main goroutines: Monitor, Verifier, Vote Collector, Vote Broadcaster, Vote Collator, Tx Submitter, and Attest Monitor.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Monitor:`}),` Polls the Moca blockchain to obtain new blocks, parse challenge events, and add them to the local database.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Verifier:`}),` Verifies the integrity of the stored data by comparing root hashes.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Vote Broadcaster:`}),` Broadcasts a signed vote on the blockchain for events that failed verification.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Vote Collector:`}),` Polls the blockchain for votes broadcast by other Challenger services.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Vote Collator:`}),` Collates votes to achieve a 2/3 consensus.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Tx Submitter:`}),` Sends a `,_jsx(_components.code,{children:`MsgAttest`}),` to the blockchain after enough consensus votes are received.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Attest Monitor:`}),` Polls the blockchain for successfully attested challenges and updates the database.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`deploy-moca-challenger`,children:`Deploy moca-challenger`}),`\n`,_jsx(Heading,{level:`4`,id:`configuration-file`,children:`Configuration file`}),`\n`,_jsxs(_components.p,{children:[`Set your private key, deployment environment, and gas limit. The `,_jsx(_components.code,{children:`private_key`}),` and `,_jsx(_components.code,{children:`bls_private_key`}),` can be obtained as described in the next section.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`19`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"moca_config\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"local_private_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"private_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your_challenger_private_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bls_private_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your_bls_private_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rpc_addrs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [ `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://tm-rpc.testnet.mocachain.dev\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:` ...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"db_config\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dialect\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"mysql\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"db_path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tcp(127.0.0.1:3306)/challenger?charset=utf8\u0026parseTime=True\u0026loc=Local\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:` ...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sp_config\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"internal_sp_endpoints\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://gateway.storage-provider-0.testnet.mocachain.dev\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://gateway.storage-provider-1.testnet.mocachain.dev\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://gateway.storage-provider-2.testnet.mocachain.dev\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`4`,id:`run-locally`,children:`Run locally`}),`\n`,_jsx(_components.h5,{children:`Running MySQL in Docker`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`docker`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -p`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 3306:3306`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` moca`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -e`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` MYSQL_ROOT_PASSWORD=moca`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mysql:8`})]}),`\n`]})})}),`\n`,_jsx(_components.h5,{children:`Create a database`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`sql`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`sql`,children:_jsxs(_components.code,{language:`sql`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`mysql `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`--port=3306 -h127.0.0.1 -uroot -pmoca`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`CREATE`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` SCHEMA`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` IF`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` NOT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` EXISTS`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` challenger `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`DEFAULT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` CHARACTER`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` SET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` utf8 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`COLLATE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` utf8_unicode_ci;`})]}),`\n`]})})}),`\n`,_jsx(_components.h5,{children:`Get validator BLS key and challenger key`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`./build/mocad`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` keys`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:\" ${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`BLS_KEY_NAME`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`--unsafe`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --unarmored-hex`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:\" --home=${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`CLIENT_KEYRING_DIR`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --keyring-backend=test`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`./build/mocad`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` keys`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:\" ${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`CHALLENGER_NAME`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`} `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`--unsafe`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --unarmored-hex`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:\" --home=${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`CLIENT_KEYRING_DIR`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --keyring-backend=test`})]}),`\n`]})})}),`\n`,_jsx(_components.h5,{children:`Compile and launch moca-challenger`}),`\n`,_jsx(_components.p,{children:`Assuming you have a validator running, compile and start the process.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`make`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` build`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`./build/moca-challenger`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --config-type`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` local`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --config-path`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./config/config.json`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`4`,id:`test-and-verification`,children:`Test and Verification`}),`\n`,_jsx(_components.h5,{children:`Create your own SP`}),`\n`,_jsx(_components.p,{children:`The process is similar to creating a validator.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Authorization:`}),` Grant spending limits.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Submit a proposal:`}),` Use a JSON template to create a storage provider.`]}),`\n`]}),`\n`,_jsx(_components.h5,{children:`Tampering with data stored on SP`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Create a bucket and upload a file.`}),`\n`,_jsx(_components.li,{children:`Find the storage directory on your SP and modify the content of the data chunk file.`}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`./build/moca-cmd`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --home`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` deployment/localup/`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` bucket`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --primarySP`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 0x...yourSPAddress`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` moca1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`./build/moca-cmd`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --home`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` deployment/localup/`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` object`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` put`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --contentType`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/octet-stream\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./abctest`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` moca://moca1/abctest`})]}),`\n`]})})}),`\n`,_jsx(_components.h5,{children:`Challenge the data chunk of the object`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Regular challenge:`}),` Moca automatically generates random data availability challenges. The `,_jsx(_components.code,{children:`moca-challenger`}),` monitors these events. If data has been tampered with, the root hashes will not match, and the challenge will be successful. The validator will vote, and if 2/3 consensus is reached, the SP will be slashed.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Manual challenge:`}),` Anyone can submit a transaction to challenge data availability.`]}),`\n`]}),`\n`,_jsx(_components.h5,{children:`Data recovery`}),`\n`,_jsx(_components.p,{children:`Data recovery ensures that original data can be restored if lost on SPs.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Data is automatically recovered after a successful data challenge.`}),`\n`,_jsx(_components.li,{children:`Data is automatically recovered when users find that the data is unreadable.`}),`\n`,_jsx(_components.li,{children:`SPs can selectively recover lost data through tools.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`When a challenge succeeds, the tampered data chunk file will be restored to the original file after a while.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"How to run a challenger for Moca Chain","description":"Run a Moca Chain challenger node to audit MCSP storage providers — system requirements, setup, and operational guidance for ensuring data integrity.","href":"/technicals/mocachain/run-a-challenger"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Challenger Information","slug":"challenger-information","depth":2,"children":[{"title":"Minimum System Requirements","slug":"minimum-system-requirements","depth":3,"children":[]}]},{"title":"Setting up a challenger","slug":"setting-up-a-challenger","depth":2,"children":[{"title":"Prerequisite","slug":"prerequisite","depth":3,"children":[]},{"title":"Challenger Introduction","slug":"challenger-introduction","depth":3,"children":[]},{"title":"Moca-challenger main components","slug":"moca-challenger-main-components","depth":4,"children":[]},{"title":"Deploy moca-challenger","slug":"deploy-moca-challenger","depth":3,"children":[]},{"title":"Configuration file","slug":"configuration-file","depth":4,"children":[]},{"title":"Run locally","slug":"run-locally","depth":4,"children":[]},{"title":"Test and Verification","slug":"test-and-verification","depth":4,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/mocanetwork/52d6902d6e78de15/landing-tabs.js"],"subdomain":"mocanetwork","siteName":"AIR Kit","title":"How to run a challenger for Moca Chain - AIR Kit","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-19T16:53:38.513Z","originalFileLocation":"technicals/mocachain/run-a-challenger.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Run a Moca Chain challenger node to audit MCSP storage providers — system requirements, setup, and operational guidance for ensuring data integrity.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AIR Kit\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mocanetwork/MQNfB-RPmk1KurqW/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mocanetwork/MQNfB-RPmk1KurqW/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mocanetwork/MQNfB-RPmk1KurqW/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mocanetwork/MQNfB-RPmk1KurqW/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mocanetwork/MQNfB-RPmk1KurqW/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mocanetwork/MQNfB-RPmk1KurqW/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mocanetwork/MQNfB-RPmk1KurqW/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mocanetwork/MQNfB-RPmk1KurqW/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mocanetwork/MQNfB-RPmk1KurqW/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"How to run a challenger for Moca Chain - AIR Kit\">\u003cmeta data-mint-head property=\"og:description\" content=\"Run a Moca Chain challenger node to audit MCSP storage providers — system requirements, setup, and operational guidance for ensuring data integrity.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AIR Kit\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.air3.com/technicals/mocachain/run-a-challenger\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mocanetwork.mintlify.site/images/preview.png?v=2\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"How to run a challenger for Moca Chain - AIR Kit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Run a Moca Chain challenger node to audit MCSP storage providers — system requirements, setup, and operational guidance for ensuring data integrity.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mocanetwork.mintlify.site/images/preview.png?v=2\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mocanetwork/MQNfB-RPmk1KurqW/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AIR Kit\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#002536\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.air3.com/technicals/mocachain/run-a-challenger\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/technicals/mocachain/run-a-challenger.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.air3.com/#organization\",\"name\":\"AIR Kit\",\"url\":\"https://docs.air3.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mocanetwork/u502VcMoQ3MqsIUB/images/air-logo.svg?fit=max\u0026auto=format\u0026n=u502VcMoQ3MqsIUB\u0026q=85\u0026s=0040bb2872ea1c6524c04e68bcd69da9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.air3.com#website\",\"name\":\"AIR Kit\",\"url\":\"https://docs.air3.com\",\"publisher\":{\"@id\":\"https://docs.air3.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.air3.com/technicals/mocachain/run-a-challenger#webpage\",\"url\":\"https://docs.air3.com/technicals/mocachain/run-a-challenger\",\"name\":\"How to run a challenger for Moca Chain\",\"description\":\"Run a Moca Chain challenger node to audit MCSP storage providers — system requirements, setup, and operational guidance for ensuring data integrity.\",\"dateModified\":\"2026-11-19T16:53:38.513Z\",\"isPartOf\":{\"@id\":\"https://docs.air3.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.air3.com/technicals/mocachain/run-a-challenger#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.air3.com/technicals/mocachain/run-a-challenger#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Node Guides\",\"item\":\"https://docs.air3.com/technicals/mocachain/run-a-node\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to run a challenger for Moca Chain\",\"item\":\"https://docs.air3.com/technicals/mocachain/run-a-challenger\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.air3.com/technicals/mocachain/run-a-challenger#article\",\"headline\":\"How to run a challenger for Moca Chain\",\"name\":\"How to run a challenger for Moca Chain\",\"description\":\"Run a Moca Chain challenger node to audit MCSP storage providers — system requirements, setup, and operational guidance for ensuring data integrity.\",\"url\":\"https://docs.air3.com/technicals/mocachain/run-a-challenger\",\"mainEntityOfPage\":{\"@id\":\"https://docs.air3.com/technicals/mocachain/run-a-challenger#webpage\"},\"image\":\"https://docs.air3.com/images/preview.png?v=2\",\"dateModified\":\"2026-11-19T16:53:38.513Z\",\"publisher\":{\"@id\":\"https://docs.air3.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.air3.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AIR Kit\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AIR Kit\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/technicals/mocachain/run-a-challenger.md","siteName":"AIR Kit","nav":{"global":null,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":""}]},{"tab":"Get Started","pages":[{"title":"Get Started","href":"/get-started/build-with-your-agent"}]},{"tab":"Products","menu":[{"item":"AIR Identity","icon":"id-card","pages":[{"title":"AIR Identity","href":"/products/identity/integrating-using-ai"}]},{"item":"AIR Agent","icon":"robot","pages":[{"title":"AIR Agent","href":"/products/agents/integrating-using-ai"}]},{"item":"AIR Money","icon":"wallet","pages":[{"title":"AIR Money","href":"/products/money/integrating-using-ai"}]},{"item":"AIR Loyalty","icon":"gift","pages":[{"title":"AIR Loyalty","href":"/products/loyalty/integrating-using-ai"}]}],"pages":[{"title":"Products","href":"/products/identity/integrating-using-ai"}]},{"tab":"Solutions","pages":[{"title":"Solutions","href":"/solutions/integrating-using-ai"}]},{"tab":"Technicals","menu":[{"item":"Architecture","icon":"diagram-project","pages":[{"title":"Architecture","href":"/technicals/architecture"}]},{"item":"Moca Chain","icon":"link","groups":[{"group":"Introduction","pages":[{"title":"Moca Chain architecture and technical design","href":"/technicals/mocachain"},{"title":"Why Moca Chain?","href":"/technicals/mocachain/why-mocachain"},{"title":"$MOCA Token","href":"/technicals/mocachain/moca-coin"},{"title":"Moca Chain Block Explorer","href":"/technicals/mocachain/block-explorer"}]},{"group":"Technical Details","pages":[{"title":"Moca Chain Architecture Overview","href":"/technicals/mocachain/architecture"},{"title":"Consensus Layer","href":"/technicals/mocachain/consensus-layer"},{"title":"Moca Chain EVM Compatibility","href":"/technicals/mocachain/evm-compatibility"},{"title":"Decentralized Storage","href":"/technicals/mocachain/decentralized-storage"}]},{"group":"Using Moca Chain","pages":[{"title":"How to Connect a Wallet With Moca Chain","href":"/technicals/mocachain/connect-to-mocachain"},{"title":"How To Get $MOCA","href":"/technicals/mocachain/how-to-get-moca"},{"title":"Network Information","href":"/technicals/mocachain/network-information"},{"title":"Moca Chain CLI","href":"/technicals/mocachain/moca-chain-cli"}]},{"group":"Node Guides","pages":[{"title":"How to run a node for Moca Chain","href":"/technicals/mocachain/run-a-node"},{"title":"How to run a validator node for Moca Chain","href":"/technicals/mocachain/run-a-validator"},{"title":"How to run a storage provider for Moca Chain","href":"/technicals/mocachain/run-a-storage-provider"},{"title":"How to run a local testnet for Moca Chain","description":"Run a local Moca Chain testnet for development — Go and jq prerequisites, native setup, and a single-validator chain to test your AIR Kit integrations.","href":"/technicals/mocachain/run-a-local-testnet"},{"title":"How to run a challenger for Moca Chain","href":"/technicals/mocachain/run-a-challenger"}]}]}]},{"tab":"Demo","icon":"up-right-from-square","href":"https://demo.air3.com"},{"tab":"API References","pages":[{"title":"API References","href":"/api-reference/introduction"}]},{"tab":"Help","pages":[{"title":"Help","href":"/help/error-codes"}]}]},"basePath":"","title":"How to run a challenger for Moca Chain - AIR Kit","deploymentId":"dpl_2pTxFtyBudBMYZiCw1MyvoA1wxpd","buildId":"dpl_2pTxFtyBudBMYZiCw1MyvoA1wxpd","dynamics":[],"chunks":[]}