BtcWalletProvider
This component provides BTC wallet connect data.
Unlike EVM which has the support from packages such as wagmi and viem, for BTC we rely on internal logic to keep track of wallet states. This allows us to get details such as the connected state and public keys / addresses in our other BTC components and hooks.
Usage
import { BtcWalletProvider } from "@dustlabs/profiles/btc";
function App() {
return (
<BtcWalletProvider>
{/** ... */}
</BtcWalletProvider>
)
}