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