From 16907bf168c5c92fc06ff8a60dcd9f986dc84f33 Mon Sep 17 00:00:00 2001 From: Traian Vila Date: Thu, 30 Oct 2025 10:18:56 +0200 Subject: [PATCH 1/2] outdated examples --- embedded-wallets/code-examples/add-credential.mdx | 3 ++- embedded-wallets/code-examples/authenticate-user-email.mdx | 2 ++ embedded-wallets/code-examples/authenticate-user-passkey.mdx | 2 ++ embedded-wallets/code-examples/create-passkey-session.mdx | 2 ++ embedded-wallets/code-examples/create-sub-org-passkey.mdx | 2 ++ embedded-wallets/code-examples/create-user-email.mdx | 2 ++ embedded-wallets/code-examples/export.mdx | 2 ++ embedded-wallets/code-examples/fiat-on-ramp.mdx | 2 ++ embedded-wallets/code-examples/import.mdx | 2 ++ embedded-wallets/code-examples/signing-transactions.mdx | 2 ++ embedded-wallets/code-examples/social-linking.mdx | 2 ++ embedded-wallets/code-examples/wallet-auth.mdx | 2 ++ 12 files changed, 24 insertions(+), 1 deletion(-) diff --git a/embedded-wallets/code-examples/add-credential.mdx b/embedded-wallets/code-examples/add-credential.mdx index e417206f..582cb19e 100644 --- a/embedded-wallets/code-examples/add-credential.mdx +++ b/embedded-wallets/code-examples/add-credential.mdx @@ -2,7 +2,8 @@ title: "Add an Additional Passkey" description: "This guide demonstrates how to add a new credential (specifically, a passkey) to an existing wallet using the Turnkey SDK." --- - +> ⚠️ **This example is outdated !**
+> Head over to [SDK Reference](/sdks/react) for the updated packages. ### Initialize the Passkey Client diff --git a/embedded-wallets/code-examples/authenticate-user-email.mdx b/embedded-wallets/code-examples/authenticate-user-email.mdx index 021c1c8b..144d183d 100644 --- a/embedded-wallets/code-examples/authenticate-user-email.mdx +++ b/embedded-wallets/code-examples/authenticate-user-email.mdx @@ -2,6 +2,8 @@ title: "Authenticate a User with Email" mode: wide --- +> ⚠️ **This example is outdated !**
+> Head over to [SDK Reference](/sdks/react) for the updated packages. diff --git a/embedded-wallets/code-examples/authenticate-user-passkey.mdx b/embedded-wallets/code-examples/authenticate-user-passkey.mdx index 1c80f48c..03924bbe 100644 --- a/embedded-wallets/code-examples/authenticate-user-passkey.mdx +++ b/embedded-wallets/code-examples/authenticate-user-passkey.mdx @@ -2,6 +2,8 @@ title: "Authenticate a User with a Passkey Credential" mode: wide --- +> ⚠️ **This example is outdated !**
+> Head over to [SDK Reference](/sdks/react) for the updated packages. diff --git a/embedded-wallets/code-examples/create-passkey-session.mdx b/embedded-wallets/code-examples/create-passkey-session.mdx index 4b3c1c88..167ccf87 100644 --- a/embedded-wallets/code-examples/create-passkey-session.mdx +++ b/embedded-wallets/code-examples/create-passkey-session.mdx @@ -2,6 +2,8 @@ title: "Create a User Passkey Session" description: 'A passkey session is an expiring session enabled by an initial passkey authentication. You could think of this as a "lightning mode" of sorts: creating a passkey session allows users to authenticate subsequent requests touch-free. Under the hood, this is powered by our [indexedDbStamper](/sdks/advanced/indexed-db-stamper). These sessions are enabled by creating a short-lived embedded API key in the browser, stored in localStorage, and cryptographically scoped to a public key generated by IndexedDB.' --- +> ⚠️ **This example is outdated !**
+> Head over to [SDK Reference](/sdks/react) for the updated packages. By calling `loginWithPasskey()`, the SDK stores the session and active client in localStorage. The signing key material remains securely stored in the browser’s IndexedDB and is never extractable. Turnkey uses this public key to scope and encrypt the session to the appropriate user. diff --git a/embedded-wallets/code-examples/create-sub-org-passkey.mdx b/embedded-wallets/code-examples/create-sub-org-passkey.mdx index e9ddce6d..1548e607 100644 --- a/embedded-wallets/code-examples/create-sub-org-passkey.mdx +++ b/embedded-wallets/code-examples/create-sub-org-passkey.mdx @@ -2,6 +2,8 @@ title: "Create a Sub-Org with a Passkey User" description: "In this guide, we'll walk through the process of creating a new end user with a passkey." --- +> ⚠️ **This example is outdated !**
+> Head over to [SDK Reference](/sdks/react) for the updated packages. ## Overview diff --git a/embedded-wallets/code-examples/create-user-email.mdx b/embedded-wallets/code-examples/create-user-email.mdx index 9dd3ac34..1379b09c 100644 --- a/embedded-wallets/code-examples/create-user-email.mdx +++ b/embedded-wallets/code-examples/create-user-email.mdx @@ -3,6 +3,8 @@ title: "Create a User with Email Only" description: "This example demonstrates how to create a sub organization using just an end-user's email: passkeys not required! Note that this flow does not require emails to be verified." mode: wide --- +> ⚠️ **This example is outdated !**
+> Head over to [SDK Reference](/sdks/react) for the updated packages. diff --git a/embedded-wallets/code-examples/export.mdx b/embedded-wallets/code-examples/export.mdx index 6df89594..105a5308 100644 --- a/embedded-wallets/code-examples/export.mdx +++ b/embedded-wallets/code-examples/export.mdx @@ -2,6 +2,8 @@ title: "Export Wallet or Private Key" description: "This is a guide to exporting your wallet or private key from Turnkey. For more information about the security of this flow, check out [Enclave secure channels](/security/enclave-secure-channels)." --- +> ⚠️ **This example is outdated !**
+> Head over to [SDK Reference](/sdks/react/using-embedded-wallets#importing-and-exporting-wallets) for the updated packages. ## Implementation guides diff --git a/embedded-wallets/code-examples/fiat-on-ramp.mdx b/embedded-wallets/code-examples/fiat-on-ramp.mdx index c0b18786..ecbc9ae4 100644 --- a/embedded-wallets/code-examples/fiat-on-ramp.mdx +++ b/embedded-wallets/code-examples/fiat-on-ramp.mdx @@ -3,6 +3,8 @@ title: "Fiat Onramp" description: "This is a guide to implementing Fiat Onramps within a Turnkey-powered application." mode: wide --- +> ⚠️ **This example is outdated !**
+> Head over to [SDK Reference](/sdks/react) for the updated packages. ## Using @turnkey/sdk-react diff --git a/embedded-wallets/code-examples/import.mdx b/embedded-wallets/code-examples/import.mdx index 734842be..37d3115f 100644 --- a/embedded-wallets/code-examples/import.mdx +++ b/embedded-wallets/code-examples/import.mdx @@ -2,6 +2,8 @@ title: "Import Wallet or Private Key" description: "This is a guide to importing your wallet or private key into Turnkey. For more information about the security of this flow, check out [Enclave secure channels](/security/enclave-secure-channels)." --- +> ⚠️ **This example is outdated !**
+> Head over to [SDK Reference](/sdks/react/using-embedded-wallets#importing-and-exporting-wallets) for the updated packages. ## Implementation guides diff --git a/embedded-wallets/code-examples/signing-transactions.mdx b/embedded-wallets/code-examples/signing-transactions.mdx index edcb4a06..17da09ea 100644 --- a/embedded-wallets/code-examples/signing-transactions.mdx +++ b/embedded-wallets/code-examples/signing-transactions.mdx @@ -2,6 +2,8 @@ title: "Signing Transactions" description: "This is a guide to signing transactions in the browser context. While these snippets leverage Ethers, it can be swapped out for other signers in the Viem or Solana contexts. See [here](https://github.com/tkhq/sdk/tree/main/examples/with-eth-passkeys-galore) for an example with both Ethers and Viem in the passkey + browser context, and [here](https://github.com/tkhq/sdk/tree/main/examples/with-solana-passkeys) for a similar example with Solana." --- +> ⚠️ **This example is outdated !**
+> Head over to [SDK Reference](/sdks/react/signing) for the updated packages. ## Steps using `@turnkey/sdk-react` diff --git a/embedded-wallets/code-examples/social-linking.mdx b/embedded-wallets/code-examples/social-linking.mdx index bc144cd1..7ecebc21 100644 --- a/embedded-wallets/code-examples/social-linking.mdx +++ b/embedded-wallets/code-examples/social-linking.mdx @@ -2,6 +2,8 @@ title: "Social Linking" description: "This is a guide to implementing social linking within a Turnkey-powered application. For more information on what social linking is, see [here](/authentication/social-logins#social-linking)." --- +> ⚠️ **This example is outdated !**
+> Head over to [SDK Reference](/sdks/react) for the updated packages. ## Using @turnkey/sdk-react diff --git a/embedded-wallets/code-examples/wallet-auth.mdx b/embedded-wallets/code-examples/wallet-auth.mdx index 76c83c20..e4cd5ae7 100644 --- a/embedded-wallets/code-examples/wallet-auth.mdx +++ b/embedded-wallets/code-examples/wallet-auth.mdx @@ -2,6 +2,8 @@ title: 'Wallet Authentication' description: "In this guide, we'll explore how to leverage the `WalletClient` in the Turnkey SDK to authenticate requests to Turnkey's API using either Solana or Ethereum wallets." --- +> ⚠️ **This example is outdated !**
+> Head over to [SDK Reference](/sdks/react/using-external-wallets/overview) for the updated packages. ## Initialize From b5d3546bf8557d869a77ac3e37bbd0f1c5ceb00e Mon Sep 17 00:00:00 2001 From: Traian Vila Date: Fri, 31 Oct 2025 13:59:57 +0200 Subject: [PATCH 2/2] up links --- embedded-wallets/code-examples/add-credential.mdx | 2 +- embedded-wallets/code-examples/authenticate-user-email.mdx | 2 +- embedded-wallets/code-examples/authenticate-user-passkey.mdx | 2 +- embedded-wallets/code-examples/create-passkey-session.mdx | 2 +- embedded-wallets/code-examples/create-sub-org-passkey.mdx | 2 +- embedded-wallets/code-examples/create-user-email.mdx | 2 +- embedded-wallets/code-examples/fiat-on-ramp.mdx | 2 -- embedded-wallets/code-examples/social-linking.mdx | 2 +- 8 files changed, 7 insertions(+), 9 deletions(-) diff --git a/embedded-wallets/code-examples/add-credential.mdx b/embedded-wallets/code-examples/add-credential.mdx index 582cb19e..73773234 100644 --- a/embedded-wallets/code-examples/add-credential.mdx +++ b/embedded-wallets/code-examples/add-credential.mdx @@ -3,7 +3,7 @@ title: "Add an Additional Passkey" description: "This guide demonstrates how to add a new credential (specifically, a passkey) to an existing wallet using the Turnkey SDK." --- > ⚠️ **This example is outdated !**
-> Head over to [SDK Reference](/sdks/react) for the updated packages. +> Head over to [SDK Reference](https://docs.turnkey.com/generated-docs/formatted/react-wallet-kit/client-context-type-add-passkey) for the updated packages. ### Initialize the Passkey Client diff --git a/embedded-wallets/code-examples/authenticate-user-email.mdx b/embedded-wallets/code-examples/authenticate-user-email.mdx index 144d183d..2501bf82 100644 --- a/embedded-wallets/code-examples/authenticate-user-email.mdx +++ b/embedded-wallets/code-examples/authenticate-user-email.mdx @@ -3,7 +3,7 @@ title: "Authenticate a User with Email" mode: wide --- > ⚠️ **This example is outdated !**
-> Head over to [SDK Reference](/sdks/react) for the updated packages. +> Head over to [SDK Reference](https://docs.turnkey.com/sdks/react/auth) for the updated packages. diff --git a/embedded-wallets/code-examples/authenticate-user-passkey.mdx b/embedded-wallets/code-examples/authenticate-user-passkey.mdx index 03924bbe..d1bdaaf9 100644 --- a/embedded-wallets/code-examples/authenticate-user-passkey.mdx +++ b/embedded-wallets/code-examples/authenticate-user-passkey.mdx @@ -3,7 +3,7 @@ title: "Authenticate a User with a Passkey Credential" mode: wide --- > ⚠️ **This example is outdated !**
-> Head over to [SDK Reference](/sdks/react) for the updated packages. +> Head over to [SDK Reference](https://docs.turnkey.com/sdks/react/sub-organization-customization) for the updated packages. diff --git a/embedded-wallets/code-examples/create-passkey-session.mdx b/embedded-wallets/code-examples/create-passkey-session.mdx index 167ccf87..73b1dc15 100644 --- a/embedded-wallets/code-examples/create-passkey-session.mdx +++ b/embedded-wallets/code-examples/create-passkey-session.mdx @@ -3,7 +3,7 @@ title: "Create a User Passkey Session" description: 'A passkey session is an expiring session enabled by an initial passkey authentication. You could think of this as a "lightning mode" of sorts: creating a passkey session allows users to authenticate subsequent requests touch-free. Under the hood, this is powered by our [indexedDbStamper](/sdks/advanced/indexed-db-stamper). These sessions are enabled by creating a short-lived embedded API key in the browser, stored in localStorage, and cryptographically scoped to a public key generated by IndexedDB.' --- > ⚠️ **This example is outdated !**
-> Head over to [SDK Reference](/sdks/react) for the updated packages. +> Head over to [SDK Reference](https://docs.turnkey.com/generated-docs/formatted/react-wallet-kit/client-context-type-login-with-passkey) for the updated packages. By calling `loginWithPasskey()`, the SDK stores the session and active client in localStorage. The signing key material remains securely stored in the browser’s IndexedDB and is never extractable. Turnkey uses this public key to scope and encrypt the session to the appropriate user. diff --git a/embedded-wallets/code-examples/create-sub-org-passkey.mdx b/embedded-wallets/code-examples/create-sub-org-passkey.mdx index 1548e607..bd097d08 100644 --- a/embedded-wallets/code-examples/create-sub-org-passkey.mdx +++ b/embedded-wallets/code-examples/create-sub-org-passkey.mdx @@ -3,7 +3,7 @@ title: "Create a Sub-Org with a Passkey User" description: "In this guide, we'll walk through the process of creating a new end user with a passkey." --- > ⚠️ **This example is outdated !**
-> Head over to [SDK Reference](/sdks/react) for the updated packages. +> Head over to [SDK Reference](https://docs.turnkey.com/sdks/react/sub-organization-customization) for the updated packages. ## Overview diff --git a/embedded-wallets/code-examples/create-user-email.mdx b/embedded-wallets/code-examples/create-user-email.mdx index 1379b09c..69444310 100644 --- a/embedded-wallets/code-examples/create-user-email.mdx +++ b/embedded-wallets/code-examples/create-user-email.mdx @@ -4,7 +4,7 @@ description: "This example demonstrates how to create a sub organization using j mode: wide --- > ⚠️ **This example is outdated !**
-> Head over to [SDK Reference](/sdks/react) for the updated packages. +> Head over to [SDK Reference](https://docs.turnkey.com/sdks/react/sub-organization-customization) for the updated packages. diff --git a/embedded-wallets/code-examples/fiat-on-ramp.mdx b/embedded-wallets/code-examples/fiat-on-ramp.mdx index ecbc9ae4..c0b18786 100644 --- a/embedded-wallets/code-examples/fiat-on-ramp.mdx +++ b/embedded-wallets/code-examples/fiat-on-ramp.mdx @@ -3,8 +3,6 @@ title: "Fiat Onramp" description: "This is a guide to implementing Fiat Onramps within a Turnkey-powered application." mode: wide --- -> ⚠️ **This example is outdated !**
-> Head over to [SDK Reference](/sdks/react) for the updated packages. ## Using @turnkey/sdk-react diff --git a/embedded-wallets/code-examples/social-linking.mdx b/embedded-wallets/code-examples/social-linking.mdx index 7ecebc21..b92294df 100644 --- a/embedded-wallets/code-examples/social-linking.mdx +++ b/embedded-wallets/code-examples/social-linking.mdx @@ -3,7 +3,7 @@ title: "Social Linking" description: "This is a guide to implementing social linking within a Turnkey-powered application. For more information on what social linking is, see [here](/authentication/social-logins#social-linking)." --- > ⚠️ **This example is outdated !**
-> Head over to [SDK Reference](/sdks/react) for the updated packages. +> Head over to [SDK Reference](https://docs.turnkey.com/sdks/react/auth#configuring-oauth) for the updated packages. ## Using @turnkey/sdk-react