This commit is contained in:
hatim boufnichel 2024-04-24 15:54:35 +02:00
parent cf8fa1dd1d
commit a77df03b8e

View file

@ -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 })
} }