Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class PortalConnect(    apiKey: String,     var chainId: Int,     keychain: MobileStorageAdapter,     mpc: PortalMobileMpc,     gatewayConfig: Map<Int, String>,     webSocketServer: String = "connect.portalhq.io",     autoApprove: Boolean = false,     apiHost: String = "api.portalhq.io",     mpcHost: String = "mpc.portalhq.io",     version: String = "v6") : EventBus

PortalConnect is the main class for managing connections and interactions with the Portal network. It handles WebSocket communication, session management, and signing requests, providing a high-level interface for applications to integrate with the Portal infrastructure.

Link copied to clipboard
class WebSocketClient(apiKey: String, connect: PortalConnect, webSocketServer: String = "connect.portalhq.io")

WebSocketClient is responsible for managing a WebSocket connection to a remote server, handling events, and sending/receiving messages.