-
Notifications
You must be signed in to change notification settings - Fork 0
docs: update autosign #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feat-interwovenkit-autosign-dev
Are you sure you want to change the base?
docs: update autosign #73
Conversation
* Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * feat: move autosign guide to new user guides section * fix: typo * fix: fix ghost wallet section writing * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * Documentation edits made through Mintlify web editor * feat: update auto-signing docs * feat: update autosigning content based on comments * feat: minor typo --------- Co-authored-by: jona-ctrl <jona@initia.xyz>
* docs: update create ERC20 tutorial * fix: check for falsey key before normalization
* docs: update creating custom ERC20 * docs: add key warning and correct contract deployment command
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
2d828fa to
d102862
Compare
| Wrap your application with `PrivyProvider` and configure it for embedded wallets: | ||
|
|
||
| ```tsx App.tsx | ||
| import { PrivyProvider } from "@privy-io/react-auth" | ||
| import { InterwovenKitProvider } from "@initia/interwovenkit-react" | ||
|
|
||
| export default function App({ children }) { | ||
| return ( | ||
| <PrivyProvider | ||
| appId={process.env.NEXT_PUBLIC_PRIVY_APP_ID} | ||
| config={{ | ||
| embeddedWallets: { | ||
| createOnLogin: "all-users", | ||
| }, | ||
| }} | ||
| > | ||
| {/* Your app */} | ||
| </PrivyProvider> | ||
| ) | ||
| } | ||
| ``` | ||
| Wrap your app with `PrivyProvider`, then pass Privy hooks into `InterwovenKitProvider` using `privyContext`. This enables embedded wallets and autosign support. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you find the code example not necessary here?
If we decide to omit the example, we should still specify that they need to set embeddedWallets.ethereum.createOnLogin to all-users in the PrivyProvider config since the default seems to be off (https://docs.privy.io/basics/react/advanced/automatic-wallet-creation#automatic-wallet-creation)
5ed7791 to
7a6ea0b
Compare
No description provided.