Root frontend, build npm run build, output dist. .env.production points it at the testnet.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"Oorka","description":"A Uniswap v4 hook where the curator seat is earned on-chain: curators compete on real fees and the winner runs the vault.","colors":{"primary":"#7C3AED","light":"#A78BFA","dark":"#6D28D9"},"logo":{"light":"/logo/light.svg","dark":"/logo/dark.svg","href":"/"},"favicon":"/favicon.svg","appearance":{"default":"system","strict":false},"background":{"decoration":"gradient","color":{"light":"#FFFFFF","dark":"#0E0C14"}},"navbar":{"links":[{"href":"https://github.com/debojyoti10CC/oorka","type":"github"}],"primary":{"type":"button","label":"Open the app","href":"https://oorka.djyo.tech/"}},"footer":{"socials":{"github":"https://github.com/debojyoti10CC/oorka"}},"search":{"prompt":"Search Oorka docs..."},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":{"light":"github-light","dark":"github-dark"}}},"banner":{"content":"Live on Unichain Sepolia: the hook settles every 15-minute epoch on its own through a Reactive Network keeper. [Open the arena](https://oorka.djyo.tech/#/arena)","dismissible":true},"contextual":{"options":["copy","view","chatgpt","claude","cursor"],"display":"header"},"metadata":{"timestamp":true},"integrations":{"telemetry":{"enabled":false}},"navigation":{"global":{"anchors":[{"anchor":"Live app","icon":"monitor","href":"https://oorka.djyo.tech/"},{"anchor":"GitHub","icon":"github","href":"https://github.com/debojyoti10CC/oorka"},{"anchor":"Hook on Uniscan","icon":"search","href":"https://sepolia.uniscan.xyz/address/0xbeEcbe71d831880f2038Bc35b613e100F1f010A0"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"hasAudioNarration":false,"customDomains":[],"gitSource":{"type":"github","owner":"local","repo":"local","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"local","isBase":true},"buildId":"local","clientVersion":"0.0.4341"},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false,"isLoggedInCli":false,"mintExport":{}},"customCss":[]}
{"page":{"pagePath":"development/deploying","slug":"/development/deploying","pageMetadata":{"title":"Deploying","description":"Deploy your own Oorka world on a testnet with a v4 PoolManager.","href":"/development/deploying"},"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: \"Deploy your own Oorka world on a testnet with a v4 PoolManager.\"\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={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Mermaid,Tab,Table,Tabs}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Mermaid)_missingMdxReference(`Mermaid`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsx(Mermaid,{chart:`flowchart TB\n A[\"Mine a hook address with the right flag bits\"] --> B[\"Deploy tokens + routers\"]\n B --> C[\"Deploy OorkaHook(PoolManager, Config)\"]\n C --> D[\"initialize pool (fee 3000, spacing 60, hook)\"]\n D --> E[\"Add background liquidity\"]\n E --> F[\"register seat holder, registerBenchmark, deposit\"]\n F --> G[\"Write deployments/\u003cchainId>.json\"]\n G --> H[\"Deploy the Reactive keeper\"]`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Foundry script`,id:`foundry-script`,children:[_jsx(CodeBlock,{numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`cd`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` contracts`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`PRIVATE_KEY`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`0x...`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`POOL_MANAGER=0x00b036b58a818b1bc34d502d3fe730db729e62ac `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`\\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`forge `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`script`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` script/DeployTestnet.s.sol`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` --rpc-url`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` https://sepolia.unichain.org`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` --broadcast`})]}),`\n`]})})}),_jsx(_components.p,{children:`The script header also lists PoolManager addresses for Sepolia, Base Sepolia and Arbitrum Sepolia.`})]}),_jsxs(Tab,{title:`Node script`,id:`node-script`,children:[_jsx(CodeBlock,{numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light github-dark`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#24292e`,color:`#24292e`,\"--shiki-dark\":`#e1e4e8`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:`gh`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` run`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` download`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` -R`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` debojyoti10CC/oorka`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` -n`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` contracts-out`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:` -D`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` ci-out`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#79B8FF`},children:`cd`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` frontend`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#E1E4E8`},children:`PRIVATE_KEY`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#F97583`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:`0x...`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#B392F0`},children:` node`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` scripts/deploy-testnet.mjs`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#9ECBFF`},children:` ../ci-out`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Writes `,_jsx(_components.code,{children:`public/deployments.1301.json`}),`, which the app reads.`]})]})]}),`\n`,_jsxs(_components.p,{children:[`Then `,_jsx(_components.a,{href:`/keeper/deploy`,children:`deploy the keeper`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`hosting-the-app`,children:`Hosting the app`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Target`}),_jsx(_components.th,{children:`How`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`GitHub Pages`}),_jsxs(_components.td,{children:[`Automatic on push (`,_jsx(_components.code,{children:`pages.yml`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Vercel / any static host`}),_jsxs(_components.td,{children:[`Root `,_jsx(_components.code,{children:`frontend`}),`, build `,_jsx(_components.code,{children:`npm run build`}),`, output `,_jsx(_components.code,{children:`dist`}),`. `,_jsx(_components.code,{children:`.env.production`}),` points it at the testnet.`]})]})]})]})]})}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":{"codeStyling":{"theme":{"light":"github-light","dark":"github-dark"}},"config":{},"pageMetadata":{"title":"Deploying","description":"Deploy your own Oorka world on a testnet with a v4 PoolManager.","href":"/development/deploying"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Hosting the app","slug":"hosting-the-app","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"localhost","siteName":"Oorka","title":"Deploying - Oorka","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"development/deploying.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;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=\"system\"}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=\"Deploy your own Oorka world on a testnet with a v4 PoolManager.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Oorka\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/favicons/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicons/favicon-32x32.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicons/favicon-16x16.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/favicons/favicon.ico\">\u003cmeta data-mint-head property=\"og:title\" content=\"Deploying - Oorka\">\u003cmeta data-mint-head property=\"og:description\" content=\"Deploy your own Oorka world on a testnet with a v4 PoolManager.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Oorka\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://local./development/deploying\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Deploying - Oorka\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Deploy your own Oorka world on a testnet with a v4 PoolManager.\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/favicons/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Oorka\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7C3AED\">\u003clink data-mint-head rel=\"canonical\" href=\"https://local./development/deploying\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/development/deploying.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Oorka\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Oorka\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/development/deploying.md","siteName":"Oorka","nav":{"global":{"anchors":[{"anchor":"Live app","icon":"monitor","href":"https://oorka.djyo.tech/"},{"anchor":"GitHub","icon":"github","href":"https://github.com/debojyoti10CC/oorka"},{"anchor":"Hook on Uniscan","icon":"search","href":"https://sepolia.uniscan.xyz/address/0xbeEcbe71d831880f2038Bc35b613e100F1f010A0"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Contracts","pages":[{"title":"Contracts","href":"/contracts/overview"}]},{"tab":"Build \u0026 run","groups":[{"group":"App","pages":[{"title":"The app","href":"/app/overview"},{"title":"Demo market","href":"/app/demo-market"}]},{"group":"Development","pages":[{"title":"Repository","href":"/development/repository"},{"title":"Local setup","href":"/development/local-setup"},{"title":"Testing","href":"/development/testing"},{"title":"CI and workflows","description":"The three GitHub Actions workflows and what they produce.","href":"/development/ci"},{"title":"Deploying","href":"/development/deploying"}]},{"group":"Resources","pages":[{"title":"FAQ","description":"Short answers to common questions.","href":"/resources/faq"},{"title":"Glossary","href":"/resources/glossary"},{"title":"Credits","href":"/resources/credits"}]}]}]},"basePath":"","title":"Deploying - Oorka","buildId":"7a8f3d195a35","dynamics":["10e4515597"],"chunks":["BannerMarkdown-C0wTztIQ.js","dist-ffMZJqzp.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}