> For the complete documentation index, see [llms.txt](/llms.txt).

# Using Unity SDK

Embedded Wallets provides a comprehensive set of functions to handle authentication, user management, and blockchain interactions in your Unity 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 Embedded Wallets' functionality, making it easy to integrate into your Unity projects.

## List of functions[​](#list-of-functions "Direct link to List of functions")

tip

For detailed usage, configuration options, and code examples, refer to the dedicated documentation page for each function.

### Authentication functions[​](#authentication-functions "Direct link to Authentication functions")

| Function Name                                         | Description                                        |
| ----------------------------------------------------- | -------------------------------------------------- |
| [login()](/embedded-wallets/sdk/unity/usage/login/)   | Logs the user in with the selected login provider. |
| [logout()](/embedded-wallets/sdk/unity/usage/logout/) | Logs the user out from the current session.        |

### User management functions[​](#user-management-functions "Direct link to User management functions")

| Function Name                                                     | Description                                     |
| ----------------------------------------------------------------- | ----------------------------------------------- |
| [getUserInfo()](/embedded-wallets/sdk/unity/usage/get-user-info/) | Retrieves the authenticated user's information. |

### Private key functions[​](#private-key-functions "Direct link to Private key functions")

| Function Name                                                                     | Description                                                                     |
| --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| [getPrivKey()](/embedded-wallets/sdk/unity/usage/get-private-key/)                | Retrieve the user's secp256k1 private key for EVM-compatible chains.            |
| [getEd25519PrivKey()](/embedded-wallets/sdk/unity/usage/get-ed25519-private-key/) | Retrieve the user's ed25519 private key for chains like Solana, Near, Algorand. |

### Security functions[​](#security-functions "Direct link to Security functions")

| Function Name                                                | Description                                       |
| ------------------------------------------------------------ | ------------------------------------------------- |
| [enableMFA()](/embedded-wallets/sdk/unity/usage/enable-mfa/) | Enables Multi-Factor Authentication for the user. |

### Wallet Services functions[​](#wallet-services-functions "Direct link to Wallet Services functions")

| Function Name                                                                       | Description                                                   |
| ----------------------------------------------------------------------------------- | ------------------------------------------------------------- |
| [launchWalletServices()](/embedded-wallets/sdk/unity/usage/launch-wallet-services/) | Launches the templated wallet UI in WebView.                  |
| [request()](/embedded-wallets/sdk/unity/usage/request/)                             | Opens templated transaction screens for signing transactions. |
