Comprehensive API reference for the Para Swift SDK (v2.0.0 Alpha)
ParaManager
class is the central component for managing user authentication, wallet operations, and session state.
Wallet
objects currently associated with the authenticated user. This list is updated after operations like fetchWallets()
or createWallet()
..unknown
, .inactive
, .active
, .activeLoggedIn
)..beta
, .prod
).ParaManager
and its underlying WebView are initialized and ready to process requests.ParaManager
instance.AuthState
.authState.stage == .signup
and SignupMethod.passkey
is chosen.wallets
list. Observe the paraManager.wallets
property for the new wallet.MetaMaskConnector
class enables integration with MetaMask wallet for external wallet operations and authentication.
MetaMaskConnector
instance.async throws
. Upon successful connection, the accounts
, chainId
, and isConnected
properties of the MetaMaskConnector
instance are updated. ParaManager.loginExternalWallet
is also called internally.