@ant-design/web3-bitcoin
v1.0.1
Published
This package provides a Bitcoin adapter for [@ant-design/web3](https://www.npmjs.com/package/@ant-design/web3).
Downloads
107
Readme
@ant-design/web3-bitcoin
This package provides a Bitcoin adapter for @ant-design/web3.
Installation
npm install @ant-design/web3 @ant-design/web3-bitcoin
Usage
import { ConnectButton, Connector } from '@ant-design/web3';
import { BitcoinWeb3ConfigProvider, UnisatWallet, XverseWallet } from '@ant-design/web3-bitcoin';
const App: React.FC = () => {
return (
<BitcoinWeb3ConfigProvider wallets={[XverseWallet(), UnisatWallet()]}>
<Connector>
<ConnectButton />
</Connector>
</BitcoinWeb3ConfigProvider>
);
};
export default App;
For more examples, refer to Bitcoin - Ant Design Web3.
Documentation
- For more information, visit Ant Design Web3.
- For an introduction to UniSat wallet, visit UniSat Wallet.
- For an introduction to Xverse wallet, visit Sats Connect.