Add bisqJS and liquidJS npm modules.

This commit is contained in:
Miguel Medeiros
2021-08-10 01:30:13 -03:00
parent acc0c80953
commit 4efc927303
116 changed files with 5504 additions and 4137 deletions

View File

@@ -0,0 +1,15 @@
import mempoolJS from "./../../../../src/index";
const init = async () => {
try {
const {
bitcoin: { difficulty },
} = mempoolJS();
const difficultyAdjustment = await difficulty.getDifficultyAdjustment();
console.log(difficultyAdjustment);
} catch (error) {
console.log(error);
}
};
init();