The contracts, the indexer and API, and the app: how the pieces fit and where to start.
Piece
What it is
Where
Ambi
The market: escrow, matching, settlement, credits
src/Ambi.sol
VerifierRegistry
Approved inboxes and their pinned code hashes
src/VerifierRegistry.sol
OptimismRouter / ArbitrumRouter
Take payment and record the outcome on the destination
src/outcomes/
OptimismInbox / ArbitrumInbox
Receive outcomes on Ethereum; the order’s verifier
src/outcomes/
Indexer + API
Reads every event on every chain, serves the book
scripts/v1/indexer.mjs, scripts/v1/api.mjs
App
The interface, built on the API
app/
Where to start
Market reference
Every function, who can call it and what it does.
API
Read the book, history and stats over HTTP.
Statement spec
Byte-exact encoding for any implementation.
⌘I
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Ambi","description":"Ambi is an offer book on Ethereum for trading any asset on any chain, settled by proof instead of a bridge.","colors":{"primary":"#0e0e12","light":"#f2f2f2","dark":"#93939b"},"logo":{"light":"https://mintcdn.com/ambi/8XDMTu60VvU2PJhO/logo/light.svg?fit=max\u0026auto=format\u0026n=8XDMTu60VvU2PJhO\u0026q=85\u0026s=96d7e7154c23d54354209193655495c6","dark":"https://mintcdn.com/ambi/8XDMTu60VvU2PJhO/logo/dark.svg?fit=max\u0026auto=format\u0026n=8XDMTu60VvU2PJhO\u0026q=85\u0026s=35ff59b25a5b1df6da307a9248773918"},"favicon":{"light":"https://mintcdn.com/ambi/8mjfh67uXoNKAf5Q/favicon-light.svg?fit=max\u0026auto=format\u0026n=8mjfh67uXoNKAf5Q\u0026q=85\u0026s=28c67e35b21bf6e759c8669b0204d412","dark":"https://mintcdn.com/ambi/8mjfh67uXoNKAf5Q/favicon-dark.svg?fit=max\u0026auto=format\u0026n=8mjfh67uXoNKAf5Q\u0026q=85\u0026s=f3ce46c837fb712102b0d37fa5a7587d"},"api":{"openapi":"api-reference/openapi.yaml","playground":{"display":"simple"},"examples":{"languages":["curl","javascript","python"]}},"appearance":{"default":"dark"},"background":{"color":{"light":"#f3f3f0","dark":"#050506"}},"navbar":{"primary":{"type":"button","label":"Launch app","href":"https://ambichain.org/"}},"search":{"prompt":"Search Ambi docs"},"seo":{"metatags":{"og:image":"/images/ambi-share-1200x630.png"}},"fonts":{"heading":{"family":"Space Grotesk","weight":500},"body":{"family":"Space Grotesk"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":false},"errors":{"404":{"redirect":false,"title":"Page not found","description":"That page isn't here. Try search, or start from the [introduction](/)."}},"contextual":{"options":["copy","view","claude","chatgpt","cursor","mcp"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"App","icon":"app-window","href":"https://ambichain.org/"},{"anchor":"Changelog","icon":"list","href":"/changelog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ambi","hasAudioNarration":false,"actualSubdomain":"ambi","customDomains":["docs.ambichain.org"],"gitSource":{"type":"github","owner":"doughpurrp","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b08bbe75e3511660c07b753"},"entitlements":{},"buildId":"6b0a27bbf866cf6449e7f14f","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"Learn","count":12},{"language":"default","tag":"API","count":11},{"language":"default","tag":"Protocol","count":7},{"language":"default","tag":"Build","count":6},{"language":"default","tag":"Chains","count":6},{"language":"default","tag":"Resources","count":6},{"language":"default","tag":"Guides","count":5},{"language":"default","tag":"Contracts","count":4},{"language":"default","tag":"Get started","count":4},{"language":"default","tag":"Security","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"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":"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":"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":"turbopuffer-dual-write","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":"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}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"code,pre,kbd{font-family:'JetBrains Mono', ui-monospace, monospace}"}]}
{"page":{"pagePath":"build/overview","slug":"/build/overview","pageMetadata":{"title":"Build on Ambi","description":"The contracts, the indexer and API, and the app: how the pieces fit and where to start.","icon":"boxes","href":"/build/overview"},"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: \"The contracts, the indexer and API, and the app: how the pieces fit and where to start.\"\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`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Card,CardGroup,Frame,Heading,Mermaid,OptimizedImage,Table}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Mermaid)_missingMdxReference(`Mermaid`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(Frame,{children:[_jsx(OptimizedImage,{className:`mint-block dark:mint-hidden`,src:`https://mintcdn.com/ambi/zxJ8qP3zW6Y_3Fqs/images/art/architecture-light.webp?fit=max\u0026auto=format\u0026n=zxJ8qP3zW6Y_3Fqs\u0026q=85\u0026s=7ca31d5a7811d22ddef679ae5d8073b9`,alt:`Market, registry and inboxes on Ethereum; routers on destination chains`,\"data-og-width\":`2400`,width:`2400`,\"data-og-height\":`840`,height:`840`,\"data-path\":`images/art/architecture-light.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ambi/zxJ8qP3zW6Y_3Fqs/images/art/architecture-light.webp?w=280\u0026fit=max\u0026auto=format\u0026n=zxJ8qP3zW6Y_3Fqs\u0026q=85\u0026s=c68aa480a44cff1b7c91a7a9f87f0ee5 280w, https://mintcdn.com/ambi/zxJ8qP3zW6Y_3Fqs/images/art/architecture-light.webp?w=560\u0026fit=max\u0026auto=format\u0026n=zxJ8qP3zW6Y_3Fqs\u0026q=85\u0026s=64dd79e3c4f1670a256cb687d75b674e 560w, https://mintcdn.com/ambi/zxJ8qP3zW6Y_3Fqs/images/art/architecture-light.webp?w=840\u0026fit=max\u0026auto=format\u0026n=zxJ8qP3zW6Y_3Fqs\u0026q=85\u0026s=6892564b1982b0130f797bef830be305 840w, https://mintcdn.com/ambi/zxJ8qP3zW6Y_3Fqs/images/art/architecture-light.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=zxJ8qP3zW6Y_3Fqs\u0026q=85\u0026s=46d06b888cc7d897d79797473ed52423 1100w, https://mintcdn.com/ambi/zxJ8qP3zW6Y_3Fqs/images/art/architecture-light.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=zxJ8qP3zW6Y_3Fqs\u0026q=85\u0026s=b42c5135787d84485489c385c0590986 1650w, https://mintcdn.com/ambi/zxJ8qP3zW6Y_3Fqs/images/art/architecture-light.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=zxJ8qP3zW6Y_3Fqs\u0026q=85\u0026s=89791572d7f8ba4c8dbd22b758260fe9 2500w`}),_jsx(OptimizedImage,{className:`mint-hidden dark:mint-block`,src:`https://mintcdn.com/ambi/zxJ8qP3zW6Y_3Fqs/images/art/architecture-dark.webp?fit=max\u0026auto=format\u0026n=zxJ8qP3zW6Y_3Fqs\u0026q=85\u0026s=204b0ca608a2e6cb1300b505ff2c2d8d`,alt:`Market, registry and inboxes on Ethereum; routers on destination chains`,\"data-og-width\":`2400`,width:`2400`,\"data-og-height\":`840`,height:`840`,\"data-path\":`images/art/architecture-dark.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ambi/zxJ8qP3zW6Y_3Fqs/images/art/architecture-dark.webp?w=280\u0026fit=max\u0026auto=format\u0026n=zxJ8qP3zW6Y_3Fqs\u0026q=85\u0026s=f42f302119b0c7efff3ac03a37a60e14 280w, https://mintcdn.com/ambi/zxJ8qP3zW6Y_3Fqs/images/art/architecture-dark.webp?w=560\u0026fit=max\u0026auto=format\u0026n=zxJ8qP3zW6Y_3Fqs\u0026q=85\u0026s=44342c577bb4b9d1c8d9f9b4fdf85922 560w, https://mintcdn.com/ambi/zxJ8qP3zW6Y_3Fqs/images/art/architecture-dark.webp?w=840\u0026fit=max\u0026auto=format\u0026n=zxJ8qP3zW6Y_3Fqs\u0026q=85\u0026s=d562c706ab6ed73f40ec4290d03348ae 840w, https://mintcdn.com/ambi/zxJ8qP3zW6Y_3Fqs/images/art/architecture-dark.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=zxJ8qP3zW6Y_3Fqs\u0026q=85\u0026s=a355531bf3e41660eacd6a93d4d0e51e 1100w, https://mintcdn.com/ambi/zxJ8qP3zW6Y_3Fqs/images/art/architecture-dark.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=zxJ8qP3zW6Y_3Fqs\u0026q=85\u0026s=103b01315f91cd127c89e53762cbbd08 1650w, https://mintcdn.com/ambi/zxJ8qP3zW6Y_3Fqs/images/art/architecture-dark.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=zxJ8qP3zW6Y_3Fqs\u0026q=85\u0026s=3af90625a653a5fae08990476c4b08e2 2500w`})]}),`\n`,_jsx(Mermaid,{chart:`flowchart LR\n subgraph Ethereum\n M[Ambi market] -- reads --> I[Inbox per route]\n M -- requires --> R[VerifierRegistry]\n end\n subgraph Destination[\"Destination chain\"]\n X[Router]\n end\n X -- canonical messenger --> I\n IDX[Indexer + API] -. events .-> M\n IDX -. events .-> X\n APP[App, bots, agents] --> IDX\n APP -- transactions --> M\n APP -- transactions --> X`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Piece`}),_jsx(_components.th,{children:`What it is`}),_jsx(_components.th,{children:`Where`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Ambi`})}),_jsx(_components.td,{children:`The market: escrow, matching, settlement, credits`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`src/Ambi.sol`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VerifierRegistry`})}),_jsx(_components.td,{children:`Approved inboxes and their pinned code hashes`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`src/VerifierRegistry.sol`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`OptimismRouter`}),` / `,_jsx(_components.code,{children:`ArbitrumRouter`})]}),_jsx(_components.td,{children:`Take payment and record the outcome on the destination`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`src/outcomes/`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`OptimismInbox`}),` / `,_jsx(_components.code,{children:`ArbitrumInbox`})]}),_jsx(_components.td,{children:`Receive outcomes on Ethereum; the order’s verifier`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`src/outcomes/`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Indexer + API`}),_jsx(_components.td,{children:`Reads every event on every chain, serves the book`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`scripts/v1/indexer.mjs`}),`, `,_jsx(_components.code,{children:`scripts/v1/api.mjs`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`App`}),_jsx(_components.td,{children:`The interface, built on the API`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`app/`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`where-to-start`,children:`Where to start`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Market reference`,icon:`file-code`,href:`/contracts/ambi`,children:`Every function, who can call it and what it does.`}),_jsx(Card,{title:`API`,icon:`square-terminal`,href:`/api/overview`,children:`Read the book, history and stats over HTTP.`}),_jsx(Card,{title:`Statement spec`,icon:`fingerprint`,href:`/specs/statement`,children:`Byte-exact encoding for any implementation.`})]})]})}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":"Build on Ambi","description":"The contracts, the indexer and API, and the app: how the pieces fit and where to start.","icon":"boxes","href":"/build/overview"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Where to start","slug":"where-to-start","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"dynamicCss":".mint-block {\n display: block\n}\n.mint-hidden {\n display: none\n}\n.dark\\:mint-block:is(.dark *) {\n display: block\n}\n.dark\\:mint-hidden:is(.dark *) {\n display: none\n}","subdomain":"ambi","siteName":"Ambi","title":"Build on Ambi - Ambi","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-28T00:29:04.738Z","originalFileLocation":"build/overview.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=\"dark\"}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=\"The contracts, the indexer and API, and the app: how the pieces fit and where to start.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ambi\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ambi/7_VlDmP6ycjCEXG5/_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/ambi/7_VlDmP6ycjCEXG5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ambi/7_VlDmP6ycjCEXG5/_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/ambi/7_VlDmP6ycjCEXG5/_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/ambi/7_VlDmP6ycjCEXG5/_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/ambi/7_VlDmP6ycjCEXG5/_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/ambi/7_VlDmP6ycjCEXG5/_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/ambi/7_VlDmP6ycjCEXG5/_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/ambi/7_VlDmP6ycjCEXG5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Build on Ambi - Ambi\">\u003cmeta data-mint-head property=\"og:description\" content=\"The contracts, the indexer and API, and the app: how the pieces fit and where to start.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ambi\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ambichain.org/build/overview\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ambi.mintlify.site/images/ambi-share-1200x630.png\">\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=\"Build on Ambi - Ambi\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The contracts, the indexer and API, and the app: how the pieces fit and where to start.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ambi.mintlify.site/images/ambi-share-1200x630.png\">\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/ambi/7_VlDmP6ycjCEXG5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ambi\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0e0e12\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ambichain.org/build/overview\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/build/overview.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ambichain.org/#organization\",\"name\":\"Ambi\",\"url\":\"https://docs.ambichain.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ambi/8XDMTu60VvU2PJhO/logo/light.svg?fit=max\u0026auto=format\u0026n=8XDMTu60VvU2PJhO\u0026q=85\u0026s=96d7e7154c23d54354209193655495c6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ambichain.org#website\",\"name\":\"Ambi\",\"url\":\"https://docs.ambichain.org\",\"publisher\":{\"@id\":\"https://docs.ambichain.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ambichain.org/build/overview#webpage\",\"url\":\"https://docs.ambichain.org/build/overview\",\"name\":\"Build on Ambi\",\"description\":\"The contracts, the indexer and API, and the app: how the pieces fit and where to start.\",\"dateModified\":\"2026-11-28T00:29:04.738Z\",\"isPartOf\":{\"@id\":\"https://docs.ambichain.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ambichain.org/build/overview#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ambichain.org/build/overview#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ambi\",\"item\":\"https://docs.ambichain.org\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Build on Ambi\",\"item\":\"https://docs.ambichain.org/build/overview\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.ambichain.org/build/overview#article\",\"headline\":\"Build on Ambi\",\"name\":\"Build on Ambi\",\"description\":\"The contracts, the indexer and API, and the app: how the pieces fit and where to start.\",\"url\":\"https://docs.ambichain.org/build/overview\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ambichain.org/build/overview#webpage\"},\"image\":\"https://docs.ambichain.org/images/ambi-share-1200x630.png\",\"dateModified\":\"2026-11-28T00:29:04.738Z\",\"publisher\":{\"@id\":\"https://docs.ambichain.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ambichain.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ambi\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Ambi\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/build/overview.md","siteName":"Ambi","nav":{"global":{"anchors":[{"anchor":"App","icon":"app-window","href":"https://ambichain.org/"},{"anchor":"Changelog","icon":"list","href":"/changelog"}]},"tabs":[{"tab":"Learn","icon":"book-open","pages":[{"title":"Learn","href":""}]},{"tab":"Guides","icon":"compass","pages":[{"title":"Guides","href":"/guides/app"}]},{"tab":"Chains","icon":"globe","pages":[{"title":"Chains","href":"/chains/overview"}]},{"tab":"Build","icon":"code","groups":[{"group":"Start","pages":[{"title":"Build on Ambi","icon":"boxes","href":"/build/overview"}]},{"group":"Contracts","pages":[{"title":"Ambi (market)","description":"The market contract: listing, requests, matching, settlement, cancellation and withdrawals.","icon":"file-code","href":"/contracts/ambi"},{"title":"VerifierRegistry","icon":"list-checks","href":"/contracts/verifier-registry"},{"title":"Routers and inboxes","icon":"inbox","href":"/contracts/routers-and-inboxes"},{"title":"Events and errors","icon":"bell","href":"/contracts/events-and-errors"}]},{"group":"Specifications","pages":[{"title":"Statement encoding","icon":"fingerprint","href":"/specs/statement"}]}]},{"tab":"API","icon":"square-terminal","pages":[{"title":"API","href":"/api/overview"}]},{"tab":"Security","icon":"shield","pages":[{"title":"Security","href":"/security/overview"}]},{"tab":"Resources","icon":"library","pages":[{"title":"Resources","href":"/resources/roadmap"}]}]},"basePath":"","title":"Build on Ambi - Ambi","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-CUYDhsh7.js","DynamicMarkdown-D8KwOkxZ.js","zoom-image-lightbox-lceUjs6n.js","lightbox-handle-r17bVUz3.js"]}