up
This commit is contained in:
parent
10458bc5b5
commit
72097354a2
1 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ export const setupNetwork = async () => {
|
||||||
const core = new Core(settings)
|
const core = new Core(settings)
|
||||||
await core.Init()
|
await core.Init()
|
||||||
const { alice, bob, carol, dave } = await initLndInstances(settings)
|
const { alice, bob, carol, dave } = await initLndInstances(settings)
|
||||||
const aliceAddr = await alice.NewAddress(AddressType.WITNESS_PUBKEY_HASH)
|
/*const aliceAddr = await alice.NewAddress(AddressType.WITNESS_PUBKEY_HASH)
|
||||||
const bobAddr = await bob.NewAddress(AddressType.WITNESS_PUBKEY_HASH)
|
const bobAddr = await bob.NewAddress(AddressType.WITNESS_PUBKEY_HASH)
|
||||||
const carolAddr = await carol.NewAddress(AddressType.WITNESS_PUBKEY_HASH)
|
const carolAddr = await carol.NewAddress(AddressType.WITNESS_PUBKEY_HASH)
|
||||||
const daveAddr = await dave.NewAddress(AddressType.WITNESS_PUBKEY_HASH)
|
const daveAddr = await dave.NewAddress(AddressType.WITNESS_PUBKEY_HASH)
|
||||||
|
|
@ -17,7 +17,7 @@ export const setupNetwork = async () => {
|
||||||
await core.SendToAddress(bobAddr.address, 10)
|
await core.SendToAddress(bobAddr.address, 10)
|
||||||
await core.SendToAddress(carolAddr.address, 10)
|
await core.SendToAddress(carolAddr.address, 10)
|
||||||
await core.SendToAddress(daveAddr.address, 10)
|
await core.SendToAddress(daveAddr.address, 10)
|
||||||
await core.Mine(6)
|
await core.Mine(6)*/
|
||||||
const alicePub = await alice.GetInfo()
|
const alicePub = await alice.GetInfo()
|
||||||
console.log({ alicePub })
|
console.log({ alicePub })
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue