anza-xyz / wallet-standard

Solana extensions to the Wallet Standard.
Apache License 2.0
79 stars 42 forks source link

A generic hook for fetching concrete features for wallet accounts #55

Closed steveluscher closed 2 months ago

steveluscher commented 3 months ago

Given a UiWalletAccount and the name of a feature, this hook returns the feature object from the underlying Wallet Standard Wallet. This is a specialization of useWalletFeature() that takes into consideration that the features supported by a wallet might not be supported by every account in that wallet. In the event that the wallet or account does not support the feature, a WalletStandardError will be thrown.

steveluscher commented 3 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @steveluscher and the rest of your teammates on Graphite Graphite

steveluscher commented 2 months ago

Merge activity