Install the electronic cash library to be able to perform transactions like balance inquiry, read beneficiary's information and transfer electronic cash.
In the repository folder look for the file ecash-supply.js and add the line below in your html page.
<script src="./assets/js/ecash-supply.js"></script>
Add element for information not found.
HTML
<div id="api-404" hidden></div>
<script>
document.getElementById("api-404").appendChild(_uz.api);
</script>
Add values on variable _uz.z and _uz.qr to set QR parameters
<script>
_uz.z = { qrScan: { arr: [], hashes: [] }, digit: { height: 12 }, slider: { single: {} } };
_uz.qr = {
length: 72,
delay: 128,
interval: 0,
hash: "89h574t23t147p469s78&7879*45871*4556e54c1a746s585h256%4765p548u5458b4583l256i548c754$325w2521e47b968$32a11p5689p9"
};
_uz.qrhash({ hash: _uz.qr.hash });
</script>