Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.07 KB

File metadata and controls

51 lines (32 loc) · 1.07 KB

Node Qredit API Helper

https://telegram.me/@MrMike_O

A Promised NodeJS Module for connecting with the Qredit V2 API (.. and other Chains forked from Ark v2)

A Full Integration Guide for both QreditAPI and QAE can be found here: Qredit Integration Guide

Install via git

git clone https://github.com/mrmikeo/nodeqreditapi
cd nodeqreditapi
npm install

node example.js

example.js:

const qreditApi = require("./lib/qreditApi");
const qapi = new qreditApi.default();


(async () => {
  
  var currentHeight = await qapi.getBlockHeight();
  
  console.log("Blockchain Height: " + currentHeight);
  
})();

Install via npm

npm install --save https://github.com/mrmikeo/nodeqreditapi
const qreditApi = require("nodeQreditApi");
const qapi = new qreditApi.default();


(async () => {
  
  var currentHeight = await qapi.getBlockHeight();
  
  console.log("Blockchain Height: " + currentHeight);
  
})();