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

Bitcoin Scriptを用いたクイズキャンペーン

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →
Shu Kobuchi PRO
September 23, 2018

Bitcoin Scriptを用いたクイズキャンペーン

第2回 Tokyo Bitcoin HackathonでBitcoin CashのJSライブラリBITBOXを使い、Bitcoin Scriptを組み込んだクイズキャンペーンのアプリを開発しました。そのプレゼン資料です。

Shu Kobuchi PRO

September 23, 2018

Transcript

15 slides
  1. P2SH UTXOを複数用意 管理者がセットしたUTXOはTXIDは全部同じ、VOUTが0からN-1まで 賞金をあげる人 (管理者) 賞金をもらう人(ユーザ) 各自の端末からではなく、 キャンペーンWebサイトから 回答 Webサイトは、VOUTの大き

    いものから使っていき、 utxoinfo.txtの「VOUTの MAX」を-1 1000 BCH 1000 BCH 1000 BCH 1000 BCH ・ ・ ・ P2SH UTXO セット VOUT 0 VOUT 1 VOUT 2 VOUT N-1 utxoinfo.txt ・TXID ・設定賞金額 ・VOUTのMAX

More Decks by Shu Kobuchi

Other Decks in Programming