Skip to content

[Docs] Document deployOnSign #2223

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

Merged
merged 2 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/beige-fireants-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@thirdweb-dev/wallets": patch
---

[Docs] Document deployOnSign
5 changes: 5 additions & 0 deletions packages/react/src/evm/hooks/wallets/useSmartWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,11 @@ import type { BytesLike } from "ethers";
* The entrypoint contract address. Uses v0.6 by default.
*
* Must be a `string`.
*
* #### deployOnSign
* Whether to deploy the smart wallet when the user signs a message. Defaults to true.
*
* Must be a `boolean`.
*
* @walletConnection
*/
Expand Down
5 changes: 5 additions & 0 deletions packages/wallets/src/evm/wallets/smart-wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,11 @@ export class SmartWallet extends AbstractClientWallet<
* The entrypoint contract address. Uses v0.6 by default.
*
* Must be a `string`.
*
* #### deployOnSign
* Whether to deploy the smart wallet when the user signs a message. Defaults to true.
*
* Must be a `boolean`.
*
* #### chains
* Provide an array of chains you want to support.
Expand Down