Feature flags allow you to enable or disable specific features in the Portal SDK. This provides flexibility in customizing the behavior of the SDK for your application.
FeatureFlags
struct is used to configure feature flags when initializing the Portal SDK. Each flag corresponds to a specific feature or behavior that can be toggled on or off.
isMultiBackupEnabled
Bool?
nil
(disabled)useEnclaveMPCApi
Bool?
nil
(disabled)useEnclaveMPCApi
flag, the client key share is transmitted to a Trusted Execution Environment (TEE) hosted in an AWS Nitro Enclave. This ensures:
useEnclaveMPCApi
to true
, the Portal instance will use the Enclave MPC API for signing transactions, ensuring faster computation and consistent performance across client devices.