<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>techmedia-think</author_name>
  <author_url>https://blog.hatena.ne.jp/techmedia-think/</author_url>
  <blog_title>Develop with pleasure!</blog_title>
  <blog_url>https://techmedia-think.hatenablog.com/</blog_url>
  <categories>
    <anon>Bitcoin</anon>
    <anon>Segwit</anon>
    <anon>Ruby</anon>
  </categories>
  <description>だいぶ前に書き始めて放置してたのでちゃんと実装してみた。 以前↓のようにwitnessなトランザクションのパース方法について書いたので、 techmedia-think.hatenablog.com 続いてwitnessなトランザクションを作ってみる。 P2WPKHにBitcoinを送付 まず最初にP2WPKH（Pay-to-Witness-Public-Key-Hash）のscriptPubkeyに対してBitcoinの支払いをするトランザクションを作成する。 P2WPKHのscriptPubkeyは以下のフォーマットの22バイトのデータになる。 0 &lt; 20-byte-pubkey-has…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftechmedia-think.hatenablog.com%2Fentry%2F2017%2F02%2F10%2F190648&quot; title=&quot;P2WPKHを使うトランザクションの作成と署名 - Develop with pleasure!&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-02-10 19:06:48</published>
  <title>P2WPKHを使うトランザクションの作成と署名</title>
  <type>rich</type>
  <url>https://techmedia-think.hatenablog.com/entry/2017/02/10/190648</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
