-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOC] add aptos wallet adapter docs #5812
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, Maayan. Please give me until tomorrow EOD to review.
npm install @aptos-labs/wallet-adapter-react | ||
``` | ||
|
||
Import dependencies. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How import dependencies?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe a title should fit better here, fixed it
On the App.jsx file, Import the installed wallets. | ||
|
||
```js | ||
import { AptosWallet } from "some-aptos-wallet-package"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we give them an actual example to accompany some-aptos-wallet-package
here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, @0xmaayan ! I made some edits directly to the files. And I included one TODO asking for how to import dependencies. Once that is resolved, this LGTM. Thanks again!
c1d4851
to
db2784f
Compare
|
||
# Aptos Wallet Adapter | ||
|
||
Aptos provides an [Aptos Wallet Adapter](https://github.com/aptos-labs/aptos-wallet-adapter) monorepo for wallet and dapps creators to ease development and ensure a smooth process in building projects on the Aptos network. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aptos provides an [Aptos Wallet Adapter](https://github.com/aptos-labs/aptos-wallet-adapter) monorepo for wallet and dapps creators to ease development and ensure a smooth process in building projects on the Aptos network. | |
We provide an [Aptos Wallet Adapter](https://github.com/aptos-labs/aptos-wallet-adapter) for wallet and dapps creators to ease development and ensure a smooth process in building projects on the Aptos network. |
|
||
Aptos provides an [Aptos Wallet Adapter](https://github.com/aptos-labs/aptos-wallet-adapter) monorepo for wallet and dapps creators to ease development and ensure a smooth process in building projects on the Aptos network. | ||
|
||
The Aptos Wallet Adapter acts as a service between dapps and wallets and exposes APIs for dapps to interact with the wallets by following our [Wallet Standard](../guides/wallet-standard). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Aptos Wallet Adapter acts as a service between dapps and wallets and exposes APIs for dapps to interact with the wallets by following our [Wallet Standard](../guides/wallet-standard). | |
The Aptos Wallet Adapter acts as a service between dapps and wallets and exposes APIs for dapps to interact with wallets following our [Wallet Standard](../guides/wallet-standard). This in turns allows dapps to support many wallets with minimal integration efforts. |
|
||
# Aptos Wallet Adapter | ||
|
||
Aptos provides an [Aptos Wallet Adapter](https://github.com/aptos-labs/aptos-wallet-adapter) monorepo for wallet and dapps creators to ease development and ensure a smooth process in building projects on the Aptos network. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these paragraphs don't really describe the problem that the wallet adapter is addressing...
- There are a lot of wallets in the ecosystem
- Supporting each one is a burden but not supporting them is risky for projects
- Integration with wallets can be a complex process that requires a lot of testing
A wallet adapter solves these pain points....
or something
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we explain it here in details, https://github.com/aptos-labs/aptos-core/pull/5812/files#diff-28a8dc8c00ae95b5f3d12241e42fbdcaf8e022df85c141d748d8de3cb2113001R8-R23
but we can also add some on that page! maybe benefits for both wallets and dapps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, Maayan! This LGTM with some small changes I made directly. Thanks again!
494b3ee
to
783ae28
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
* [DOC] add aptos wallet adapter docs * [DOC] add aptos wallet adapter docs * [DOC] add aptos wallet adapter docs * import image and baseUrl components * add missing link * rename image files * add words to dict file * Make direct edits to Wallet Adapter concept * Make direct edits to Wallet Adapter for Dapps doc * Edit Wallet Adapter for Wallets directly * Fix order of new dictionary entries * address feedback * add context on the adapter * Make small edits directly Co-authored-by: Clay Murphy <114445310+clay-aptos@users.noreply.github.com>
Description
Adds documentation for Aptos Wallet Adapter under the "BUILD APPS" section
Test Plan