|
1 | | -# Truvera Wallet SDK |
| 1 | +# Wallet SDK |
2 | 2 |
|
3 | 3 | The [Wallet SDK](https://github.com/docknetwork/react-native-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 mobile applications with added support for Polkadot-JS. |
4 | 4 |
|
5 | 5 | To use the wallet-sdk, all you need to do is wrap your app in a `WalletSDKProvider` and start building your wallet. |
6 | 6 |
|
7 | | -Using [polkadot-js](https://polkadot.js.org/) libraries in React Native is a challenge, due to the lack of WebAssembly support. |
| 7 | +Using [polkadot-js](https://polkadot.js.org/) libraries in React Native is a challenge, due to the lack of WebAssembly support.\ |
8 | 8 | The Truvera Wallet SDK handles all the Polkadot Web Assembly in a WebView, sending messages to the React Native thread through a JSON RPC layer. |
9 | 9 |
|
10 | 10 | Truvera Mobile SDK supports: |
11 | | -- Devices that have Android 8.1 or higher and iOS 11 or higher. |
12 | | -- Minimum supported version of Node.js is 20.2.0 |
| 11 | + |
| 12 | +* Devices that have Android 8.1 or higher and iOS 11 or higher. |
| 13 | +* Minimum supported version of Node.js is 20.2.0 |
13 | 14 |
|
14 | 15 | ## Installation |
| 16 | + |
15 | 17 | ```js |
16 | 18 | yarn add @docknetwork/wallet-sdk-core |
17 | 19 | yarn add @docknetwork/wallet-sdk-react-native |
18 | 20 |
|
19 | 21 | ``` |
20 | | -**There are some scripts and additional dependencies required.** |
21 | | -Please check our [examples](/examples) folder for detailed steps. |
| 22 | + |
| 23 | +**There are some scripts and additional dependencies required.**\ |
| 24 | +Please check our [examples](../../examples/) folder for detailed steps. |
22 | 25 |
|
23 | 26 | ## React Native Example |
24 | | -The following example will create a wallet and allow the user to add credentials to it. Displaying the count of documents added to the wallet. |
| 27 | + |
| 28 | +The following example will create a wallet and allow the user to add credentials to it. Displaying the count of documents added to the wallet.\ |
25 | 29 | Notice that the all documents are accessible through the `documents` object. |
26 | 30 |
|
27 | 31 | ```js |
@@ -73,14 +77,14 @@ Check the following repository for detailed examples for running the Truvera Wal |
73 | 77 |
|
74 | 78 | [See the examples](https://github.com/docknetwork/react-native-sdk/tree/master/examples) |
75 | 79 |
|
76 | | - |
77 | 80 | ## Docs |
78 | 81 |
|
79 | 82 | For more details you can check the [getting started guide](https://github.com/docknetwork/react-native-sdk/blob/master/docs/getting-started.md) |
80 | 83 |
|
81 | 84 | [See the Github repository](https://docknetwork.github.io/react-native-sdk/) |
82 | 85 |
|
83 | 86 | ## Features |
84 | | -- [Biometric Plugin](https://github.com/docknetwork/react-native-sdk/blob/master/docs/biometric-plugin.md) |
85 | | -- [Ecosystem Tools](https://github.com/docknetwork/react-native-sdk/blob/master/docs/ecosystem-tools.md) |
86 | | -- [Cloud Wallet](https://github.com/docknetwork/react-native-sdk/blob/master/docs/cloud-wallet.md) |
| 87 | + |
| 88 | +* [Biometric Plugin](https://github.com/docknetwork/react-native-sdk/blob/master/docs/biometric-plugin.md) |
| 89 | +* [Ecosystem Tools](https://github.com/docknetwork/react-native-sdk/blob/master/docs/ecosystem-tools.md) |
| 90 | +* [Cloud Wallet](https://github.com/docknetwork/react-native-sdk/blob/master/docs/cloud-wallet.md) |
0 commit comments