Note:The Web and Mobile SDKs preserve the user keyshare with the individual, giving
them complete control. You must use the SDKs with the user-controlled wallet
product. Additionally, the Web and Mobile SDKs support only the user-controlled
wallet product.
Install the SDK
You can set up the React Native SDK by downloading it from GitHub.SDK architecture
You must use Web, iOS, Android or React Native SDKs to access the user-controlled Programmable Wallet product. The SDK secures, manages, and communicates with your server to ensure your user’s keyshare, always stays with them and is not exposed to your servers. To learn more, see How it works.SDK API references
WalletSdk
implements IWalletIWalletSdk
interface IWalletSdkSdkVersion
interface SdkVersionConfiguration
interface ConfigurationSettingsManagement
interface SettingsManagementSecurityQuestion
class SecurityQuestionSocialProvider
To specify a social provider to operate on. SeeWalletSdk.performLogin(),
WalletSdk.performLogout().
JavaScript
InputType
Enumerates the types of security questions.JavaScript
LoginResult
Interface LoginResultOauthInfo
Interface OauthInfoSocialUserInfo
Interface SocialUserInfoSuccessResult
interface SuccessResultError
interface ErrorLoginSuccessCallback
type SuccessCallbackSuccessCallback
type SuccessCallbackErrorCallback
type ErrorCallbackExecuteResult
interface ExecuteResultExecuteResultData
interface ExecuteResultDataExecuteResultType
Enumerates the types of challenges supportedJavaScript
ExecuteResultStatus
Enumerates the possible statuses for a challengeJavaScript
EventListener
type EventListenerExecuteEvent
Enumerates the possible eventJavaScript
ErrorCode
Enumerates the types of error codeJavaScript
TextConfig
Data-only class for text customization.class TextConfig
TextConfig
Data-only class for icon text list item customization.class IconTextConfig
TextsKey
Enum for setTextConfigsMap().See A Index Table.
IconTextsKey
Enum for setIconTextConfigsMap().See B Index Table.
TextKey
Enum for setTextConfigMap().See C Index Table.
ImageKey
Enum for setImageMap().See D Index Table.
DateFormat
Enum for setDateFormat().JavaScript
SampleCode
JavaScript
JavaScript