@mempool/liquid.js
v2.2.1
Published
NPM package module for Liquid APIs.
Downloads
15
Readme
LiquidJS API
NPM package module for Liquid Network APIs.
Documentation: https://liquid.network/api
Installation
ES Modules
Install the npm module.
# npm
$ npm install @mempool/liquid.js --save
# yarn
$ yarn add @mempool/liquid.js
Or if you're not into package management, just download a ZIP file.
Import the module.
import liquidJS from '@mempool/liquid.js';
const liquid = liquidJS();
CommonJS
Include the line below in the head
tag of your html file.
<script type="text/javascript" src="https://liquid.network/liquid.js"></script>
Call liquidJS()
function to access the API methods.
const liquid = liquidJS();
Features
Contributing
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.