Blockchain, Lightning Network, Tutorial, Programming, Technology.
getPubKeyHash(AliceKeys[4]), getPubKeyHash(BobKeys[4]) ], } ) ], [ new TxOut( 10000000, { type: 'NORMAL', pubKeyHash: getPubKeyHash(AliceKeys[8]) // For Alice } ) ] ) // Alice can sign, because she know Bob's private key. HBR1b = signTx(HBR1b, BobKeys[4]); // Inherently, this BTC is for Bob, but