wallet_standard
An implementation of the solana wallet standard in rust.
Installation
To install you can used the following command:
Or directly add the following to your Cargo.toml:
[]
= "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:
- Basic Setup:
All the traits can be imported using the prelude.
use *;
A full example of how to use this crate can be found in the wallet_standard_browser crate and in the memory_wallet crate.