The Wallet SDK enables you to build a Verifiable Credentials wallet inside your app and allows your users to receive, store, and manage their DOCK tokens too. This was built for native applications with added support for Polkadot-JS.
Dock Mobile SDK supports devices that have Android 8.1 or higher and iOS 11 or higher.
For using the wallet-sdk, all you need to do is wrap your app in a WalletSDKProvider and start building your wallet.
There are some scripts and additional dependencies required. Please check our example repo for detailed steps.
React Native Example
The following example will create a wallet and allow the user to add accounts on it. Displaying the count of documents added to the wallet.
Notice that the account documents are accessible through the documents object, and for each account created multiple documents will be added to the wallet.