How data and transactions flow between users, the OwnaFarm frontend, backend services, and Mantle smart contracts across the platform’s core workflows.
High-level flow
Farmer registration
Location
Data
Database
Personal info, business details
Storage
KTP, NPWP, bank statement
Invoice submission
Investment flow
Harvest flow
Game engagement
Data
Storage
Updates
XP
Database
Per interaction
Level
Database
On threshold
Water
Database
Daily regen
Admin approval
Layer responsibilities
Layer
Handles
Does not handle
Frontend
UI, wallet, caching
Business logic
Backend
Auth, game, files
Financial transactions
Blockchain
Financial state
User metadata
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OwnaFarm","description":"Gamified invoice financing for agriculture, built on Mantle.","colors":{"primary":"#16A34A","light":"#4ADE80","dark":"#15803D"},"navbar":{"links":[{"href":"https://www.ownafarm.xyz/","label":"Website"},{"href":"https://github.com/OwnaFarm","label":"GitHub"},{"href":"https://sepolia.mantlescan.xyz","label":"Explorer"}],"primary":{"type":"button","label":"Launch app","href":"https://www.ownafarm.xyz"}},"footer":{"socials":{"github":"https://github.com/OwnaFarm","youtube":"https://youtu.be/D8RmfS-OOtw"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ownafarm","hasAudioNarration":false,"actualSubdomain":"ownafarm","customDomains":["docs.ownafarm.xyz"],"gitSource":{"type":"github","owner":"ownafarm","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae958527c27206474c9e3c6:success","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"Smart contracts","count":3},{"language":"default","tag":"Core features","count":3},{"language":"default","tag":"Getting started","count":3},{"language":"default","tag":"Platform overview","count":3},{"language":"default","tag":"Technical guide","count":3},{"language":"default","tag":"Reference","count":1}]},"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":"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":"control","enabled":true,"payload":{"type":"string","value":"control"},"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":false},"customCss":[]}
{"page":{"pagePath":"technical/system-flow","slug":"/technical/system-flow","pageMetadata":{"title":"System flow","description":"How data and transactions flow between users, the OwnaFarm frontend, backend services, and Mantle smart contracts across the platform's core workflows.","icon":"share-2","href":"/technical/system-flow"},"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: \"How data and transactions flow between users, the OwnaFarm frontend, backend services, and Mantle smart contracts across the platform’s core workflows.\"\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={tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Mermaid,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Mermaid)_missingMdxReference(`Mermaid`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`high-level-flow`,children:`High-level flow`}),`\n`,_jsx(Mermaid,{chart:`graph LR\n subgraph Users\n F[Farmer]\n I[Investor]\n end\n\n subgraph Frontend\n FP[Farmer Portal]\n IA[Investor App]\n end\n\n subgraph Backend\n API[Go API]\n DB[(Database)]\n S3[Storage]\n end\n\n subgraph Blockchain\n SC[Smart Contracts]\n end\n\n F --> FP --> API --> DB\n FP --> S3\n I --> IA --> API\n IA --> SC\n API --> SC`}),`\n`,_jsx(Heading,{level:`2`,id:`farmer-registration`,children:`Farmer registration`}),`\n`,_jsx(Mermaid,{chart:`sequenceDiagram\n participant F as Farmer\n participant FE as Portal\n participant BE as Backend\n participant R2 as Storage\n participant DB as Database\n\n F->>FE: Fill form\n FE->>BE: POST /farmers/register\n BE->>R2: Upload documents\n BE->>DB: Save profile\n BE-->>FE: {farmerId, status}`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Location`}),_jsx(_components.th,{children:`Data`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Database`}),_jsx(_components.td,{children:`Personal info, business details`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Storage`}),_jsx(_components.td,{children:`KTP, NPWP, bank statement`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`invoice-submission`,children:`Invoice submission`}),`\n`,_jsx(Mermaid,{chart:`sequenceDiagram\n participant F as Farmer\n participant FE as Portal\n participant BE as Backend\n participant SC as Contract\n\n F->>FE: Submit invoice\n FE->>BE: POST /invoices\n BE->>SC: submitInvoice()\n SC-->>BE: tokenId\n BE-->>FE: {tokenId, status}`}),`\n`,_jsx(Heading,{level:`2`,id:`investment-flow`,children:`Investment flow`}),`\n`,_jsx(Mermaid,{chart:`sequenceDiagram\n participant I as Investor\n participant FE as App\n participant SC as Contract\n participant BE as Backend\n\n I->>FE: Select seed\n FE->>SC: approve() + invest()\n SC-->>FE: Investment recorded\n FE->>BE: POST /crops/sync\n BE-->>FE: Game state updated`}),`\n`,_jsx(Heading,{level:`2`,id:`harvest-flow`,children:`Harvest flow`}),`\n`,_jsx(Mermaid,{chart:`sequenceDiagram\n participant I as Investor\n participant FE as App\n participant SC as Contract\n participant V as Vault\n\n I->>FE: Click Harvest\n FE->>SC: harvest()\n SC->>V: withdrawYield()\n V-->>SC: GOLD transferred\n SC-->>FE: Complete`}),`\n`,_jsx(Heading,{level:`2`,id:`game-engagement`,children:`Game engagement`}),`\n`,_jsx(Mermaid,{chart:`sequenceDiagram\n participant I as Investor\n participant FE as App\n participant BE as Backend\n participant DB as Database\n\n I->>FE: Water plant\n FE->>BE: POST /game/water\n BE->>DB: Update XP, water\n BE-->>FE: {xpGained, waterRemaining}`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Data`}),_jsx(_components.th,{children:`Storage`}),_jsx(_components.th,{children:`Updates`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`XP`}),_jsx(_components.td,{children:`Database`}),_jsx(_components.td,{children:`Per interaction`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Level`}),_jsx(_components.td,{children:`Database`}),_jsx(_components.td,{children:`On threshold`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Water`}),_jsx(_components.td,{children:`Database`}),_jsx(_components.td,{children:`Daily regen`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`admin-approval`,children:`Admin approval`}),`\n`,_jsx(Mermaid,{chart:`sequenceDiagram\n participant A as Admin\n participant AD as Dashboard\n participant SC as Contract\n\n A->>AD: View pending\n AD->>SC: getPendingInvoices()\n A->>AD: Approve\n AD->>SC: approveInvoice()\n SC-->>AD: Status: Approved`}),`\n`,_jsx(Heading,{level:`2`,id:`layer-responsibilities`,children:`Layer responsibilities`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Layer`}),_jsx(_components.th,{children:`Handles`}),_jsx(_components.th,{children:`Does not handle`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Frontend`}),_jsx(_components.td,{children:`UI, wallet, caching`}),_jsx(_components.td,{children:`Business logic`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Backend`}),_jsx(_components.td,{children:`Auth, game, files`}),_jsx(_components.td,{children:`Financial transactions`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Blockchain`}),_jsx(_components.td,{children:`Financial state`}),_jsx(_components.td,{children:`User metadata`})]})]})]})]})}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":"System flow","description":"How data and transactions flow between users, the OwnaFarm frontend, backend services, and Mantle smart contracts across the platform's core workflows.","icon":"share-2","href":"/technical/system-flow"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"High-level flow","slug":"high-level-flow","depth":2,"children":[]},{"title":"Farmer registration","slug":"farmer-registration","depth":2,"children":[]},{"title":"Invoice submission","slug":"invoice-submission","depth":2,"children":[]},{"title":"Investment flow","slug":"investment-flow","depth":2,"children":[]},{"title":"Harvest flow","slug":"harvest-flow","depth":2,"children":[]},{"title":"Game engagement","slug":"game-engagement","depth":2,"children":[]},{"title":"Admin approval","slug":"admin-approval","depth":2,"children":[]},{"title":"Layer responsibilities","slug":"layer-responsibilities","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"ownafarm","siteName":"OwnaFarm","title":"System flow - OwnaFarm","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-25T09:58:52.709Z","originalFileLocation":"technical/system-flow.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=\"How data and transactions flow between users, the OwnaFarm frontend, backend services, and Mantle smart contracts across the platform\u0026#x27;s core workflows.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OwnaFarm\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/ownafarm/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/ownafarm/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/ownafarm/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/ownafarm/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"System flow - OwnaFarm\">\u003cmeta data-mint-head property=\"og:description\" content=\"How data and transactions flow between users, the OwnaFarm frontend, backend services, and Mantle smart contracts across the platform\u0026#x27;s core workflows.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OwnaFarm\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ownafarm.xyz/technical/system-flow\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ownafarm.mintlify.site/_mintlify/api/og/v2?division=Technical+guide\u0026amp;title=System+flow\u0026amp;description=How+data+and+transactions+flow+between+users%2C+the+OwnaFarm+frontend%2C+backend+services%2C+and+Mantle+smart+contracts+across+the+platform%27s+core+workflows.\u0026amp;theme=a3dd3926235ae5fa6e742672\u0026amp;signature=03d2285d13094951a198135eb9c138348cc8f1d3ba907b016de195426d7a3e24\">\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=\"System flow - OwnaFarm\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How data and transactions flow between users, the OwnaFarm frontend, backend services, and Mantle smart contracts across the platform\u0026#x27;s core workflows.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ownafarm.mintlify.site/_mintlify/api/og/v2?division=Technical+guide\u0026amp;title=System+flow\u0026amp;description=How+data+and+transactions+flow+between+users%2C+the+OwnaFarm+frontend%2C+backend+services%2C+and+Mantle+smart+contracts+across+the+platform%27s+core+workflows.\u0026amp;theme=a3dd3926235ae5fa6e742672\u0026amp;signature=03d2285d13094951a198135eb9c138348cc8f1d3ba907b016de195426d7a3e24\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/ownafarm/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OwnaFarm\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ownafarm.xyz/technical/system-flow\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/technical/system-flow.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ownafarm.xyz/#organization\",\"name\":\"OwnaFarm\",\"url\":\"https://docs.ownafarm.xyz\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ownafarm.xyz#website\",\"name\":\"OwnaFarm\",\"url\":\"https://docs.ownafarm.xyz\",\"publisher\":{\"@id\":\"https://docs.ownafarm.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ownafarm.xyz/technical/system-flow#webpage\",\"url\":\"https://docs.ownafarm.xyz/technical/system-flow\",\"name\":\"System flow\",\"description\":\"How data and transactions flow between users, the OwnaFarm frontend, backend services, and Mantle smart contracts across the platform's core workflows.\",\"dateModified\":\"2026-05-25T09:58:52.709Z\",\"isPartOf\":{\"@id\":\"https://docs.ownafarm.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ownafarm.xyz/technical/system-flow#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ownafarm.xyz/technical/system-flow#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Technical guide\",\"item\":\"https://docs.ownafarm.xyz/technical/tech-stack\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"System flow\",\"item\":\"https://docs.ownafarm.xyz/technical/system-flow\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.ownafarm.xyz/technical/system-flow#article\",\"headline\":\"System flow\",\"name\":\"System flow\",\"description\":\"How data and transactions flow between users, the OwnaFarm frontend, backend services, and Mantle smart contracts across the platform's core workflows.\",\"url\":\"https://docs.ownafarm.xyz/technical/system-flow\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ownafarm.xyz/technical/system-flow#webpage\"},\"dateModified\":\"2026-05-25T09:58:52.709Z\",\"publisher\":{\"@id\":\"https://docs.ownafarm.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ownafarm.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OwnaFarm\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OwnaFarm\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/technical/system-flow.md","siteName":"OwnaFarm","nav":{"global":null,"groups":[{"group":"Getting started","icon":"rocket","pages":[{"title":"OwnaFarm","sidebarTitle":"Introduction","icon":"house","href":"/index"},{"title":"Problem statement","icon":"triangle-alert","href":"/introduction/problem"},{"title":"Our solution","icon":"lightbulb","href":"/introduction/solution"}]},{"group":"Platform overview","icon":"layout-dashboard","pages":[{"title":"How OwnaFarm works end to end","icon":"route","href":"/overview/how-it-works"},{"title":"System architecture","icon":"network","href":"/overview/architecture"},{"title":"User roles","icon":"users","href":"/overview/user-roles"}]},{"group":"Core features","icon":"sparkles","pages":[{"title":"Invoice tokenization","icon":"file-text","href":"/features/tokenization"},{"title":"Gamification and the farming game loop","icon":"gamepad-2","href":"/features/gamification"},{"title":"On-chain and real-world transparency","icon":"eye","href":"/features/transparency"}]},{"group":"Smart contracts","icon":"file-code","pages":[{"title":"Smart contract architecture","icon":"boxes","href":"/contracts/overview"},{"title":"Deployed addresses","icon":"map-pin","href":"/contracts/addresses"},{"title":"Function reference","icon":"code","href":"/contracts/functions"}]},{"group":"Technical guide","icon":"wrench","pages":[{"title":"Tech stack","description":"The frameworks, libraries, and infrastructure OwnaFarm uses across its Next.js frontend, Go backend, and Solidity smart contracts on the Mantle network.","icon":"layers","href":"/technical/tech-stack"},{"title":"System flow","icon":"share-2","href":"/technical/system-flow"},{"title":"API integration","description":"How to integrate with OwnaFarm's smart contracts and backend API from TypeScript and Go, including ethers.js setup, contract calls, and REST examples.","icon":"plug","href":"/technical/api-integration"}]},{"group":"Reference","icon":"book-open","pages":[{"title":"Glossary","icon":"book-open","href":"/resources/glossary"}]}]},"basePath":"","title":"System flow - OwnaFarm","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":[],"chunks":[]}