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
This component displays the connected account address if available, and provides buttons to connect or disconnect accounts.
61
-
62
-
## Account creation
63
-
64
-
Account creation in Starknet is handled by the wallet provider. As a dapp developer, you do not create accounts directly. Instead, you guide users to [create an account](../connect-to-starknet) with their preferred wallet provider.
65
-
66
-
:::note
67
-
68
-
Currently, multiple Starknet accounts are not supported in the Starknet Snap.
69
-
70
-
:::
71
-
72
78
## Manage account transactions
73
79
74
-
You can manage transactions using `get-starknet` as follows:
80
+
You can manage a user's Starknet account transactions using `get-starknet`.
81
+
The following example invokes a specific function on a Starknet smart contract, handles wallet
82
+
connection and transaction submission, and logs the result or any errors:
This invokes a specific function on a Starknet smart contract, handling wallet connection and transaction submission, and logs the result or any errors.
100
-
101
106
102
107
## Handle account changes and disconnections
103
108
@@ -155,4 +160,4 @@ function AccountChangeHandler() {
155
160
exportdefaultAccountChangeHandler;
156
161
```
157
162
158
-
Use this component at the top level of your app to handle account changes globally.
163
+
Use this component at the top level of your dapp to handle account changes globally.
0 commit comments