Add bisqJS and liquidJS npm modules.
This commit is contained in:
17
examples/nodejs/mempool-js/bisq/addresses.ts
Normal file
17
examples/nodejs/mempool-js/bisq/addresses.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import mempoolJS from "./../../../../src/index";
|
||||
|
||||
const init = async () => {
|
||||
try {
|
||||
const {
|
||||
bisq: { addresses },
|
||||
} = mempoolJS();
|
||||
|
||||
const address = 'B1DgwRN92rdQ9xpEVCdXRfgeqGw9X4YtrZz';
|
||||
|
||||
const myAddress = await addresses.getAddress({ address });
|
||||
console.log(myAddress);
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
};
|
||||
init();
|
||||
Reference in New Issue
Block a user