If your app uses embedded wallets, you can configure Privy to create wallets automatically for your users as part of their login flow.
Automatic embedded wallet creation is currently not supported if your app uses Privy’s whitelabel
login interfaces. If this is the case for your app, you must manually create embedded
wallets for your users at the desired point in your
onboarding flow.
Automatic wallet creation only applies to login via the Privy modal and not from whitelabel login
methods. It does not trigger wallet creation for users who authenticate through direct login
methods like loginWithCode, useLoginWithOAuth, or similar custom flows.
Ethereum
Solana
Ethereum & Solana
To configure Privy to automatically create embedded wallets for your user when they login, set the config.embeddedWallets.ethereum.createOnLogin property of your PrivyProvider:
'all-users': Create a wallet for all users on login.
'users-without-wallets': Create a wallet for users who do not have a wallet on login.
'off': Do not create a wallet on login.
To configure Privy to automatically create embedded wallets for your user when they login, set the config.embeddedWallets.solana.createOnLogin property of your PrivyProvider:
'all-users': Create a wallet for all users on login.
'users-without-wallets': Create a wallet for users who do not have a wallet on login.
'off': Do not create a wallet on login.
To configure Privy to automatically create embedded wallets for your user when they login, set the config.embeddedWallets.ethereum.createOnLogin and config.embeddedWallets.solana.createOnLogin properties of your PrivyProvider:
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Privy Docs","colors":{"primary":"#010110","light":"#FFFFFF"},"logo":{"light":"https://mintcdn.com/privy-c2af3412/Ih_Fo3QYM486gzWq/logo/privy-logo-light.png?fit=max\u0026auto=format\u0026n=Ih_Fo3QYM486gzWq\u0026q=85\u0026s=bd297b680ace8a13db4d9ce977f93180","dark":"https://mintcdn.com/privy-c2af3412/Ih_Fo3QYM486gzWq/logo/privy-logo-dark.png?fit=max\u0026auto=format\u0026n=Ih_Fo3QYM486gzWq\u0026q=85\u0026s=24d83970695ab19a1803a2eb00dbea4e"},"favicon":"https://mintcdn.com/privy-c2af3412/YByWVKlFbSpnpSJG/favicon.png?fit=max\u0026auto=format\u0026n=YByWVKlFbSpnpSJG\u0026q=85\u0026s=ee4038168ea586e5f72041e5e2a1f5c8","api":{"openapi":{"source":"https://api.staging.privy.io/v1/openapi.json"},"playground":{"display":"interactive"},"examples":{"languages":["curl","java","javascript","php","go"]},"mdx":{"server":"https://api.privy.io"}},"background":{"color":{"light":"#FFFFFF","dark":"#010110"}},"navbar":{"links":[{"href":"https://demo.privy.io","label":"Demo"},{"href":"https://privy.io/slack","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.privy.io"}},"seo":{"metatags":{"og:type":"website","og:site_name":"Privy Docs","og:image":"https://assets.privy.io/docs-og.png","twitter:title":"Privy Docs","twitter:card":"summary_large_image","twitter:image":"https://assets.privy.io/docs-og.png"},"organization":{"id":"https://www.privy.io/#organization","name":"Privy","url":"https://www.privy.io","logo":"https://assets.privy.io/docs-og.png","sameAs":["https://x.com/privy_io","https://github.com/privy-io"]}},"styling":{"codeblocks":"system","latex":true},"integrations":{"gtm":{"tagId":"GTM-WV9MVTB3"}},"contextual":{"options":["claude","chatgpt","cursor","vscode","mcp","copy","view"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"privy-c2af3412","hasAudioNarration":false,"actualSubdomain":"privy-c2af3412","customDomains":["docs.privy.io"],"gitSource":{"type":"github","owner":"privy-io","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"issues":true,"thumbs":true,"edits":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af65053b373203ca78c457b","clientVersion":"0.0.4128","searchFilterCounts":[{"language":"default","tag":"Wallets","count":296},{"language":"default","tag":"API reference","count":255},{"language":"default","tag":"Identity","count":142},{"language":"default","tag":"Recipes","count":139},{"language":"default","tag":"All recipes","count":138},{"language":"default","tag":"Signatures and transactions","count":91},{"language":"default","tag":"Financial flows","count":88},{"language":"default","tag":"Users","count":87},{"language":"default","tag":"Basics","count":86},{"language":"default","tag":"Controls","count":77}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/privy-c2af3412/106de3f982828597/style.css"}],"page":{"pagePath":"basics/react/advanced/automatic-wallet-creation","slug":"/basics/react/advanced/automatic-wallet-creation","pageMetadata":{"title":"Automatic wallet creation","og:title":"Automatic wallet creation in React | Privy Docs","description":null,"href":"/basics/react/advanced/automatic-wallet-creation"},"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`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Note,ParamField,Tab,Tabs,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`If your app uses embedded wallets, you can configure Privy to create wallets `,_jsx(_components.strong,{children:`automatically`}),` for your users as part of their `,_jsx(_components.strong,{children:`login`}),` flow.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Automatic embedded wallet creation is currently not supported if your app uses Privy’s whitelabel\nlogin interfaces. If this is the case for your app, you must `,_jsx(_components.a,{href:`/wallets/wallets/create/create-a-wallet`,children:`manually create embedded\nwallets`}),` for your users at the desired point in your\nonboarding flow.`]})}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Automatic wallet creation only applies to login via the Privy modal and not from whitelabel login\nmethods. It does not trigger wallet creation for users who authenticate through direct login\nmethods like loginWithCode, useLoginWithOAuth, or similar custom flows.`})}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Ethereum`,id:`ethereum`,children:[_jsxs(_components.p,{children:[`To configure Privy to automatically create embedded wallets for your user when they login, `,_jsxs(_components.strong,{children:[`set the `,_jsx(_components.code,{children:`config.embeddedWallets.ethereum.createOnLogin`})]}),` property of your `,_jsx(_components.code,{children:`PrivyProvider`}),`:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`PrivyProvider`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` appId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-privy-app-id\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` config`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` embeddedWallets:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ethereum:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` createOnLogin:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"users-without-wallets\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` {`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`children`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`PrivyProvider`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),_jsxs(ParamField,{path:`createOnLogin`,type:`'all-users' | 'users-without-wallets' | 'off'`,default:`off`,id:`param-create-on-login`,children:[_jsx(_components.p,{children:`Determines when to create a wallet for the user.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`'all-users'`}),`: Create a wallet for all users on login.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`'users-without-wallets'`}),`: Create a wallet for users who do not have a wallet on login.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`'off'`}),`: Do not create a wallet on login.`]}),`\n`]})]})]}),_jsxs(Tab,{title:`Solana`,id:`solana`,children:[_jsxs(_components.p,{children:[`To configure Privy to automatically create embedded wallets for your user when they login, `,_jsxs(_components.strong,{children:[`set the `,_jsx(_components.code,{children:`config.embeddedWallets.solana.createOnLogin`})]}),` property of your `,_jsx(_components.code,{children:`PrivyProvider`}),`:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`PrivyProvider`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` appId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-privy-app-id\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` config`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` embeddedWallets:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` solana:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` createOnLogin:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'users-without-wallets'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` {`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`children`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`PrivyProvider`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),_jsxs(ParamField,{path:`createOnLogin`,type:`'all-users' | 'users-without-wallets' | 'off'`,default:`off`,id:`param-create-on-login-1`,children:[_jsx(_components.p,{children:`Determines when to create a wallet for the user.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`'all-users'`}),`: Create a wallet for all users on login.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`'users-without-wallets'`}),`: Create a wallet for users who do not have a wallet on login.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`'off'`}),`: Do not create a wallet on login.`]}),`\n`]})]})]}),_jsxs(Tab,{title:`Ethereum \u0026 Solana`,id:`ethereum-%26-solana`,children:[_jsxs(_components.p,{children:[`To configure Privy to automatically create embedded wallets for your user when they login, `,_jsxs(_components.strong,{children:[`set the `,_jsx(_components.code,{children:`config.embeddedWallets.ethereum.createOnLogin`})]}),` and `,_jsx(_components.code,{children:`config.embeddedWallets.solana.createOnLogin`}),` properties of your `,_jsx(_components.code,{children:`PrivyProvider`}),`:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`PrivyProvider`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` appId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-privy-app-id\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` config`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` embeddedWallets:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ethereum:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` createOnLogin:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'users-without-wallets'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` solana:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` createOnLogin:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'users-without-wallets'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` {`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`children`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`PrivyProvider`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})})]})]})]})}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":"system","config":{},"pageMetadata":{"title":"Automatic wallet creation","og:title":"Automatic wallet creation in React | Privy Docs","description":null,"href":"/basics/react/advanced/automatic-wallet-creation"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/privy-c2af3412/9a6cfa36ced76db0/welcome.js","/_mintlify/custom/privy-c2af3412/1af79d46bd64cd8b/fullstory.js","/_mintlify/custom/privy-c2af3412/e4d91321024fde21/recipes/recipes-search.js","/_mintlify/custom/privy-c2af3412/d31c5451398ab22c/check-links.js"],"subdomain":"privy-c2af3412","siteName":"Privy Docs","title":"Automatic wallet creation in React | Privy Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T20:24:37.656Z","originalFileLocation":"basics/react/advanced/automatic-wallet-creation.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=\"application-name\" content=\"Privy Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_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/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/privy-c2af3412/bJgmnaRQwH8sO8y5/_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/privy-c2af3412/bJgmnaRQwH8sO8y5/_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/privy-c2af3412/bJgmnaRQwH8sO8y5/_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/privy-c2af3412/bJgmnaRQwH8sO8y5/_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/privy-c2af3412/bJgmnaRQwH8sO8y5/_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/privy-c2af3412/bJgmnaRQwH8sO8y5/_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/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Automatic wallet creation in React | Privy Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Privy Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.privy.io/basics/react/advanced/automatic-wallet-creation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://assets.privy.io/docs-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=\"Privy Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://assets.privy.io/docs-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/privy-c2af3412/bJgmnaRQwH8sO8y5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Privy Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#010110\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.privy.io/basics/react/advanced/automatic-wallet-creation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/basics/react/advanced/automatic-wallet-creation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.privy.io/#organization\",\"name\":\"Privy\",\"url\":\"https://www.privy.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://assets.privy.io/docs-og.png\"},\"sameAs\":[\"https://x.com/privy_io\",\"https://github.com/privy-io\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.privy.io#website\",\"name\":\"Privy Docs\",\"url\":\"https://docs.privy.io\",\"publisher\":{\"@id\":\"https://www.privy.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.privy.io/basics/react/advanced/automatic-wallet-creation#webpage\",\"url\":\"https://docs.privy.io/basics/react/advanced/automatic-wallet-creation\",\"name\":\"Automatic wallet creation\",\"dateModified\":\"2026-11-12T20:24:37.656Z\",\"isPartOf\":{\"@id\":\"https://docs.privy.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.privy.io/basics/react/advanced/automatic-wallet-creation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.privy.io/basics/react/advanced/automatic-wallet-creation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Client-side SDKs\",\"item\":\"https://docs.privy.io/basics/react/installation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"React\",\"item\":\"https://docs.privy.io/basics/react/installation\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Advanced\",\"item\":\"https://docs.privy.io/basics/react/advanced/configuring-evm-networks\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Automatic wallet creation\",\"item\":\"https://docs.privy.io/basics/react/advanced/automatic-wallet-creation\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.privy.io/basics/react/advanced/automatic-wallet-creation#article\",\"headline\":\"Automatic wallet creation\",\"name\":\"Automatic wallet creation\",\"url\":\"https://docs.privy.io/basics/react/advanced/automatic-wallet-creation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.privy.io/basics/react/advanced/automatic-wallet-creation#webpage\"},\"image\":\"https://assets.privy.io/docs-og.png\",\"dateModified\":\"2026-11-12T20:24:37.656Z\",\"publisher\":{\"@id\":\"https://www.privy.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.privy.io#website\"}}]}\u003c/script>","agentPointerHref":"/basics/react/advanced/automatic-wallet-creation.md","siteName":"Privy Docs","nav":{"global":null,"tabs":[{"tab":"Basics","groups":[{"group":"Get started","pages":[{"title":"About Privy","href":"/basics/get-started/about"},{"title":"Create an account","href":"/basics/get-started/account"},{"title":"Choose your platform","href":"/basics/get-started/platforms"},{"group":"Configuring Privy Dashboard","pages":[{"title":"Overview","href":"/basics/get-started/dashboard/overview"},{"title":null,"href":"/basics/get-started/dashboard/create-new-app"},{"title":"App secrets","sidebarTitle":"App secrets","href":"/basics/get-started/dashboard/app-secrets"},{"title":"Configuring appearance","href":"/basics/get-started/dashboard/configuring-appearance"},{"title":"Configure login methods","href":"/basics/get-started/dashboard/configure-login-methods"},{"title":null,"href":"/basics/get-started/dashboard/app-clients"},{"title":null,"href":"/basics/get-started/dashboard/teammate-roles"},{"title":"Dashboard MFA","href":"/basics/get-started/dashboard/multi-factor"},{"title":"Single sign-on","href":"/basics/get-started/dashboard/sso"}]},{"title":"Key concepts","sidebarTitle":"Key concepts","href":"/basics/key-concepts"},{"title":"Build with AI tools","href":"/basics/get-started/using-llms"}]},{"group":"Client-side SDKs","pages":[{"group":"React","pages":[{"title":"Installation","href":"/basics/react/installation"},{"title":"Setup","href":"/basics/react/setup"},{"title":"Quickstart","href":"/basics/react/quickstart"},{"title":"Features","href":"/basics/react/features"},{"title":"React changelog","sidebarTitle":"Changelog","href":"/basics/react/changelog"},{"group":"Advanced","pages":[{"title":"Configuring EVM networks","href":"/basics/react/advanced/configuring-evm-networks"},{"title":"Configuring Solana networks","description":"Configure Solana RPC endpoints and clusters (mainnet, devnet, testnet) in the PrivyProvider using createSolanaRpc","href":"/basics/react/advanced/configuring-solana-networks"},{"title":"Automatic wallet creation","href":"/basics/react/advanced/automatic-wallet-creation"},{"title":"Migrating to 3.0","description":null,"href":"/basics/react/advanced/migrating-to-3.0"},{"title":"Migrating to 2.0","href":"/basics/react/advanced/migrating-to-2.0"}]}]},{"group":"React Native","pages":[{"title":null,"href":"/basics/react-native/installation"},{"title":null,"href":"/basics/react-native/setup"},{"title":"Quickstart","href":"/basics/react-native/quickstart"},{"title":"Features","href":"/basics/react-native/features"},{"title":"React Native changelog","sidebarTitle":"Changelog","href":"/basics/react-native/changelog"},{"group":"Advanced","pages":[{"title":"Configuring EVM networks","href":"/basics/react-native/advanced/configure-evm-networks"},{"title":null,"href":"/basics/react-native/advanced/configuring-appearance"},{"title":null,"href":"/basics/react-native/advanced/setup-apple-login"},{"title":"Setting up Privy UIs","href":"/basics/react-native/advanced/setup-privyelements"},{"title":null,"href":"/basics/react-native/advanced/setup-passkeys"},{"title":"Automatic wallet creation","href":"/basics/react-native/advanced/automatic-wallet-creation"},{"title":null,"href":"/basics/react-native/advanced/customizing-session-persistence"}]}]},{"group":"Swift","pages":[{"title":null,"href":"/basics/swift/installation"},{"title":null,"href":"/basics/swift/setup"},{"title":"Quickstart","href":"/basics/swift/quickstart"},{"title":"Features","href":"/basics/swift/features"},{"title":"Swift changelog","sidebarTitle":"Changelog","href":"/basics/swift/changelog"},{"group":"Advanced","pages":[{"title":"Migrating to 2.0","href":"/basics/swift/advanced/migrating-to-2.0"}]}]},{"group":"Android","pages":[{"title":null,"href":"/basics/android/installation"},{"title":null,"href":"/basics/android/setup"},{"title":"Quickstart","href":"/basics/android/quickstart"},{"title":"Features","href":"/basics/android/features"},{"title":"Android changelog","sidebarTitle":"Changelog","href":"/basics/android/changelog"},{"group":"Advanced","pages":[{"title":null,"href":"/basics/android/advanced/setup-passkeys"}]}]},{"group":"Flutter","pages":[{"title":null,"href":"/basics/flutter/installation"},{"title":null,"href":"/basics/flutter/setup"},{"title":"Quickstart","href":"/basics/flutter/quickstart"},{"title":"Features","href":"/basics/flutter/features"},{"title":"Flutter changelog","sidebarTitle":"Changelog","href":"/basics/flutter/changelog"}]},{"group":"Unity","pages":[{"title":null,"href":"/basics/unity/installation"},{"title":null,"href":"/basics/unity/setup"},{"title":"Quickstart","href":"/basics/unity/quickstart"},{"title":"Features","href":"/basics/unity/features"},{"title":"Unity changelog","sidebarTitle":"Changelog","href":"/basics/unity/changelog"}]}]},{"group":"Server-side SDKs","pages":[{"group":"NodeJS","pages":[{"title":"Installation","href":"/basics/nodeJS/installation"},{"title":"Setup","href":"/basics/nodeJS/setup"},{"title":"Quickstart","href":"/basics/nodeJS/quickstart"},{"title":"NodeJS changelog","sidebarTitle":"Changelog","href":"/basics/nodeJS/changelog"},{"group":"Advanced","pages":[{"title":"Migrating from server-auth","href":"/basics/nodeJS/advanced/migrating-from-server-auth"}]}]},{"group":"Java","pages":[{"title":null,"href":"/basics/java/installation"},{"title":null,"href":"/basics/java/setup"},{"title":"Quickstart","href":"/basics/java/quickstart"},{"title":"Java changelog","sidebarTitle":"Changelog","href":"/basics/java/changelog"}]},{"group":"Go","pages":[{"title":null,"href":"/basics/go/installation"},{"title":"Setup","href":"/basics/go/setup"},{"title":"Quickstart","href":"/basics/go/quickstart"},{"title":"Go changelog","sidebarTitle":"Changelog","href":"/basics/go/changelog"}]},{"group":"Rust","pages":[{"title":null,"href":"/basics/rust/installation"},{"title":null,"href":"/basics/rust/setup"},{"title":"Quickstart","href":"/basics/rust/quickstart"}]},{"group":"Ruby","pages":[{"title":"Installation","href":"/basics/ruby/installation"},{"title":"Setup","href":"/basics/ruby/setup"},{"title":"Quickstart","href":"/basics/ruby/quickstart"},{"title":"Ruby changelog","sidebarTitle":"Changelog","href":"/basics/ruby/changelog"}]},{"group":"Python","pages":[{"title":"Installation","href":"/basics/python/installation"},{"title":"Setup","href":"/basics/python/setup"},{"title":"Quickstart","href":"/basics/python/quickstart"},{"title":"Python changelog","sidebarTitle":"Changelog","href":"/basics/python/changelog"}]}]},{"group":"REST API","pages":[{"title":"Setup","href":"/basics/rest-api/setup"},{"title":"Quickstart","href":"/basics/rest-api/quickstart"}]},{"group":"Changelogs","pages":[{"title":"Product updates","sidebarTitle":"Product updates","href":"/changelogs/product-updates"},{"group":"SDK changelogs","pages":[{"title":"React changelog","sidebarTitle":"React","href":"/changelogs/react-auth"},{"title":"React Native changelog","sidebarTitle":"React Native","href":"/changelogs/react-native"},{"title":"NodeJS changelog","sidebarTitle":"NodeJS","href":"/changelogs/node"},{"title":"Java changelog","sidebarTitle":"Java","href":"/changelogs/java"},{"title":"Go changelog","sidebarTitle":"Go","href":"/changelogs/go"},{"title":"Rust changelog","sidebarTitle":"Rust","href":"/changelogs/rust"},{"title":"Ruby changelog","sidebarTitle":"Ruby","href":"/changelogs/ruby"},{"title":"Python changelog","sidebarTitle":"Python","href":"/changelogs/python"},{"title":"Swift changelog","sidebarTitle":"Swift","href":"/changelogs/swift"},{"title":"Android changelog","sidebarTitle":"Android","href":"/changelogs/android"},{"title":"Unity changelog","sidebarTitle":"Unity","href":"/changelogs/unity"},{"title":"Flutter changelog","sidebarTitle":"Flutter","href":"/changelogs/flutter"},{"title":"Ecosystem SDK changelog","sidebarTitle":"Ecosystem SDK","href":"/changelogs/cross-app-connect"},{"title":"Cross app provider SDK changelog","sidebarTitle":"Cross app provider SDK","href":"/changelogs/cross-app-provider"},{"title":"JS core SDK changelog","sidebarTitle":"JS core SDK","href":"/changelogs/js-sdk-core"},{"title":"React - Wagmi changelog","sidebarTitle":"React - Wagmi","href":"/changelogs/wagmi"}]}]},{"group":"Troubleshooting and tips","pages":[{"group":"React","pages":[{"title":"Common framework errors","href":"/basics/troubleshooting/react-frameworks"},{"title":"Embedded wallets","href":"/basics/troubleshooting/troubleshooting-embedded-wallets"},{"title":"Multiple dialogs","href":"/basics/troubleshooting/multiple-dialogs"},{"title":"Styles","href":"/basics/troubleshooting/styles"},{"title":"Analytics CORS errors","href":"/basics/troubleshooting/analytics-cors"}]},{"group":"Error handling","pages":[{"title":"Client-side error codes","href":"/basics/troubleshooting/error-handling/client-errors"},{"title":"API error codes","href":"/basics/troubleshooting/error-handling/api-errors"}]}]}]},{"tab":"Wallets","menu":[{"item":"Overview","pages":[{"title":"Overview","href":"/wallets/overview"}]},{"item":"Embedded wallets","pages":[{"title":"Embedded wallets","href":"/wallets/overview/embedded"}]},{"item":"Organization wallets","pages":[{"title":"Organization wallets","href":"/organizations/overview"}]},{"item":"External wallets","pages":[{"title":"External wallets","href":"/wallets/connectors/overview"}]},{"item":"Signatures and transactions","pages":[{"title":"Signatures and transactions","href":"/wallets/signatures-and-transactions"}]},{"item":"Balances and webhooks","pages":[{"title":"Balances and webhooks","href":"/wallets/gas-and-asset-management/assets/overview"}]},{"item":"Gas and fee management","pages":[{"title":"Gas and fee management","href":"/wallets/gas-and-asset-management/gas/overview"}]}],"pages":[{"title":"Wallets","href":"/wallets/overview"}]},{"tab":"Financial flows","menu":[{"item":"Overview","pages":[{"title":"Overview","href":"/financial-flows/overview"}]},{"item":"Deposits","pages":[{"title":"Deposits","href":"/financial-flows/deposits/overview"}]},{"item":"Payouts","pages":[{"title":"Payouts","href":"/financial-flows/payouts/overview"}]},{"item":"Earn","pages":[{"title":"Earn","href":"/wallets/actions/earn/overview"}]},{"item":"Cards","pages":[{"title":"Cards","href":"/financial-flows/cards/overview"}]},{"item":"Trade","pages":[{"title":"Trade","href":"/wallets/actions/swap/overview"}]},{"item":"Monetization","pages":[{"title":"Monetization","href":"/financial-flows/monetization"}]},{"item":"Treasury management","pages":[{"title":"Treasury management","href":"/treasury-management/overview"}]},{"item":"Private transactions","pages":[{"title":"Private transactions","href":"/financial-flows/private-transactions"}]}],"pages":[{"title":"Financial flows","href":"/financial-flows/overview"}]},{"tab":"Controls and policies","menu":[{"item":"Controls","pages":[{"title":"Controls","href":"/controls/overview"}]},{"item":"Policies","pages":[{"title":"Policies","href":"/controls/policies/overview"}]},{"item":"Manual approvals","pages":[{"title":"Manual approvals","href":"/controls/dashboard/overview"}]}],"pages":[{"title":"Controls and policies","href":"/controls/overview"}]},{"tab":"Identity","menu":[{"item":"Authentication","pages":[{"title":"Authentication","href":"/authentication/overview"}]},{"item":"Users","pages":[{"title":"Users","href":"/user-management/users/overview"}]},{"item":"KYC and KYB","pages":[{"title":"KYC and KYB","href":"/kyc-kyb/overview"}]}],"pages":[{"title":"Identity","href":"/authentication/overview"}]},{"tab":"Security","pages":[{"title":"Security","href":"/security/overview"}]},{"tab":"Recipes","pages":[{"title":"Recipes","href":"/recipes/overview"}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Automatic wallet creation in React | Privy Docs","buildId":"dpl_5tKr6cUUeuVJdEZ9JAEY3h4soMJ8","deploymentId":"dpl_5tKr6cUUeuVJdEZ9JAEY3h4soMJ8","dynamics":[],"chunks":[]}