> For the complete documentation index, see [llms.txt](https://doc.bittap.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.bittap.org/developer-guides/js-sdk.md).

# JS SDK

### 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

### Requirements

* Modern web browser environment
* Install the bittap wallet extension
* A password and an existing account exist in the bittap wallet extension

### Links

* NPM package

{% embed url="<https://www.npmjs.com/package/@bittap/wallet-sdk>" %}

* Tutorials

{% embed url="<https://github.com/bittap-protocol/wallet-sdk/blob/main/Tutorials.en_US.md>" %}

{% embed url="<https://github.com/bittap-protocol/wallet-sdk/blob/main/Tutorials.zh_CN.md>" %}

* JSSDK Api Reference

{% embed url="<https://bittap-jssdk-doc.onebits.org/>" %}

* VUE Example

{% embed url="<https://bittap-vue.onebits.org/>" %}
Vue Demo
{% endembed %}

{% embed url="<https://github.com/bittap-protocol/wallet-sdk/tree/main/examples/vue3>" %}
Source code
{% endembed %}

* REACT Example

{% embed url="<https://bittap-react.onebits.org/>" %}
Demo
{% endembed %}

{% embed url="<https://github.com/bittap-protocol/wallet-sdk/tree/main/examples/react>" %}
Source code
{% endembed %}
