Neopin Connect Modal

How to use NEOPIN Connect Modal

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

  • 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.

  • 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.

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();

Last updated