wallet_standard_browser

Crates.iowallet_standard_browser
lib.rswallet_standard_browser
version0.4.3
created_at2024-09-13 11:45:13.428365+00
updated_at2024-12-21 14:03:14.731912+00
descriptionThe wasm / browser compatible rust based implementation of the wallet standard.
homepagehttps://github.com/ifiokjr/wallet_standard
repositoryhttps://github.com/ifiokjr/wallet_standard
max_upload_size
id1373584
size135,384
Ifiok Jr. (ifiokjr)

documentation

README

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(())
}
Commit count: 147

cargo fmt