-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (80 loc) · 2.09 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>eth-balance-checker gui</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<main>
<form id="form">
<h1>eth-balance-checker gui</h1>
<label>
JSON-RPC URL
<input
name="rpc"
type="url"
required
value="https://bsc-dataseed1.binance.org/"
placeholder="https://"
/>
</label>
<label>
eth-balance-checker Contract Address
<input
name="contract"
type="text"
minlength="42"
maxlength="42"
pattern="^0x[a-fA-F0-9]{40}$"
title="Ethereum address"
required
value="0x2352c63A83f9Fd126af8676146721Fa00924d7e4"
placeholder="0x"
/>
</label>
<label>
Token Address
<input
name="token"
type="text"
minlength="42"
maxlength="42"
pattern="^0x[a-fA-F0-9]{40}$"
title="Ethereum address"
required
placeholder="0x"
/>
</label>
<label>
Addresses (one per line, 1000 max)
<textarea
name="addresses"
cols="42"
rows="10"
placeholder="0x"
required
></textarea>
</label>
<button id="submit" type="submit">Get balances</button>
</form>
<table>
<thead>
<tr>
<th>Address</th>
<td>Balance</td>
</tr>
</thead>
<tbody id="balances"></tbody>
</table>
<a id="export" download="export.csv" href="data:,">Download CSV</a>
</main>
<script
src="https://cdn.ethers.io/lib/ethers-5.2.umd.min.js"
type="application/javascript"
></script>
<script src="script.js"></script>
</body>
</html>