#wallet #browser #standard #blockchain #compatible #solana #applications

wallet_standard_browser

The wasm / browser compatible rust based implementation of the wallet standard

12 unstable releases (3 breaking)

0.4.3 Dec 21, 2024
0.4.1 Dec 13, 2024
0.3.1 Oct 13, 2024
0.2.1 Oct 3, 2024
0.1.4 Sep 21, 2024

#1055 in Web programming

Download history 333/week @ 2024-09-11 254/week @ 2024-09-18 180/week @ 2024-09-25 193/week @ 2024-10-02 298/week @ 2024-10-09 37/week @ 2024-10-16 6/week @ 2024-12-04 281/week @ 2024-12-11 132/week @ 2024-12-18 10/week @ 2024-12-25

429 downloads per month

Unlicense

115KB
2.5K SLoC

Rust 2K SLoC // 0.0% comments JavaScript 467 SLoC // 0.0% comments

wallet_standard_browser


The wasm / browser compatible rust based implementation of the wallet standard.


Crate Docs Status Unlicense codecov

Installation

To install you can used the following command:

cargo add wallet_standard_browser

Or directly add the following to your Cargo.toml:

[dependencies]
wallet_standard_browser = "0.1" # replace with the latest version

Usage

The 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

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(())
}

Dependencies

~10–21MB
~313K SLoC