@ant-design/web3-bitcoin
TypeScript icon, indicating that this package has built-in type declarations

1.3.1 • Public • Published

@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,
  OkxWallet,
  UnisatWallet,
  XverseWallet,
} from '@ant-design/web3-bitcoin';

const App: React.FC = () => {
  return (
    <BitcoinWeb3ConfigProvider wallets={[XverseWallet(), UnisatWallet(), OkxWallet()]}>
      <Connector>
        <ConnectButton />
      </Connector>
    </BitcoinWeb3ConfigProvider>
  );
};

export default App;

For more examples, refer to Bitcoin - Ant Design Web3.

Documentation

/@ant-design/web3-bitcoin/

    Package Sidebar

    Install

    npm i @ant-design/web3-bitcoin

    Weekly Downloads

    27

    Version

    1.3.1

    License

    none

    Unpacked Size

    161 kB

    Total Files

    70

    Last publish

    Collaborators

    • jeason
    • yutingzhao1991