For AI agents: a documentation index is available at /llms.txt. A markdown version of this page is available at the same URL with .md appended (or via Accept: text/markdown).
Skip to main content

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​

tip

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

Authentication functions​

Function NameDescription
login()Logs the user in with the selected login provider.
logout()Logs the user out from the current session.

User management functions​

Function NameDescription
getUserInfo()Retrieves the authenticated user's information.

Private key functions​

Function NameDescription
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 NameDescription
enableMFA()Enables Multi-Factor Authentication for the user.

Wallet Services functions​

Function NameDescription
launchWalletServices()Launches the templated wallet UI in WebView.
request()Opens templated transaction screens for signing transactions.