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
@@ -124,7 +124,7 @@ If you want a specific private key, replace `stark.randomAddress`()` with your c
124
124
125
125
Then you have to fund this address.
126
126
127
-
### deployment of the new account
127
+
### Deployment of the new account
128
128
129
129
If you have sent enough funds to this new address, you can go forward to the final step:
130
130
@@ -223,8 +223,10 @@ The computed address has been funded automatically by minting a new dummy ETH in
223
223
224
224
## Create an Ethereum account
225
225
226
-
Thanks to account abstraction, you can create in Starknet an account that old the cryptographic logic of an Ethereum account. By this way, you can use Ethereum private and public keys.
227
-
OpenZeppelin has released an account contract for a such Ethereum account. Here an example of account creation in Sepolia Testnet.
226
+
Thanks to account abstraction, you can create an account in Starknet that holds the cryptographic logic of an Ethereum account. This way, you can use Ethereum private and public keys!
227
+
OpenZeppelin has released an account contract for such an Ethereum account.
228
+
229
+
Below is an example of account creation in Sepolia Testnet.
228
230
229
231
### Compute address
230
232
@@ -249,7 +251,7 @@ console.log('Pre-calculated ETH account address =', contractETHaddress);
249
251
250
252
Then you have to fund this address.
251
253
252
-
### deployment of the new account
254
+
### Deployment of the new account
253
255
254
256
If you have sent enough funds to this new address, you can go forward to the final step:
255
257
@@ -274,7 +276,7 @@ console.log('✅ New Ethereum account final address =', contract_address);
274
276
275
277
You are not limited to these 3 contracts. You can create your own contract for the wallet. It's the concept of Account Abstraction.
276
278
277
-
You can customize entirely the wallet - for example:
279
+
You can entirely customize the wallet - for example:
'0x0178bb97615b49070eefad71cb2f159392274404e41db748d9397147cb25cf597ebfcf2f399e635b72b99b8f76e9080763c65a42c842869815039d912150ddfe'; // 512 bits number
There are 12 methods using contract parameters. Some types are authorized for each method:
323
319
324
-
### list of parameters
320
+
### List of parameters
325
321
326
322
Only meta-class methods are using a list of parameters (as illustrated in the previous chapter).
327
323
A Meta-Class is a Class that has any of its properties determined at run-time. The Contract object uses a Contract's ABI to determine what methods are available.
0 commit comments