Closed steveluscher closed 2 months ago
This is the first React hook in the new Wallet Standard React package.
function MyComponent() { const bitcoinWallets = useWallets().filter(({chains}) => chains.some(chain => chain.startsWith('bitcoin:')), ); return ( <ul> {bitcoinWallets.map( ({name}) => <li key={name}>{name}</li> )} </ul> ); }
Characteristcs:
master
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @steveluscher and the rest of your teammates on Graphite
This is the first React hook in the new Wallet Standard React package.
Characteristcs: