Upgrade to Pro — share decks privately, control downloads, hide ads and more …

詳解 BTC Payment

Akira Chiku
February 16, 2018

詳解 BTC Payment

Akira Chiku

February 16, 2018
Tweet

More Decks by Akira Chiku

Other Decks in Programming

Transcript

  1. ⵸䲿 فٗتؙز 5 Ø غٝسٕؕ٦س Ø ،فַٔ׵ⴓד涪遤דֹ׷7JTBفٔل؎سؕ٦س Ø 鼅ץ׷غ٦ثٍٕؕ٦سהٔ،ٕؕ٦س Ø

    #5$דثٍ٦آ〳腉 Ø CJU'MZFS،ؕؐٝزַ׵#5$ثٍ٦آ׮〳腉 Ø IUUQTWBOEMFKQ
  2. #5$佄䩪ְך㛇燉 UY 7 { "version": 1, "locktime": 0, "vin": [

    { "txid": "7957a35fe64f80d234d76d83a2a8f1a0d8149a41d81de548f0a65a8a999f6f18", "vout": 0, "scriptSig" : "3045022100884d142d86652a3...", "sequence": 4294967295 } ], "vout": [ { ”value": 0.01500000, "scriptPubKey": "OP_DUP OP_HASH160 ab68025513c3dbd2f7b92a94e0581f5d50f654e7 OP_EQUALVERIFY OP_CHECKSIG" }, { "value": 0.08450000, "scriptPubKey": "OP_DUP OP_HASH160 7f9b1a7fb68d60c536c2fd8aeaa53a8f3cc025a8 OP_EQUALVERIFY OP_CHECKSIG" } ] }
  3. #5$佄䩪ְך㛇燉 UY 8 Ø 5SBOTBDUJPO*OQVUT Ø 荈ⴓך猼㺘꒲ד䨽剣埄׾⚺䓸דֹ׷ה֮׷،سٖأה #5$ꆀפךه؎ٝة Ø +40/邌植׾鋅ג׫׷הծWJOהְֲ㾩䚍ך⚥ח5Y

    "ך ⚥חⰅ׏ג׷6590ךO殢湡הְֲ䞔㜠ָⰅ׏גְ׷ Ø 猼㺘꒲׾⢪׏׋؟؎ٝ VOMPDLJOHTDSJQU Ø 佄䩪ְ겘חさ׻ׇג醱侧ך5SBOTBDUJPO*OQVUT׾ؐؓ ٖحزָさ皾׃גֻ׸׷
  4. #5$佄䩪ְך㛇燉 UY 9 "vin": [ { "txid": "7957a35fe64f80d234d76…d81de548f0a65a8a999f6f18", "vout": 0,

    "scriptSig" : "304502210088…[ALL] 0484ec…", "sequence": 4294967295 } ]
  5. #5$佄䩪ְך㛇燉 UY 10 Ø 6OTQFOU5SBOTBDUJPO 0VUQVUT 6590 Ø 佄䩪⯓MPDLJOHTDSJQUהꆃ겘 

    C Ø 荈ⴓךֶꆤ׶MPDLJOHTDSJQUהꆃ겘 D Ø JOQVU Cˊ DUY GFF Ø 佄䩪⯓כ醱侧䭷㹀׮〳腉ד׉ך֮׋׶ך㹋鄲כぐ ٖؐؓحزח⟣ׁ׸גְ׷ Ø ת׋ծCכ醱侧ろ׬ֿהָדֹ׷
  6. #5$佄䩪ְך㛇燉 UY 11 "vout": [ { "value": 0.01500000, "scriptPubKey": "OP_DUP

    OP_HASH160 ab68025513c3dbd2f7b92a94e0581f5d50f654e7 OP_EQUALVERIFY OP_CHECKSIG" }, { "value": 0.08450000, "scriptPubKey": "OP_DUP OP_HASH160 7f9b1a7fb68d60c536c2fd8aeaa53a8f3cc025a8 OP_EQUALVERIFY OP_CHECKSIG" } ]
  7. #5$佄䩪ְך㛇燉 DPOG 13 Ø 5Yכٖؐؓحزד⡲䧭ׁ׸ג#JUDPJOQQ/8ח佝⳿ׁ׸ـٗحؙח 《׶鴥ת׸ծـٗحؙثؑ٦ٝח籬ָ׸׷ Ø ֿ׸׾$POGJSNBUJPOהㄎע Ø 5Y

    "ָـٗحؙח《׶鴥ת׸גـٗحؙثؑ٦ٝחאזָ׸׋  5Y "כDPOG Ø ׉ך♳ח׮ֲ♧אـٗحָؙאזָ׸׋ 5Y "כDPOG Ø ـٗحؙثؑ٦ٝכⴓ䀄׃זָ׵♧殢ꞿְ׮ך׾姻ה׃גر٦ة׾鎸 ꐮ׃גְֻ Ø 姻הׁ׸׷ر٦ةכ䌢ח然桦涸 Ø וַֿדչ植㹋涸חכ銻׵זְ״יպהְֲDPOG׾寸׭׷
  8. #5$佄䩪ְ「ֽג㉀㡰ׅ׷ 17 Ø չَغ؎5ءٍخ㾊ׁ׿պהְֲ&$׾װ׷ Ø 长✲䞔ח״׶#5$ד佄䩪ְ׾「ֽ׋ְ Ø 姻䌢禸فٗإأ Ø 盖椚罏כَغ؎5ءٍخח傈劤ⰼד⦼媮׾➰ֽ׷

    Ø 长✲䞔ח״׶滠♰ⰼ Ø ِ٦ؠָ#5$ד佄䩪ֲة؎ىؚٝד#5$ꆃ겘邌爙ׅ׷ Ø ♰ +1:Y#5$ Ø ؟؎زכ佄䩪⯓،سٖأ׾ِ٦ؠח䲿爙ׅ׷ Ø ِ٦ؠכ䲿爙ׁ׸׋،سٖأח#5$ד佄䩪ֲ Ø 盖椚罏כَغ؎5ءٍخ׾涪鷏ׅ׷
  9. 傈䌢寸幥דꥷ甧א铬겗 26 Ø ِ٦ؠפך鵤ꆃ㉏겗 Ø ㉀ㅷח㉏겗ָ֮׏ג鵤ꆃ⣛걾ׁ׸׷㜥さ Ø ꆃ겘׾꟦麩ִ׋ծ劍ꣲ⟃ⰻח䮶׶鴥תזַ׏׋瘝ד滠 ꆃכ׃ג׷ֽו鵤ꆃָ䗳銲ז㜥さ Ø

    ،سٖأה岣俑ך嚊䙀ָ秡➰ַזְ㉏겗 Ø ،سٖأכו׍׵ַהְֲה项ꆃָⰅ׏׋׶⳿׋׶ׅ ׷չ〡䏟պהְֲ嚊䙀ח鵚ְ Ø 岣俑ך䏝ח،سٖأ׾䩪ְ⳿׃亻⡂涸ח岣俑ה秡➰ֽ ׷✲כדֹ׷ָر٦ةٌرٕ涸חⰋֻ殯ז׷ Ø ،سٖأח #5$锜実׃׋ָהך5Yח ⴓַ׸ג䮶׶鴥ת׸׷㜥さ׮֮׶䖤׷
  10. 傈䌢寸幥דꥷ甧א铬겗פך㼎䘔瘻 27 Ø #*11BZNFOU1SPUPDPM Ø #*1TXFSFDSFBUFEJO Ø IUUQTHJUIVCDPNCJUDPJOCJQTCMPCNBTUFSCJQ NFEJBXJLJ Ø

    ٖؐؓحزָ⡲䧭׃׋UY׾و٦ثٍٝزך؟٦غ٦ח鷏׷ Ø ٖؐؓحزָ荈⹛涸ח鵤ꆃ欽،سٖأ׾و٦ثٍٝزך ؟٦غ٦ח鷏׷