Using Flutter SDK
Web3Auth provides a comprehensive set of functions to handle authentication, user management, and blockchain interactions in your Flutter applications. These functions allow you to implement features like user login, multi-factor authentication, private key retrieval, and wallet services with minimal effort. Each function is designed to handle a specific aspect of Web3Auth functionality, making it easy to integrate into your Flutter projects.
List of Functions
tip
For detailed usage, configuration options, and code examples, refer to the dedicated documentation page for each function.
Authentication Functions
Function Name | Description |
---|---|
login() | Logs in the user with the selected login provider. |
logout() | Logs out the user from the current session. |
User Management Functions
Function Name | Description |
---|---|
getUserInfo() | Retrieves the authenticated user's information. |
Private Key Functions
Function Name | Description |
---|---|
getPrivKey() | Retrieve the user's secp256k1 private key for EVM-compatible chains. |
getEd25519PrivKey() | Retrieve the user's ed25519 private key for chains like Solana, Near, Algorand. |
Security Functions
Function Name | Description |
---|---|
enableMFA() | Enables Multi-Factor Authentication for the user. |
manageMFA() | Allows users to manage their MFA settings. |
Wallet Services Functions
Function Name | Description |
---|---|
launchWalletServices() | Launches the templated wallet UI in WebView. |
request() | Opens templated transaction screens for signing EVM transactions. |