up
This commit is contained in:
parent
cf8fa1dd1d
commit
a77df03b8e
1 changed files with 6 additions and 2 deletions
|
|
@ -39,6 +39,10 @@ const initBitcoinCore = async (settings: TestSettings) => {
|
||||||
})
|
})
|
||||||
const wallet = await core.createWallet('');
|
const wallet = await core.createWallet('');
|
||||||
console.log({ wallet })
|
console.log({ wallet })
|
||||||
const address = await core.getNewAddress()
|
const addr = await core.getNewAddress()
|
||||||
console.log({ address })
|
console.log({ addr })
|
||||||
|
const gen = await core.generateToAddress(100, addr)
|
||||||
|
console.log({ gen })
|
||||||
|
const info = await core.getWalletInfo();
|
||||||
|
console.log({ info })
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue