@bittap/wallet-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

BitTap Wallet JSSDK

BitTap Wallet JSSDK is a powerful tool that allows developers to easily integrate BitTap wallet functionality into their DApps.

Features

  • Easy-to-use API
  • Support for mainnet and testnet
  • Provides wallet connection, asset management, transfer functionality, and more
  • Full TypeScript support

Installation

Install BitTap Wallet JSSDK using npm:

npm install @bittap/wallet-sdk

Quick Start

Here's a simple example demonstrating how to initialize the SDK and connect to the wallet:

import { WalletSdk, Network } from '@bittap/wallet-sdk';

const walletSdk = new WalletSdk({ network: Network.mainnet });

walletSdk.connection((res) => {
  console.log('Connection successful', res);
});

Documentation

For detailed usage instructions and API documentation, please refer to the following files:

Main Functions

  • Connect wallet
  • Switch network
  • Listen for account changes
  • Listen transaction changes
  • Get current assets
  • Create invoice
  • Send BTC Transfer
  • Send taproot assets
  • Sign messages
  • Search assets
  • Get invoices

Contributing

We welcome community contributions! If you find a bug or have a suggestion for improvement, please create an issue or submit a pull request.

License

This project is licensed under the MIT License.

Contact Us

If you have any questions or need support, please contact us through:

Thank you for using BitTap Wallet JSSDK!

Readme

Keywords

Package Sidebar

Install

npm i @bittap/wallet-sdk

Weekly Downloads

12

Version

1.0.6

License

MIT

Unpacked Size

115 kB

Total Files

15

Last publish

Collaborators

  • bittap