@dynamic-labs/waas-bitcoin
v4.52.5
Published
A React SDK for implementing wallet web3 authentication and authorization to your website.
Readme
@dynamic-labs/waas-bitcoin
Bitcoin WaaS (Wallet as a Service) connector for Dynamic Labs SDK.
Overview
This package provides Bitcoin WaaS integration for the Dynamic Labs SDK, allowing users to create and manage Bitcoin wallets through the WaaS infrastructure.
Features
- Bitcoin wallet creation through WaaS
- PSBT (Partially Signed Bitcoin Transaction) signing
- Message signing
- Balance checking
- Transaction sending
Usage
import { DynamicWaasBitcoinConnectors } from '@dynamic-labs/waas-bitcoin';
// Include in your wallet connectors
const walletConnectors = [
...DynamicWaasBitcoinConnectors(),
// ... other connectors
];Requirements
- Bitcoin WaaS backend support
- Dynamic Labs SDK v4.40.1+
- Bitcoin package (@dynamic-labs/bitcoin)
Implementation Notes
This connector extends the base BitcoinWalletConnector with WaaS functionality using the withDynamicWaas mixin. It provides Bitcoin-specific methods like signPsbt, getBalance, and sendTransaction that communicate with the WaaS backend.
Development
This package is part of the Dynamic Labs monorepo and follows the same development patterns as other WaaS connectors (waas-evm, waas-svm).
