Swift
ParaManager Class
The ParaManager
class provides a Swift interface for the Para SDK, managing wallet operations, authentication, and
transactions.
Properties
The current wallet associated with the ParaManager.
The current session state of the Para SDK.
The environment configuration for the Para SDK.
The API key used for authentication with Para services.
The WebKit view used for handling web-based operations.
Methods
Initializes a new ParaManager instance.
Initializes the Para SDK within the WebView.
Checks if a user exists with the given email.
Creates a new user with the given email.
Logs in a user using passkeys.
Verifies an email using a verification code.
Generates a passkey for the user.
Sets up two-factor authentication for the user.
Enables two-factor authentication for the user.
Checks if 2FA is set up for the user.
Creates a new wallet for the user.
Fetches all wallets associated with the user.
Signs a message using the specified wallet.
Signs a transaction using the specified wallet.
Sends a transaction using the specified wallet.