-
Notifications
You must be signed in to change notification settings - Fork 17
/
send.html
200 lines (181 loc) · 11.2 KB
/
send.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<!DOCTYPE HTML>
<!--
Identity by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>You've Got ETH</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><script src="assets/js/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="assets/css/main.css" />
<link rel="stylesheet" href="assets/css/main.print.css" />
<!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
<!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="youvegoteth.github.io" />
<meta name="twitter:title" content="Send Ethereum to anyone with an email address" />
<meta name="twitter:description" content="You've Got ETH is a free tool to send Ethereum to anyone with an email address" />
<meta name="twitter:image" content="https://youvegoteth.github.io/images/app.jpg"/>
<script src="scripts/youvegoteth/index.js"></script>
<script src="scripts/youvegoteth/pre.js"></script>
<script src="scripts/youvegoteth/tokens.js"></script>
<script src="scripts/youvegoteth/send.js"></script>
<script src="scripts/youvegoteth/web3alert.js"></script>
<script src="scripts/lightwallet.min.js"></script>
<script src="scripts/qrcode.min.js"></script>
<link rel="apple-touch-icon" sizes="57x57" href="/images/favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/images/favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/images/favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/images/favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/images/favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/images/favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/images/favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/images/favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/images/favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/images/favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/images/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon/favicon-16x16.png">
<link rel="manifest" href="/images/favicon/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/images/favicon/ms-icon-144x144.png">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
</head>
<body class="is-loading">
<!-- Wrapper -->
<div id="wrapper">
<!-- Main -->
<section id="main">
<header>
<span class="avatar">
<a href='index.html'>
<img src="images/icon.png" alt="" />
</a>
</span>
</header>
<div id="send_eth">
<p style="background-color: red; color:white">
Important - Please do not use this project until we have had a chance to perform a full audit of the functionality. <a href="https://github.com/youvegoteth/youvegoteth.github.io/pull/17">More info here</a>
</p>
<h1>Send Now.</h1>
<div>
<br>
Amount of
<select id="token" style="width:100px; margin-bottom: 10px; display: inline;" >
<option value="0x0">ETH</option>
</select>
<input type="text" placeholder="1.1" id="amount" value="" style="width: 170px; display: inline;">
</div>
<div id="advanced_toggle">
<a href="#" onClick="advancedToggle()" >Advanced >></a>
</div>
<div id='advanced' style="display:none;">
<div>
Email address (optional):
<input type="text" placeholder="[email protected]" id="email" value="" style="width: 350px; margin-left: auto; margin-right: auto;">
</div>
<div>
Fees:
<select id="fees" style="width:350px; margin: 0px auto;" >
<option value="100000">Low (100k wei) / Slow Confirmation</option>
<option value="125000">Medum (125k wei) / Medium Confirmation</option>
<option value="150000">High (150k wei) / Fast Confirmation</option>
<option value="200000">Very High (200k wei) / Faster Confirmation</option>
</select>
</div>
<div>
Expires:
<select id="expires" style="width:350px; margin: 0px auto;" >
<option value="86400">One Day</option>
<option value="604800" selected="selected">One Week</option>
<option value="7257600">One Month</option>
<option value="87091200">One Year</option>
<option value="870912000">Ten Years</option>
<option value="9999999999999">Never</option>
</select>
</div>
</div>
<div>
<br>
<input type="checkbox" id="tos" value="1" >
<label for="tos">I understand I am using alpha software, <br>at my own risk, provided under <a href="https://github.com/youvegoteth/youvegoteth.github.io/blob/master/license.txt">MIT liscense</a>.</label>
<br>
<input type="checkbox" id="tip" value="1" checked="checked">
<label for="tip">I want to support free software. Tip the devs 1%.</label>
</div>
<a href="#" id="send" class="button">Send 🐬</a>
</div>
<div id="send_eth_done" style="display:none;">
<h1>Woo hoo!</h1>
<h2>Your <span id="tokenName">ETH</span> is safe & secure <a id="trans_link" href="" target=new>in the smart contract</a>.</h2>
<hr>
<h1>You can now Send it</h1>
<p>Copy link</p>
<div id="link_container">
<input type="text" name="link" id="link" value="" onClick="this.select();" disabled="disabled" style="text-transform:none !important; margin-top:10px;" />
</div>
<br>
<span id="email_container">
<p>- or - </p>
<a id="continue" class="button" href="#"> Send Email ✉️ </a>
<br>
<br>
</span>
<p>- or - </p>
<p>Copy QR Code</p>
<div style="text-align: center; width=100%;">
<div id="qrcode_container">
</div>
</div>
<br>
<p>- or - </p>
<a id="" class="button" href="/">⬅ Start Over</a>
</div>
</section>
<!-- Footer -->
<footer id="footer">
<ul class="copyright">
<li><a href="/">⬅ Start Over</a></li>
<li><a href="/">© You've Got Eth</a></li>
<li style="border-right: solid 1px rgba(255, 255, 255, 0.5); padding-right: 0.85em;"><a href="about.html">About</a></li>
<li style="border-left: none;">
<select id="network" style="background:transparent" onchange="onNetworkChange();" >
<option value="0">Mainnet</option>
<option value="3">Ropsten</option>
<option value="9">TestRPC</option>
</select>
</li>
<li style="border-left: none;">
<select id="contract" style="background:transparent" onchange="onContractChange();" >
<option value="0">Contract v0.01</option>
<option value="1">Contract v0.1</option>
</select>
</li>
</ul>
</footer>
</div>
<!-- Scripts -->
<!--[if lte IE 8]><script src="assets/js/respond.min.js"></script><![endif]-->
<script>
if ('addEventListener' in window) {
window.addEventListener('load', function() { document.body.className = document.body.className.replace(/\bis-loading\b/, ''); });
document.body.className += (navigator.userAgent.match(/(MSIE|rv:11\.0)/) ? ' is-ie' : '');
}
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-105392375-1', 'auto');
ga('send', 'pageview');
</script>
<script src="assets/js/particle.js"></script>
<script src="assets/js/app.js"></script>
</body>
</html>