@aptos-labs/wallet-adapter-react 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -6
- package/package.json +1 -1
- package/.eslintrc.js +0 -4
- package/tsconfig.json +0 -5
package/README.md
CHANGED
|
@@ -4,15 +4,12 @@ A react provider wrapper for the Aptos Wallet Adapter
|
|
|
4
4
|
|
|
5
5
|
Dapps that want to use the adapter should install this package and other supported wallet packages.
|
|
6
6
|
|
|
7
|
-
#### Supported wallet packages
|
|
8
|
-
|
|
9
|
-
- [Petra](https://www.npmjs.com/package/petra-plugin-wallet-adapter)
|
|
10
|
-
|
|
11
7
|
### Usage
|
|
12
8
|
|
|
13
9
|
#### Install Dependencies
|
|
14
10
|
|
|
15
|
-
Install wallet dependencies you want to include in your app.
|
|
11
|
+
Install wallet dependencies you want to include in your app.
|
|
12
|
+
To do that, you can look at our [supported wallets list](https://github.com/aptos-labs/aptos-wallet-adapter#supported-wallet-packages). Each wallet is a link to npm package where you can install it from.
|
|
16
13
|
|
|
17
14
|
Next, install the `@aptos-labs/wallet-adapter-react`
|
|
18
15
|
|
|
@@ -33,7 +30,7 @@ On the `App.jsx` file,
|
|
|
33
30
|
Import the installed wallets.
|
|
34
31
|
|
|
35
32
|
```js
|
|
36
|
-
import {
|
|
33
|
+
import { SomeAptosWallet } from "some-aptos-wallet-package";
|
|
37
34
|
```
|
|
38
35
|
|
|
39
36
|
Import the `AptosWalletAdapterProvider`.
|
package/package.json
CHANGED
package/.eslintrc.js
DELETED