React Native SDK Reference

@fordefi/wallet-sdk-react-native

Index

Functions

  • initFordefiSDK - Initialize the Fordefi SDK using the given configuration.
  • login - Log into the Fordefi client using the given auth token.
  • signTransaction - Sign a transaction using the given transaction ID.
  • backupKeys - Create a backup for a previously generated keys. If a backup already exists, the new backup replaces it.
  • setErrorHandler - Set error handler.
  • setLogger - Set logger.
  • notifyAppStateChanged - Notify that the application's state has changed.
  • recoverKeys - Retrieve the encrypted shares, decrypt, and "load" them to the SDK to be used as part of the recovery for users.

Interfaces

  • CloudBackupOptions - Cloud backup provider to encrypt the share on the user's mobile device. Can be either iCloud or GoogleDrive.
  • ErrorEvent - Error information that the client receives through EventEmitter - only if the client has implemented error handling.
  • ExternalBackupOptions - External key to encrypt the share on the user's mobile device.
  • FordefiSdkConfiguration - Represents a configuration for initializing the SDK.
  • FordefiSdkErrorResult - Represents a general error result for any FordefiSdk operation.
  • LogEvent - Log events
  • LoginResult - Represents a login result.

Type Aliases