You can create your own paymaster with your custom logic to subsidize users in multiple ways. For general information on paymasters, please refer to the Paymasters page.
txSync Tsuko offers everyone an easy way to create sponsored paymasters on Sophon and Sophon testnet. To create one, please follow our walkthrough video.Via txSync Tsuko, you can:
Top it up with SOPH
Withdraw your SOPH from it at any time
Monitor it (see usage)
Add extensions
It is important to restrict your paymasters to your target audience only to avoid unintended usage.
The ZKsync contract templates repository has examples for both ERC20-based paymasters as well as sponsored(gasless) ones. If you are proficient with direct on-chain deployments, you can tailor these examples to your needs and deploy it following their respective deployment templates.
Was this page helpful?
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Sophon","colors":{"primary":"#175aad","light":"#2b95ff","dark":"#1710a1"},"favicon":"https://mintcdn.com/sophon-29bed8dc/H_vTEXh6tSwXlF5E/favicon.svg?fit=max\u0026auto=format\u0026n=H_vTEXh6tSwXlF5E\u0026q=85\u0026s=34a706a5d568b29f649fe1f0bef22c98","logo":{"light":"https://mintcdn.com/sophon-29bed8dc/H_vTEXh6tSwXlF5E/logo/light.svg?fit=max\u0026auto=format\u0026n=H_vTEXh6tSwXlF5E\u0026q=85\u0026s=a49869449255758e1035ef7541684e80","dark":"https://mintcdn.com/sophon-29bed8dc/H_vTEXh6tSwXlF5E/logo/dark.svg?fit=max\u0026auto=format\u0026n=H_vTEXh6tSwXlF5E\u0026q=85\u0026s=6bce2c0943ef511e574729744f589bca"},"background":{"decoration":"gradient"},"seo":{"metatags":{"og:title":"Sophon Documentation","og:description":"Sophon Chain migration, SOPH, and legacy chain documentation","og:image":"/images/og.png","twitter:image":"/images/og.png","og:image:width":"1200","og:image:height":"675","twitter:image:width":"1200","twitter:image:height":"675","og:image:type":"image/png","og:image:alt":"Sophon Docs","keywords":"Sophon, SOPH, Chain Migration, Guardian Rewards, Tokenomics, Legacy Chain"},"indexing":"navigable"},"footer":{"socials":{"x":"https://x.com/sophon","github":"https://github.com/sophon-org","linkedin":"https://www.linkedin.com/company/sophon-labs"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sophon-29bed8dc","hasAudioNarration":false,"actualSubdomain":"sophon-29bed8dc","customDomains":["docs.sophon.xyz"],"gitSource":{"type":"github","owner":"sophon-org","repo":"sophon-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6acb75ebe1b639bd58c22c76","collectionId":"8ec26fc6-c128-43bf-88d3-703f62a57b55","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6acb75ebe1b639bd58c22c76"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6acb75ebe1b639bd58c22c76","clientVersion":"0.0.4064","searchFilterCounts":[{"language":"default","tag":"Legacy Build","count":26},{"language":"default","tag":"Introduction","count":20},{"language":"default","tag":"Account","count":18},{"language":"default","tag":"Chain Exit","count":13},{"language":"default","tag":"Guardians","count":11},{"language":"default","tag":"Partners","count":8},{"language":"default","tag":"Legacy Farming","count":8},{"language":"default","tag":"Legacy Chain Architecture","count":6},{"language":"default","tag":"Deploy \u0026 Interact","count":6},{"language":"default","tag":"Authentication","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"llms-txt-v2","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":"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":"vite-origin","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":"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}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":".soph-button{padding:14px 20px;color:white;background-color:rgb(0, 150, 247);font-size:14px;font-weight:700;border-radius:24px;cursor:pointer;margin:8px 0;display:inline-block}.wallet-related{display:none}.visible{display:inline-block}"}],"page":{"pagePath":"build/setting-up-paymasters","slug":"/build/setting-up-paymasters","pageMetadata":{"title":"Paymasters","description":"How to create and use paymasters","href":"/build/setting-up-paymasters"},"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 to create and use paymasters\"\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`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Tip,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsx(_components.p,{children:`This guide is retained only for existing Sophon v1 integrations during the chain\nwind-down. Do not deploy a new production paymaster on Sophon.`})}),`\n`,_jsx(Heading,{level:`2`,id:`creating-your-own-paymaster`,children:`Creating Your Own Paymaster`}),`\n`,_jsxs(_components.p,{children:[`You can create your own paymaster with your custom logic to subsidize users in multiple ways. For general information on paymasters, please refer to the `,_jsx(_components.a,{href:`/architecture/paymasters`,children:`Paymasters`}),` page.`]}),`\n`,_jsx(Heading,{level:`3`,id:`1-deploy-via-txsync`,children:`1. Deploy via txSync`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://app.txsync.io/tsuko`,children:`txSync Tsuko`}),` offers everyone an easy way to create sponsored paymasters on Sophon and Sophon testnet. To create one, please follow our `,_jsx(_components.a,{href:`https://www.loom.com/share/bf5d2d2d774646eaa2aed3c71a822263?sid=7ba4d65f-465b-442e-b22a-30f52d75997d`,children:`walkthrough video`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Via `,_jsx(_components.strong,{children:`txSync Tsuko`}),`, you can:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Top it up with `,_jsx(_components.strong,{children:`SOPH`})]}),`\n`,_jsxs(_components.li,{children:[`Withdraw your `,_jsx(_components.strong,{children:`SOPH`}),` from it at any time`]}),`\n`,_jsx(_components.li,{children:`Monitor it (see usage)`}),`\n`,_jsx(_components.li,{children:`Add extensions`}),`\n`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`It is important to restrict your paymasters to your target audience only to avoid unintended usage.`})}),`\n`,_jsx(Heading,{level:`3`,id:`configure-your-restrictions`,children:`Configure Your Restrictions`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://app.txsync.io/tsuko`,children:`txSync Tsuko`}),` extensions offer you a list of pre-built restrictions you can plug into your paymasters to filter transactions. This list includes:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`User whitelisting`}),`: specify which user addresses (EOAs) can send a transaction.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Contract whitelisting`}),`: specify which contract addresses can be interacted with.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Function whitelisting`}),`: specify both contracts AND functions from those contracts that can be interacted with.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`NFT(ERC721) whitelisting`}),`: exclusively authorize paymaster access for holders of a specific NFT collection on Sophon.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`For more detail, check their detailed list `,_jsx(_components.a,{href:`https://app.txsync.io/tsuko/restriction-catalog`,children:`here`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`2-deploy-via-hardhat/foundry`,children:`2. Deploy via Hardhat/Foundry`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`https://github.com/matter-labs/zksync-contract-templates/tree/main/templates/101/contracts/4-paymaster`,children:`ZKsync contract templates`}),` repository has examples for both ERC20-based paymasters as well as sponsored(gasless) ones. If you are proficient with direct on-chain deployments, you can tailor these examples to your needs and deploy it following their respective `,_jsx(_components.a,{href:`https://github.com/matter-labs/zksync-contract-templates/blob/main/templates/101/deploy/4-paymaster/gasless/deploy.ts`,children:`deployment templates`}),`.`]})]})}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":"Paymasters","description":"How to create and use paymasters","href":"/build/setting-up-paymasters"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Creating Your Own Paymaster","slug":"creating-your-own-paymaster","depth":2,"children":[{"title":"1. Deploy via txSync","slug":"1-deploy-via-txsync","depth":3,"children":[]},{"title":"Configure Your Restrictions","slug":"configure-your-restrictions","depth":3,"children":[]},{"title":"2. Deploy via Hardhat/Foundry","slug":"2-deploy-via-hardhat/foundry","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/sophon-29bed8dc/8465623af85b6903/wallet.js"],"subdomain":"sophon-29bed8dc","siteName":"Sophon","title":"Sophon Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-16T16:12:07.642Z","originalFileLocation":"build/setting-up-paymasters.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 to create and use paymasters\">\u003cmeta data-mint-head name=\"keywords\" content=\"Sophon, SOPH, Chain Migration, Guardian Rewards, Tokenomics, Legacy Chain\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sophon\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sophon-29bed8dc/b0RpH67SbVbcWfVy/_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/sophon-29bed8dc/b0RpH67SbVbcWfVy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sophon-29bed8dc/b0RpH67SbVbcWfVy/_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/sophon-29bed8dc/b0RpH67SbVbcWfVy/_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/sophon-29bed8dc/b0RpH67SbVbcWfVy/_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/sophon-29bed8dc/b0RpH67SbVbcWfVy/_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/sophon-29bed8dc/b0RpH67SbVbcWfVy/_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/sophon-29bed8dc/b0RpH67SbVbcWfVy/_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/sophon-29bed8dc/b0RpH67SbVbcWfVy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Sophon Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sophon Chain migration, SOPH, and legacy chain documentation\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sophon\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sophon.xyz/build/setting-up-paymasters\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sophon-29bed8dc.mintlify.app/images/og.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=\"Sophon Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sophon Chain migration, SOPH, and legacy chain documentation\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sophon-29bed8dc.mintlify.app/images/og.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/sophon-29bed8dc/b0RpH67SbVbcWfVy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sophon\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#175aad\">\u003cmeta data-mint-head name=\"og:image:type\" content=\"image/png\">\u003cmeta data-mint-head name=\"og:image:alt\" content=\"Sophon Docs\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sophon.xyz/build/setting-up-paymasters\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/build/setting-up-paymasters.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sophon.xyz/#organization\",\"name\":\"Sophon\",\"url\":\"https://docs.sophon.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sophon-29bed8dc/H_vTEXh6tSwXlF5E/logo/light.svg?fit=max\u0026auto=format\u0026n=H_vTEXh6tSwXlF5E\u0026q=85\u0026s=a49869449255758e1035ef7541684e80\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sophon.xyz#website\",\"name\":\"Sophon\",\"url\":\"https://docs.sophon.xyz\",\"publisher\":{\"@id\":\"https://docs.sophon.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sophon.xyz/build/setting-up-paymasters#webpage\",\"url\":\"https://docs.sophon.xyz/build/setting-up-paymasters\",\"name\":\"Paymasters\",\"description\":\"How to create and use paymasters\",\"dateModified\":\"2026-07-16T16:12:07.642Z\",\"isPartOf\":{\"@id\":\"https://docs.sophon.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sophon.xyz/build/setting-up-paymasters#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sophon.xyz/build/setting-up-paymasters#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Setup\",\"item\":\"https://docs.sophon.xyz/build/early-partners\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Paymasters\",\"item\":\"https://docs.sophon.xyz/build/setting-up-paymasters\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.sophon.xyz/build/setting-up-paymasters#article\",\"headline\":\"Paymasters\",\"name\":\"Paymasters\",\"description\":\"How to create and use paymasters\",\"url\":\"https://docs.sophon.xyz/build/setting-up-paymasters\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sophon.xyz/build/setting-up-paymasters#webpage\"},\"image\":\"https://docs.sophon.xyz/images/og.png\",\"dateModified\":\"2026-07-16T16:12:07.642Z\",\"publisher\":{\"@id\":\"https://docs.sophon.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sophon.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sophon\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Sophon","nav":{"global":null,"tabs":[{"tab":"Introduction","pages":[{"title":"Introduction","href":"/welcome"}]},{"tab":"Legacy Build","groups":[{"group":"Legacy Chain Development","pages":[{"title":"Legacy Chain Development","href":"/build/start-building"}]},{"group":"Setup","pages":[{"title":"Early Partners Program","href":"/build/early-partners"},{"title":"Network Information","description":null,"href":"/build/network-information"},{"title":"Paymasters","href":"/build/setting-up-paymasters"}]},{"group":"EVM Compatibility","pages":[{"title":"Overview","description":"Understanding how Sophon's EVM implementation compares to Ethereum","href":"/build/evm-compatibility/index"},{"title":"EVM Bytecode Interpreter","href":"/build/evm-compatibility/evm-interpreter"},{"title":"zkVM vs EVM Differences","href":"/build/evm-compatibility/differences"}]},{"group":"Deploy \u0026 Interact","pages":[{"title":"Hardhat/Ethers","href":"/build/interact/hardhat"},{"title":"Viem/Wagmi","href":"/build/interact/viem-wagmi"},{"title":"Foundry","href":"/build/interact/foundry"},{"title":"ZKsync CLI","href":"/build/interact/zksync-cli"},{"title":"Tenderly","href":"/build/interact/tenderly"},{"title":"SDKs","href":"/build/interact/sdks"}]},{"group":"Contracts","pages":[{"title":"Mainnet","href":"/build/mainnet"},{"title":"Testnet","href":"/build/testnet"}]},{"group":"Tokens","pages":[{"title":"SOPH Bridging","mode":"wide","href":"/build/tokens/soph-bridging"},{"title":"USDC (Legacy)","href":"/build/tokens/USDC"},{"title":"Bridge SOPH with LayerZero","href":"/build/tokens/layerzero_integration"}]},{"group":"Partners","pages":[{"title":"Overview","href":"/build/partners/overview"},{"title":"Block Explorers","icon":"magnifying-glass-chart","iconType":"solid","href":"/build/partners/block-explorers"},{"title":"Indexers","icon":"database","iconType":"solid","href":"/build/partners/indexers"},{"title":"Infrastructure","icon":"server","iconType":"solid","href":"/build/partners/infrastructure"},{"title":"Account Abstraction","icon":"wallet","iconType":"solid","href":"/build/partners/account-abstraction"},{"title":"Oracles \u0026 zkTLS","icon":"satellite-dish","iconType":"solid","href":"/build/partners/oracles"},{"title":"Gaming","icon":"gamepad","iconType":"solid","href":"/build/partners/gaming"},{"title":"Payment Solutions","icon":"credit-card","iconType":"solid","href":"/build/partners/payments"}]}]},{"tab":"Account","pages":[{"title":"Account","href":"/sophon-account/intro"}]},{"tab":"Chain Exit","pages":[{"title":"Chain Exit","href":"/discover/our-universe"}]},{"tab":"Guardians","pages":[{"title":"Guardians","href":"/nodes/our-infra"}]}]},"basePath":"","title":"Sophon Documentation","buildId":"dpl_2gSLkbMoF5kkLsBqYzq9KWtDyJRo","deploymentId":"dpl_2gSLkbMoF5kkLsBqYzq9KWtDyJRo","dynamics":[],"chunks":[]}