@bittap/wallet-sdk
v1.0.6
Published
Bittap wallet sdk
Downloads
103
Readme
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:
- Email: [email protected]
- Twitter: @BittapLab
- Linktr: @bittap
- Official Website: https://www.bittap.org
- Official Document: https://doc.bittap.org
Thank you for using BitTap Wallet JSSDK!