forked from bancorprotocol/vote.liquideos.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·250 lines (220 loc) · 9.01 KB
/
index.html
File metadata and controls
executable file
·250 lines (220 loc) · 9.01 KB
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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<html>
<head>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp"
crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Heebo:500,400,300,700,800|Lato:700,700i,300i,300,900i,900,400i,400|PT+Sans:700,700i,400i,400"
/>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css">
<link rel="stylesheet" href="eos-voting.css">
</head>
<body>
<a href="https://github.com/bancorprotocol/vote.liquideos.com" target="_blank">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png"
alt="Fork me on GitHub">
</a>
<header>
<div class="container text-center p-4">
<a href="https://www.liquideos.com/">
<img src="LiquidEOS 256x256.jpg" width="250px" class="mb-3">
</a>
<h1 class="text-white">EOS Block Producer Voting Tool</h1>
</div>
</header>
<div class="container bg-white">
<div class="row">
<div class="download-panel">
<p class="voting-option">Voting Option 1</p>
<div class="card-body">
<h2>Please download our secured EOS Voting desktop application:</h2>
<a href="https://storage.googleapis.com/liquideos/voting-app/builds/liquideos-vote-macos-1.0.0.zip">
<button class="btn btn-dark btn-lg btn-mac">
<i class="fab fa-apple"></i> Download for Mac</button>
</a>
<a href="https://storage.googleapis.com/liquideos/voting-app/builds/liquideos-vote-windows-1.0.0.zip">
<button class="btn btn-dark btn-lg btn-windows">
<i class="fab fa-windows"></i> Download for Windows</button>
</a>
<a href="https://github.com/bancorprotocol/liquideos-voting-app">
<button class="btn btn-dark btn-lg btn-github">
<i class="fab fa-github"></i> Source & Releases at GitHub</button>
</a>
<h4 class="web-interface-title">Or use the web interface below</h4>
<div class="alert alert-info alert-voting-option">
<h4>
Downloadable EOS Voting Tool</h4>
<p>
We have decided to create a standalone EOS voting application that signs your transactions locally with your private key
and then executes the transaction on the blockchain. The reason for this is multi-fold:
<ul>
<li>The only EOS voting tool that is endorsed is a command line application which is difficult to install and use and will
greatly limit access to voting.</li>
<li>Scatter, the most popular EOS wallet, did not receive an official endorsement from the community as a safe voting tool
and many voters have reported having issues importing their accounts. </li>
<li>The alternative web voting interface below relies on Scatter, and even though your private key never leaves your browser,
we wanted to provide you an
<strong>extra level of security</strong> through an application that runs outside the browser and the potential reach of toolbars,
botnets and other bad actors.</li>
</ul>
</p>
</div>
</div>
</div>
</div>
<div class="row">
<!-- <div class="alert alert-info">
<h4>
Downloadable EOS Voting Tool</h4>
<p>
We have decided to create a standalone EOS voting application that signs your transactions locally with your private key
and then executes the transaction on the blockchain. The reason for this is multi-fold:
<ul>
<li>The only EOS voting tool that is endorsed is a command line application which is difficult to install and use and will
greatly limit access to voting.</li>
<li>Scatter, the most popular EOS wallet, did not receive an official endorsement from the community as a safe voting tool
and many voters have reported having issues importing their accounts. </li>
<li>The alternative web voting interface below relies on Scatter, and even though your private key never leaves your browser,
we wanted to provide you an
<strong>extra level of security</strong> through an application that runs outside the browser and the potential reach of toolbars,
botnets and other bad actors.</li>
</ul>
</p>
</div> -->
</div>
<p class="voting-option">Voting Option 2</p>
<div class="row">
<!-- Boxes de Acoes -->
<div class="col-xs-12 col-sm-6 col-lg-4 pl-4">
<div class="box">
<div class="icon">
<div class="image">
<i class="fa fa-flag"></i>
</div>
<div class="info">
<h3 class="title">Download Scatter</h3>
<p>
Scatter is like MetaMask for the EOS blockchain. It is a browser extension that can sign transactions and run commands on
the blockchain directly from your browser.
</p>
<div class="more">
<a href="https://scatter-eos.com/" title="Download Scatter" target="_blank">
Download
<i class="fa fa-angle-double-right"></i>
</a>
</div>
</div>
</div>
<div class="space"></div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-lg-4 pr-4">
<div class="box">
<div class="icon">
<div class="image">
<i class="fa fa-thumbs-o-up"></i>
</div>
<div class="info">
<h3 class="title">Unlock your Scatter</h3>
<p>
You have to make sure that your scatter browser extension is unlocked.
</p>
<!--<div class="more">
<a href="#" title="Title Link">
Read More <i class="fa fa-angle-double-right"></i>
</a>
</div>-->
</div>
</div>
<div class="space"></div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-lg-4">
<div class="box">
<div class="icon">
<div class="image">
<i class="fa fa-desktop"></i>
</div>
<div class="info">
<h3 class="title">Import Private Key and Account</h3>
<p>
You should have an EOS public and private key from when you registered your tokens. You will need to import these keys into
Scatter so that it can sign transactions on your behalf on the blockchain.
</p>
<p>
Once you have a key and identity configured on scatter:
<br/> click
<a href="#" onclick="initScatterOrVote()">here</a> or the "Init Scatter" to add the network endpoint for the eos blockchain.
</p>
<p>
Then, open scatter and edit your identity, under the account section, select the endpoint for the mainnet chain (starts with
aca3...) and the name of the key you just imported and click import. Then, select the account ending with @active.
click "Use Selected Account" and click save to save the Identity. Now that you are ready to vote, please click
<a href="#" onclick="initScatterOrVote()">here</a> or the "Init Scatter/Vote" button.
</p>
<!--<div class="more">
<a href="#" title="Title Link">
Read More <i class="fa fa-angle-double-right"></i>
</a>
</div>-->
</div>
</div>
<div class="space"></div>
</div>
</div>
</div>
<div class="card mt-3 mb-3">
<div class="card-body">
<h5 class="card-title">Command Line EOS App
<small>This requires the EOS dev environment installed on your local machine.</small>
</h5>
<hr>
<p class="card-text">
<div class="form-group">
<label for="cleos_name">Account Name</label>
<input type="text" id="cleos_name" placeholder="Required">
<small id="emailHelp" class="form-text text-muted">Your EOS Account Name.</small>
</div>
If you have cleos installed, you can copy paste this into your command line.
<div class="code" style="background-color: #222;border: 1px solid #999;display: block;padding: 20px; color:#00dd00">
./cleos.sh system voteproducer prods
<span id="cleos_account2">accountname</span>
<span id="cleos_bps">eosliquideos</span> -p
<span id="cleos_account">accountname</span>
</div>
</p>
</div>
</div>
<div class="mt-2" id="messages">
</div>
<div class="mb-2">
<button id="vote_button" class="btn btn-primary pl-5 pr-5" disabled="disabled">
Please install scatter
</button>
<div class="form-group col-sm-3 float-right pr-0">
<input type="text" id="search" class="form-control" onkeyup="voter.search()" placeholder="Search..." />
</div>
</div>
<table class="table table-striped" id="bps">
<thead>
<tr>
<th scope="col">Select</th>
<th scope="col">Current Rank</th>
<th scope="col">Owner</th>
<th scope="col">Total Votes</th>
<th scope="col">Percentage of Votes</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<footer class="text-center m-5">
<div class="text-white">Brought to you by
<a href="https://liquideos.com">LiquidEOS.com</a>
</div>
</footer>
<script src="eosjs.js"></script>
<script type="text/javascript" src="eos-voting.js"></script>
<script type="text/javascript">
</script>
</body>
</html>