# `wallet_standard_browser`
<br />
> The wasm / browser compatible rust based implementation of the wallet standard.
<br />
[![Crate][crate-image]][crate-link] [![Docs][docs-image]][docs-link] [![Status][ci-status-image]][ci-status-link] [![Unlicense][unlicense-image]][unlicense-link] [![codecov][codecov-image]][codecov-link]
## Installation
To install you can used the following command:
```bash
cargo add wallet_standard_browser
```
Or directly add the following to your `Cargo.toml`:
```toml
[dependencies]
wallet_standard_browser = "0.1" # replace with the latest version
```
## Usage
The [Wallet Standard](https://github.com/wallet-standard/wallet-standard) is a set of traits and conventions designed to improve the user experience and developer experience of wallets and applications for any blockchain.
This crate provides a Rust implementation of the Solana Wallet Standard, which aims to create a consistent interface for wallets and dApps to interact across different blockchain ecosystems. Here's a brief overview of how to use this crate to fetch
```rust
use wallet_standard_browser::get_wallets;
use wallet_standard_browser::prelude::*;
async fn run() -> anyhow::Result<()> {
let wallet_getter = get_wallets().await?;
let wallets = wallet_getter.get();
Ok(())
}
```
[crate-image]: https://img.shields.io/crates/v/wallet_standard_browser.svg
[crate-link]: https://crates.io/crates/wallet_standard_browser
[docs-image]: https://docs.rs/wallet_standard_browser/badge.svg
[docs-link]: https://docs.rs/wallet_standard_browser/
[ci-status-image]: https://github.com/ifiokjr/wallet_standard/workflows/ci/badge.svg
[ci-status-link]: https://github.com/ifiokjr/wallet_standard/actions?query=workflow:ci
[unlicense-image]: https://img.shields.io/badge/license-Unlicence-blue.svg
[unlicense-link]: https://opensource.org/license/unlicense
[codecov-image]: https://codecov.io/github/ifiokjr/wallet_standard/graph/badge.svg?token=87K799Q78I
[codecov-link]: https://codecov.io/github/ifiokjr/wallet_standard