-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
67 lines (60 loc) · 2.99 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#{set 'moreStyles'}
#{stylesheet 'index.css' /}
#{/set}
#{extends 'main.html' /}
#{set title:'Bitcoin Hot Potato' /}
#{script 'index.js' /}
<h1>Who is the last sucker?</h1>
<img src="@{'/public/images/hot_potato.png'}"/>
<p>Bitcoin Potato is an <a href="https://github.com/ripper234/Bitcoin-Potato">open source</a> fun social experiment. The
objective: not be the last one stuck with the hot potato. The game is played using <a href="http://bitcoin.org/">Bitcoin</a>.
</p>
<p>To play, all you need to do is pay the current fee (or more). Then, if and when the next person joins the game, he
has to pay
at least 20% more than what you paid. You, being the previous <em>Potato Holder</em>, immediately get his full fund
(minus a
%1 fee). See the <a href="@{faq()}">FAQ</a>.
</p>
<div id='pay'>
<button id='to-play'>Click here to Play!</button>
<div id='play-instructions' class="hidden">
#{if testnet}
<span class='warning'>
(The site is not yet functional, do not send any Bitcoins!)
*{(The site is currently in alpha testing, use a testnet address!)}*
</span>
#{/if}
<ol>
<li>Give us a return address (this is where we will pay you back):
<form id="return-address-form" action='@{Application.getPaymentAddress}' method='post'>
<input name="returnAddress" id="returnAddress">
<input type='submit' value="Submit">
<img src="@{'/public/images/loading.gif'}" class="loading hidden">
<img src="@{'/public/images/completed.png'}" class="hidden completed">
</form>
</li>
<li>Send a payment of at least ${latestTx.nextMinimalAmount} to this address: <span id='payToPlayAddress'
class="address"> (Please follow step 1) </span>
</li>
<li>When we have at least 2 confirmations (average: 20 minutes), we'll accept the payment,
we will send 99% of your payment to the previous player (#{address latestTx.payoutAddress /}), and
put you
at the front of the line.
</li>
<li>You wait for the next player to come and pay up, and then you get at least 20% return on your
investment.
</li>
</ol>
</div>
</div>
<br/><br/><br/>
<p>If you liked this project, check out <a href="http://bitcoinpie.com/">Bitcoin Pie</a>.</p>
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ripper234"></script>
<!-- AddThis Button END -->