@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 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
- exportVaults - Export user's vaults, including their respective private keys
Interfaces
- CloudBackupOptions - Cloud backup provider to encrypt the share on the user's mobile device. Can be either
iCloud
orGoogleDrive
. - 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
- FordefiVault - Represents a vault
- 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
- BackupOptions - Backup options
- BackupProvider - Backup providers. Can be either Google Drive or iCloud
- EventType - Event types
- ExternalEncryptionKeyType - An AES-256 key to encrypt user's mobile device share
- FordefiDeviceState - The different states for key readiness on the current device
- KeyType - Key types
- LogLevel - Log levels