anza-xyz / wallet-standard

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

A series of hooks you can use to materialize features from wallets and accounts #58

Closed steveluscher closed 2 months ago

steveluscher commented 3 months ago

This PR implements React hooks for all of the standard: features except for decrypt and encrypt.

The idea here is that you pass the hook an account (and chain, where relevant) and it either returns you a method implementation of that feature that you can call as many times as you need, or it throws in case the account can't be found, the account doesn't support that feature, or the account doesn't support that chain.

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

@jordaaash I'm sort of unhappy with the documentation I've written here, but have put it up as a first pass.

steveluscher commented 2 months ago

Merge activity