# Neopin Connect Modal

{% hint style="danger" %}
The following information is deprecated and may limit its use. Please refer to the WalletConnect 2.0 tab for the latest version of NEOPIN wallet integration: [walletconnect-2.0](https://docs.neopin.io/developers/walletconnect-2.0 "mention")
{% endhint %}

* You can attach a callback function when NEOPIN Connect QR Modal is working.
* Open - You can define actions that occur when modal is opened by overriding callbacks.&#x20;
* Close - Like the open method, the actions that occur when disconnected can be used in the same way as 'open' by putting a callback function.

```javascript
import NeopinConnectQRCode from "nptconnect-qrcode-modal";

/** 
get connector from nptconnector
**/
const uri = connector.uri;

/**
 *  Open QR Code Modal
 */
NeopinConnectQRCode.open(uri);

/**
 *  Close QR Code Modal
 */
NeopinConnectQRCode.close();
```
