Closed steveluscher closed 2 months ago
master
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @steveluscher and the rest of your teammates on Graphite
@jordaaash I'm sort of unhappy with the documentation I've written here, but have put it up as a first pass.
This PR implements React hooks for all of the
standard:
features except fordecrypt
andencrypt
.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.