-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sdk): add eagerDeployment option to smart wallets
- Loading branch information
1 parent
81685ff
commit 61f9bbc
Showing
7 changed files
with
911 additions
and
640 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
"thirdweb": minor | ||
--- | ||
|
||
Feature: Adds eagerDeployment option for smart accounts that need EIP-1271 signatures. | ||
|
||
When setting `eagerDeployment` to `true`, smart accounts will use the legacy behavior of deploying prior to signing a message or typed data. | ||
|
||
```ts | ||
const wallet = smartWallet({ | ||
chain, | ||
gasless: true, | ||
eagerDeployment: true, | ||
}); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.