|
1 |
| -# Wallet SDK |
| 1 | +# Truvera Wallet SDK |
2 | 2 |
|
3 | 3 | The [Wallet SDK](https://github.com/docknetwork/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 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 |
| - |
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 |
| 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 |
14 | 13 |
|
15 | 14 | ## Installation
|
16 |
| - |
17 | 15 | ```js
|
18 | 16 | yarn add @docknetwork/wallet-sdk-core
|
19 | 17 | yarn add @docknetwork/wallet-sdk-react-native
|
20 | 18 |
|
21 | 19 | ```
|
22 |
| - |
23 |
| -**There are some scripts and additional dependencies required.**\ |
24 |
| -Please check our [examples](../../examples/) folder for detailed steps. |
| 20 | +**There are some scripts and additional dependencies required.** |
| 21 | +Please check our [examples](/examples) folder for detailed steps. |
25 | 22 |
|
26 | 23 | ## React Native Example
|
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.\ |
| 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. |
29 | 25 | Notice that the all documents are accessible through the `documents` object.
|
30 | 26 |
|
31 | 27 | ```js
|
@@ -77,14 +73,14 @@ Check the following repository for detailed examples for running the Truvera Wal
|
77 | 73 |
|
78 | 74 | [See the examples](https://github.com/docknetwork/wallet-sdk/tree/master/examples)
|
79 | 75 |
|
| 76 | + |
80 | 77 | ## Docs
|
81 | 78 |
|
82 | 79 | For more details you can check the [getting started guide](https://github.com/docknetwork/wallet-sdk/blob/master/docs/getting-started.md)
|
83 | 80 |
|
84 | 81 | [See the Github repository](https://docknetwork.github.io/wallet-sdk/)
|
85 | 82 |
|
86 | 83 | ## Features
|
87 |
| - |
88 |
| -* [Biometric Plugin](https://github.com/docknetwork/wallet-sdk/blob/master/docs/biometric-plugin.md) |
89 |
| -* [Ecosystem Tools](https://github.com/docknetwork/wallet-sdk/blob/master/docs/ecosystem-tools.md) |
90 |
| -* [Cloud Wallet](https://github.com/docknetwork/wallet-sdk/blob/master/docs/cloud-wallet.md) |
| 84 | +- [Biometric Plugin](https://github.com/docknetwork/wallet-sdk/blob/master/docs/biometric-plugin.md) |
| 85 | +- [Ecosystem Tools](https://github.com/docknetwork/wallet-sdk/blob/master/docs/ecosystem-tools.md) |
| 86 | +- [Cloud Wallet](https://github.com/docknetwork/wallet-sdk/blob/master/docs/cloud-wallet.md) |
0 commit comments