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
|[login](#logging-in-a-user)| Logs in the user with the selected login provider. |
22
+
|[logout](#logging-out-a-user)| Logs out the user from the currently active session. |
23
+
|[getPrivKey](#secp256k1-private-key)| Retrieve the user's secp256K1 key. The key can be used to sign transactions for chains using the secp256k1 curve like EVM-compatible chains. |
24
+
|[getEd25519PrivKey](#ed25519-private-key)| Retrieve the user's ed25519 key. The key can be used to sign transactions for chains using the ed25519 curve like Solana, Near, Algorand, and others. |
25
+
|[getUserInfo](#retrieve-user-information)| Retrieve the user information, such as login provider, name, email, oAuth token, etc. |
26
+
|[enableMFA](#enable-mfa-for-a-user)| Use to trigger the setup MFA flow for the users. |
27
+
|[launchWalletServices](#launch-wallet-services)| Use to open the templated wallet UI in WebView. |
28
+
|[request](#request-signature)| Use to open templated transaction screens for signing EVM transactions. |
29
+
17
30
## Logging in a User
18
31
19
32
To login in a user, you can use the `login` method. It will trigger login flow will navigate the
@@ -336,13 +349,14 @@ val privateKey = web3Auth.getPrivKey()
336
349
### Ed25519 Private Key
337
350
338
351
To retrieve the secp256k1 private key of the user., use `getEd25519PrivKey` method. This private key
339
-
can be used to sign transactions on Solana.
352
+
can be used to sign transactions on Solana, Near, Algorand, and other chains that use the ed25519
353
+
curve.
340
354
341
355
```kotlin
342
356
val privateKey = web3Auth.getEd25519PrivKey()
343
357
```
344
358
345
-
## Retrive User Information
359
+
## Retrieve User Information
346
360
347
361
You can use the `getUserInfo` method to retrieve various details about the user, such as their login
348
362
type, whether multi-factor authentication (MFA) is enabled, profile image, name, and other relevant
@@ -472,8 +486,8 @@ val completableFuture = web3Auth.launchWalletServices(
472
486
## Request signature
473
487
474
488
The `request` method facilitates the use of templated transaction screens for signing transactions.
475
-
Upon successful completion, you can retrieve the signature for the request using the
476
-
`getSignResponse` static method.
489
+
The method will return [SignResponse](#signresponse). It can be used to sign transactions for any
490
+
EVM chain and screens can be whitelabeled to your branding.
477
491
478
492
Please check the list of
479
493
[JSON RPC methods](https://docs.metamask.io/wallet/reference/json-rpc-api/), noting that the request
|[login](#logging-in-a-user)| Logs in the user with the selected login provider. |
18
+
|[logout](#logging-out-a-user)| Logs out the user from the currently active session. |
19
+
|[getPrivKey](#secp256k1-private-key)| Retrieve the user's secp256K1 key. The key can be used to sign transactions for chains using the secp256k1 curve like EVM-compatible chains. |
20
+
|[getEd25519PrivKey](#ed25519-private-key)| Retrieve the user's ed25519 key. The key can be used to sign transactions for chains using the ed25519 curve like Solana, Near, Algorand, and others. |
21
+
|[getUserInfo](#retrieve-user-information)| Retrieve the user information, such as login provider, name, email, oAuth token, etc. |
22
+
|[enableMFA](#enable-mfa-for-a-user)| Use to trigger the setup MFA flow for the users. |
23
+
|[launchWalletServices](#launch-wallet-services)| Use to open the templated wallet UI in WebView. |
24
+
|[request](#request-signature)| Use to open templated transaction screens for signing EVM transactions. |
25
+
13
26
## Logging in a User
14
27
15
28
To login in a user, you can use the `login` method. It will trigger login flow will navigate the
@@ -410,13 +423,14 @@ final privateKey = await Web3AuthFlutter.getPrivKey();
410
423
### Ed25519 Private Key
411
424
412
425
To retrieve the secp256k1 private key of the user., use `getEd25519PrivKey` method. This private key
413
-
can be used to sign transactions on Solana.
426
+
can be used to sign transactions on Solana, Near, Algorand, and other chains that use the ed25519
427
+
curve.
414
428
415
429
```dart
416
430
final privateKey = await Web3AuthFlutter.getEd25519PrivKey();
417
431
```
418
432
419
-
## Retrive User Information
433
+
## Retrieve User Information
420
434
421
435
You can use the `getUserInfo` method to retrieve various details about the user, such as their login
422
436
type, whether multi-factor authentication (MFA) is enabled, profile image, name, and other relevant
@@ -586,8 +600,8 @@ try {
586
600
## Request signature
587
601
588
602
The `request` method facilitates the use of templated transaction screens for signing transactions.
589
-
Upon successful completion, you can retrieve the signature for the request using the
590
-
`getSignResponse` static method.
603
+
The method will return [SignResponse](#signresponse). It can be used to sign transactions for any
604
+
EVM chain and screens can be whitelabeled to your branding.
591
605
592
606
Please check the list of
593
607
[JSON RPC methods](https://docs.metamask.io/wallet/reference/json-rpc-api/), noting that the request
|[login](#logging-in-a-user)| Logs in the user with the selected login provider. |
19
+
|[logout](#logging-out-a-user)| Logs out the user from the currently active session. |
20
+
|[getPrivKey](#secp256k1-private-key)| Retrieve the user's secp256K1 key. The key can be used to sign transactions for chains using the secp256k1 curve like EVM-compatible chains. |
21
+
|[getEd25519PrivKey](#ed25519-private-key)| Retrieve the user's ed25519 key. The key can be used to sign transactions for chains using the ed25519 curve like Solana, Near, Algorand, and others. |
22
+
|[getUserInfo](#retrieve-user-information)| Retrieve the user information, such as login provider, name, email, oAuth token, etc. |
23
+
|[enableMFA](#enable-mfa-for-a-user)| Use to trigger the setup MFA flow for the users. |
24
+
|[launchWalletServices](#launch-wallet-services)| Use to open the templated wallet UI in WebView. |
25
+
|[request](#request-signature)| Use to open templated transaction screens for signing EVM transactions. |
26
+
14
27
## Logging in a User
15
28
16
29
To login in a user, you can use the `login` method. It will trigger login flow will navigate the
@@ -281,13 +294,14 @@ let privateKey = web3Auth.getPrivKey();
281
294
### Ed25519 Private Key
282
295
283
296
To retrieve the secp256k1 private key of the user., use `getEd25519PrivKey` method. This private key
284
-
can be used to sign transactions on Solana.
297
+
can be used to sign transactions on Solana, Near, Algorand, and other chains that use the ed25519
298
+
curve.
285
299
286
300
```swift
287
301
let privateKey = web3Auth.getEd25519PrivKey();
288
302
```
289
303
290
-
## Retrive User Information
304
+
## Retrieve User Information
291
305
292
306
You can use the `getUserInfo` method to retrieve various details about the user, such as their login
293
307
type, whether multi-factor authentication (MFA) is enabled, profile image, name, and other relevant
@@ -423,7 +437,8 @@ do {
423
437
## Request signature
424
438
425
439
The `request` method facilitates the use of templated transaction screens for signing transactions.
426
-
The method will return [SignResponse](#signresponse).
440
+
The method will return [SignResponse](#signresponse). It can be used to sign transactions for any
441
+
EVM chain and screens can be whitelabeled to your branding.
427
442
428
443
Please check the list of
429
444
[JSON RPC methods](https://docs.metamask.io/wallet/reference/json-rpc-api/), noting that the request
0 commit comments