|
March 09, 2018, 06:36:56 AM |
|
A want to buy a pizza from B
step1 A take his pk-A and B's pk-B create a multisig address "3xxx" or "bc1xxxx"
step2 A send 1Btc to the address, but don't need broadcast to Bitcoin chain.
step3 Whatever how A-B make transactions on the LN, A will never get any BTC, because he is a Payer.
step4 end transcation, A-B make a transcation broadcast to Bitcoin chain. input sciprt: signatureA,B(preTranStep2) redeemscript output script: pay to A (never over than 1 Btc) pay to B
step1: we call it "open channel", right? step2: we call it "Funding Transcation", righ? should it broadcast to Bitcoin chain? step3: -- step4: I just follow the setp2, if that is correct!
I am not sure I am right, hopefully someone can tell me.
|