You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/smart-wallet/guides/sub-accounts.mdx
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,3 +47,9 @@ If you want to skip ahead and just get the final code, you can find it here:
47
47
- Sending transactions with Spend Permissions using `useSendTransaction`
48
48
- Building a complete interface for wallet connection and transactions
49
49
- Understanding transaction limitations based on spend permissions
50
+
51
+
3.[Sub Accounts with Privy](/smart-wallet/guides/sub-accounts/sub-accounts-with-privy) - Learn how to use Sub Accounts with Privy. This guide demonstrates:
52
+
53
+
- Using Privy to create an Auto Sub Account on creation flow
54
+
- Using Privy to create a Spend Permission that goes with the Auto Sub Account
55
+
- Using Privy actions to send transactions with the Sub Account
Copy file name to clipboardExpand all lines: docs/smart-wallet/guides/sub-accounts/sub-accounts-with-privy.mdx
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,14 @@ By the end of this guide, you will:
33
33
-[Smart Wallet Sub Accounts](/smart-wallet/concepts/features/optional/sub-accounts) are **only available on the canary version** of the Coinbase Wallet SDK and on **Base Sepolia**
34
34
- For now, you must also use a specific beta version of `@privy-io/react-auth` (see below)
35
35
36
+
<Info>
37
+
**Make sure you have a Privy project**
38
+
39
+
This guide covers adding Sub Accounts to your Privy project.
40
+
It does not cover the setup and creation of a Privy project.
41
+
If you don't have a Privy project yet, check out the [Privy Quickstart](https://docs.privy.io/guide/quickstart) guide.
42
+
</Info>
43
+
36
44
## 1. Override Required Package Versions
37
45
38
46
Sub Accounts require the latest canary version of `@coinbase/wallet-sdk` and a specific beta version of Privy React Auth. **You must override these versions _before_ installing packages.**
0 commit comments