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
<Calloutvariant="info"title="Looking to use account abstraction for your backend operations?">
12
+
Consider using [Smart Backend Wallets](/engine/features/backend-wallets#smart-backend-wallets) instead. They combine EOA and smart account management into a single wallet, with automatic deployment and simplified integration:
13
+
14
+
- No need to deploy or manage account factories
15
+
- No separate account and backend wallet addresses to track
16
+
- Works with all existing Engine endpoints without modification
17
+
- Built-in transaction batching and recovery
18
+
- Automatic gas management with paymaster
19
+
20
+
Smart backend wallets are recommended when you need account abstraction for your own backend operations. Use the approach described below when you need to manage smart accounts for your users.
21
+
22
+
</Callout>
23
+
11
24
Use Engine to deploy, manage, and transact with smart accounts on behalf of your users.
Copy file name to clipboardExpand all lines: apps/portal/src/app/engine/features/backend-wallets/page.mdx
+51-2Lines changed: 51 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
import { createMetadata, Details } from"@doc";
2
+
import { Callout } from"@doc";
2
3
3
4
exportconst metadata =createMetadata({
4
5
title: "Backend Wallets | thirdweb Engine",
@@ -12,6 +13,50 @@ Engine performs blockchain actions using backend wallets that you own and manage
12
13
13
14
There are multiple options for securing backend wallets.
14
15
16
+
## Smart Backend Wallets
17
+
18
+
Smart backend wallets are the recommended way to perform blockchain operations with Engine. Each smart backend wallet consists of an EOA (managed internally by Engine) and a smart account (using thirdweb's default account implementation).
19
+
20
+
### Benefits
21
+
22
+
Smart backend wallets inherit smart account benefits and offer several advantages over traditional EOAs:
23
+
24
+
-**Gas Management**: Built-in paymaster eliminates the need to maintain gas tokens. This means you never need to hold crypto or top up gas.
25
+
-**Better Nonce Management**: Smart accounts use multi-dimensional nonces, which are more efficient than EOAs.
26
+
-**Simple Integration**: Works with all existing Engine endpoints without any code changes.
27
+
28
+
### How it works
29
+
30
+
The smart account is automatically deployed the first time you send a transaction on a chain. You don't need to think about deploying or managing the smart account - Engine handles everything behind the scenes. All transactions are sent as UserOperations to the EntryPoint contract on chain.
31
+
32
+
<Detailssummary="How are Smart Backend Wallets different from existing engine AA features?">
33
+
Unlike the [previous account abstraction implementation in
34
+
Engine](account-abstraction) where you had to manage both the account address
35
+
(`x-account-address`) and the backend wallet address
The backend wallet address is now the smart account address itself.
38
+
</Details>
39
+
40
+
<Detailssummary="When not to use Smart Backend Wallets?">
41
+
At this time, Smart Backend Wallets do not allow for importing a smart
42
+
account. In use cases where you need to import a smart account (such as with
43
+
session keys), you should use [Engine AA features that utilise the
44
+
`x-account-address` header](account-abstraction).
45
+
</Details>
46
+
47
+
### Configuration Types
48
+
49
+
-`smart:local` - Smart account backed by a local key
50
+
-`smart:aws-kms` - Smart account backed by AWS KMS
51
+
-`smart:gcp-kms` - Smart account backed by Google Cloud KMS
52
+
53
+
For AWS and Google Cloud KMS options, follow the setup instructions in the respective sections below.
54
+
55
+
### Pricing
56
+
57
+
Smart backend wallets have no additional costs to use with your Engine instance. Transactions sent from smart backend wallets follow the [same billing model as regular account abstraction transactions with thirdweb](/connect/account-abstraction/infrastructure#pricing--billing).
58
+
Smart accounts need to be deployed on each chain. This costs gas and is billed to your account like any other transaction.
59
+
15
60
## Local wallet
16
61
17
62
A [local wallet](/references/wallets/v2/LocalWallet) is a wallet created or imported from a private key. Ensure your private key is backed up before transacting with a local wallet in a production environment.
@@ -31,7 +76,7 @@ An [AWS KMS Wallet](/references/wallets/v2/AwsKmsWallet) is a wallet securely st
31
76
-`kms:Sign`
32
77
-`kms:CreateAlias`
33
78
-`kms:Verify`
34
-
1. On the user page, navigate to **Security credentials > Access keys**.
79
+
1. On the user page, navigate to **Security credentials > Access keys**.
35
80
1. Select **Create access key** to get an **Access Key** and **Secret Key**.
36
81
1. In the dashboard, navigate to **Configuration > Backend Wallets**.
37
82
1. Select **AWS KMS** and provide the following:
@@ -50,7 +95,6 @@ An [AWS KMS Wallet](/references/wallets/v2/AwsKmsWallet) is a wallet securely st
50
95
- AWS KMS Key ID (example: `0489da75-9830-4a5a-97e3-e4a6df7775b3`)
0 commit comments