#wallet #solana #standard #blockchain #dapp #interface #ecosystem

wallet_standard

An implementation of the solana wallet standard in rust

11 unstable releases (3 breaking)

new 0.4.3 Dec 13, 2024
0.4.2 Dec 13, 2024
0.4.0 Oct 13, 2024
0.3.0 Oct 12, 2024
0.1.3 Sep 18, 2024

#941 in Web programming

Download history 196/week @ 2024-09-07 321/week @ 2024-09-14 64/week @ 2024-09-21 393/week @ 2024-09-28 108/week @ 2024-10-05 376/week @ 2024-10-12 41/week @ 2024-10-19 4/week @ 2024-10-26 17/week @ 2024-11-02 1/week @ 2024-11-09 10/week @ 2024-11-16 11/week @ 2024-11-23 12/week @ 2024-11-30 179/week @ 2024-12-07

212 downloads per month
Used in 6 crates

Unlicense

44KB
794 lines

wallet_standard


An implementation of the solana wallet standard in rust.


Crate Docs Status Unlicense codecov

Installation

To install you can used the following command:

cargo add wallet_standard

Or directly add the following to your Cargo.toml:

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

Features

Feature Description
browser Enables the browser feature for the wallet_standard_browser crate.
solana Enables the solana feature for the wallet_standard_solana crate.

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:

  1. Basic Setup:

All the traits can be imported using the prelude.

use wallet_standard::prelude::*;

A full example of how to use this crate can be found in the wallet_standard_browser crate and in the memory_wallet crate.

Dependencies

~1–11MB
~125K SLoC