Generate a one time QR code for receiving LIKE payment, suitable for eshop/etc.

Note: This library is still under active development and is not suitable for production use yet

Browser integration guide

Include like-pay sdk in your website's <head>:

<script src=""></script>

Define where you want the LIKE pay QR code to show up by making a <div> , say #likepay.

<script src=""></script>
<div id="likepay"></div>

In your javascript, call likePay.createPaymentQRCode(), parameters are DOM selector, your liker ID and LIKE amount to be recevied

likePay.createPaymentQRCode('#likepay', 'ckxpress', 1)
.then((tx) => {
/* returns after tx complete, shows tx completion */
return tx;

createPaymentQRCode() returns a promise, if the user have completed the payment flow in their Liker Land app, the promise will resolve with tx information.