Package-level declarations
Types
Link copied to clipboard
open class Mpc(api: Api, apiKey: String, keychain: MobileStorageAdapter, apiHost: String = "api.portalhq.io", featureFlags: FeatureFlags? = null, host: String = "mpc.portalhq.io", mpc: PortalMobileMpc? = null, version: String = "v6")
Mpc
is a class that handles Multi-Party Computation (MPC) operations, providing functionality for generating, backing up, recovering, and ejecting private keys for various blockchain networks. It interacts with an external API, a local keychain, and various cloud storage adapters to manage cryptographic shares securely.
Link copied to clipboard
PortalMobileMpc
is a class that provides an interface to interact with the MPC (Multi-Party Computation) binary included in the mpc.aar
file. It offers functionalities for managing Ed25519 and Secp256k1 wallets, including generation, backup, recovery, signing, encryption, decryption, and other utility methods.