forked from UintFoundation/erc20-airdrop-dapp
-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
81 lines (78 loc) · 4.05 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 name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="./styles/bootstrap.min.css">
<link rel="stylesheet" href="./styles/app.css">
<title>Airdrop ERC-20 tokens on Polygon</title>
</head>
<body>
<div class="container p-5">
<h1 class="text-center mb-5">Polygon ERC-20 Airdropper</h1>
<div class="row mb-5">
<code class="col-lg-12">
<p class="text-dark">Your wallet: <b id="user-wallet"></b></p>
<p class="text-dark">
- Designed for the Polygon (MATIC) network for people to easily and cheaply group multiple transactions of any ERC-20 token<br>
- Only charge is the Polygon network gas fees which are very low<br>
- Uses an <a href="https://polygonscan.com/address/0x0450ac02a9f0593aa84f4760256db868e8d7b7a7" target="_blank">open source smart contract</a> deployed on Polygon<br>
- Max recommended addresses per tx is 300<br>
- Separate the items with a comma, as in the example<br>
- Length of receivers and amounts should be equal, or you can put one number to send the same amount to every address
</p>
</code>
</div>
<form onsubmit="App.startAirdrop(); return false" class="row mb-5">
<div class="col-sm-6">
<div class="form-group">
<label class="h3" for="receivers">Token smart contract address</label>
<input class="form-control" id="token-address" value="0x64bc251b0eb9200948c9155573cd459c5e17c6a4" required/>
</div>
</div>
<div class="col-sm-6"></div>
<div class="col-sm-6">
<div class="form-group">
<label class="h3" for="receivers">Receivers</label><small>[Separate by comma(,)]</small>
<textarea class="form-control" rows="10" id="receivers" placeholder="ex: 0x8573f2f5a3bd960eee3d998473e50c75cdbe6828, 0x6941627cba3518385e75de75d25a189185672bfe, 0x184ee74e8cba1f3ab761afa99e74b20407255c64, 0x7ac337cd5ef210cf9e308dfe9be1a8b5d13da9c3" required></textarea>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label class="h3" for="amounts">Amounts</label><small>[Separate by comma(,), or only 1 number for all]</small>
<textarea class="form-control" rows="10" id="amounts" placeholder="ex: 12, 54544, 54, 987" required></textarea>
</div>
</div>
<div class="col-sm-12">
<button id="submit" type="submit" class="btn btn-primary btn-block btn-lg">Submit</button>
</div>
</form>
<div class="row mb-5">
<div class="col-sm-12">
<p class="h1 text-center mb-5">Transactions</h1>
</div>
<div class="col-sm-12">
<table id="txTable" class="table table-striped">
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">TxHash</th>
<th scope="col">Status</th>
<th scope="col">Receivers</th>
<th scope="col">Tokens Amount</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
Open source smart contract address: <a href="https://polygonscan.com/address/0x0450ac02a9f0593aa84f4760256db868e8d7b7a7" target="_blank">0x0450ac02a9f0593aa84f4760256db868e8d7b7a7</a>
</div>
</div>
</div>
<script src="./script/web3.min.js"></script>
<script src="./script/jquery-3.3.1.min.js"></script>
<script src="./script/bigNumber.js"></script>
<script src="./script/app.js"></script>
</body>
</html>