BitTap Wallet JSSDK is a powerful tool that allows developers to easily integrate BitTap wallet functionality into their DApps.
- Easy-to-use API
- Support for mainnet and testnet
- Provides wallet connection, asset management, transfer functionality, and more
- Full TypeScript support
Install BitTap Wallet JSSDK using npm:
npm install @bittap/wallet-sdk
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);
});
For detailed usage instructions and API documentation, please refer to the following files:
- 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
We welcome community contributions! If you find a bug or have a suggestion for improvement, please create an issue or submit a pull request.
This project is licensed under the MIT License.
If you have any questions or need support, please contact us through:
- Email: bittapwallet@gmail.com
- Twitter: @BittapLab
- Linktr: @bittap
- Official Website: https://www.bittap.org
- Official Document: https://doc.bittap.org
Thank you for using BitTap Wallet JSSDK!