Skip to content
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

Update readMe docs #905

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

Clintjeez
Copy link

Updated readMe file with a more organized documentation to get started with solana-wallet-adapter

Copy link
Collaborator

@mcintyre94 mcintyre94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, thanks for opening this PR! In general I think it could be useful to add more content to this README to make it easier to find information

A few general points though:

  • Please stick to Markdown, not HTML. While Github renders the combination reasonably well, markdown is more widely used and should be sufficient for everything we need in a README. Github also has a pretty good range of markdown functionality.

  • We still need to keep all the existing links, this PR has some broken links and seems to remove some

  • Please don't add the SWA branding, we haven't used that before and it'll confuse developers who are familiar with wallet-adapter

README.md Outdated
Comment on lines 5 to 14
<!--PROJECT SHIELDS -->
<center>

[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]

</center>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's leave these out for now, none of our other readmes use these shields.io shields AFAIK

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review and all feedback is duly noted

README.md Outdated
@@ -1,14 +1,246 @@
# Wallet Adapter
# <center>Solana Wallet Adapter </center>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a general point, please just stick to markdown and don't rewrite this all in HTML. It does render OK on Github but markdown is simpler and more consistent.

README.md Outdated

<!--PROJECT DESCRIPTION -->
<div>
<p> The Solana Wallet Adapter (SWA) is a powerful toolkit designed to streamline the integration of Solana-based decentralized applications (dApps) with various wallet solutions. Developed and maintained by the Solana community, SWA offers a versatile set of modular TypeScript wallet adapters and components tailored specifically for Solana applications.</p>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've never used this SWA branding before, please keep it to wallet-adapter

README.md Outdated
<p>At its core, SWA simplifies the process of connecting dApps with users' preferred wallets, offering seamless integration with over a dozen Solana wallets right out of the box. By leveraging SWA, developers can eliminate the complexities associated with individually supporting each wallet, thus enhancing accessibility and user experience. </p>

####Key features and benefits of SWA include:
- Open Source and Solana Labs Support: SWA is an open-source project actively supported by Solana Labs, ensuring continuous improvement and community-driven development.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now supported by Anza :)

README.md Outdated
- Customizable UI: SWA provides an off-the-shelf customizable user interface, enabling developers to tailor the wallet integration experience to align with the aesthetic and functional requirements of their dApps.
- Anchor Integration: SWA seamlessly integrates with Anchor, a comprehensive development framework for building Solana dApps, offering enhanced functionality and compatibility.
- Key Functionality: SWA offers essential functionalities such as Connect, Disconnect, and Auto-connect, streamlining the interaction between dApps and users' wallets.
- Support for Multiple Environment and Front-End Frameworks: SWA is designed to work seamlessly with various front-end frameworks and environment such as mobile and gaming development (unit), offering flexibility and compatibility across different development environments.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean Unity?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes that was a typo I meant Unity

README.md Outdated
<p> The Solana Wallet Adapter (SWA) is a powerful toolkit designed to streamline the integration of Solana-based decentralized applications (dApps) with various wallet solutions. Developed and maintained by the Solana community, SWA offers a versatile set of modular TypeScript wallet adapters and components tailored specifically for Solana applications.</p>
<p>At its core, SWA simplifies the process of connecting dApps with users' preferred wallets, offering seamless integration with over a dozen Solana wallets right out of the box. By leveraging SWA, developers can eliminate the complexities associated with individually supporting each wallet, thus enhancing accessibility and user experience. </p>

####Key features and benefits of SWA include:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need a space after the # to make these headers work correctly

You can view this file rendered here to debug: https://github.com/anza-xyz/wallet-adapter/blob/fb2cb590de546072c40b2e519dbfaf2ef9c6d4ba/README.md

README.md Outdated
Comment on lines 35 to 43
<p align="center">
<a href="#"><strong>View demo</strong> </a>
·
<a href="#"><strong>Report bug</strong> </a>
·
<a href="#/df"><strong>Request feature</strong> </a>
·
<a href="#/df"><strong>FAQ</strong> </a>
</p>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None of these links work

README.md Outdated
Comment on lines 48 to 72
###Table of Contents
<ul>
<li>
Installation & Setup
<ul>
<li>
<a href="#ReactJS"> ReactJS </a>
</li>
<li>
<a href="https://github.com/lorisleiva/solana-wallets-vue"> VueJS </a>
</li>
<li>
<a href="https://github.com/svelte-on-solana/wallet-adapter"> Svelte </a>
</li>
<li>
<a href="https://github.com/magicblock-labs/Solana.Unity-SDK"> Unit-SDK </a>
</li>
</ul>
</li>
<li><a href="https://github.com/anza-xyz/wallet-adapter/blob/master/FAQ.md">FAQ</a></li>
<li><a href="https://github.com/anza-xyz/wallet-adapter/blob/master/PACKAGES.md">Packages</a></li>
<li><a href="https://github.com/anza-xyz/wallet-adapter/blob/master/BUILD.md">Build from source</a></li>
<li><a href="#Resource">Resource</a></li>

</ul>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should add a table of contents. Github does this for us if we use Markdown headings

README.md Outdated
```

* Setup
```sh
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```sh
```tsx

README.md Outdated
```

* Usage
```sh
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```sh
```tsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants