-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
111 lines (111 loc) · 4.82 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
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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Instant SPV</title>
<link rel="stylesheet" href="css/ispv.css" />
</head>
<body>
<div id="container">
<header>
<h1>Instant SPV<span class="ver">ver -.-.- ***</span></h1>
<p>this is insight-dependent SPV...?<em><b>USE AT YOUR OWN RISK!!</b></em> <a id="insight_url" href="#">Insight</a></p>
</header>
<div id="content">
<div class="crow">
<span>insight API</span>
<input type="text" id="insight_api_url" value="" />
</div>
<div class="crow">
<span>address</span>
<input type="text" id="xpc_addr" value="" />
</div>
<div class="crow u-mode u-mode-justifier">
<span>supp. address</span>
<input type="text" id="xpc_addr_supp" value="" />
</div>
<div class="crow">
<span>mode</span>
<input type="radio" name="mode" value="simple" id="mode_simple" checked="checked" />
<label for="mode_simple">Simple</label>
<input type="radio" name="mode" value="splitter" id="mode_splitter" />
<label for="mode_splitter">Splitter</label>
<input type="radio" name="mode" value="justifier" id="mode_justifier" />
<label for="mode_justifier">Justifier</label>
</div>
<button type="button" id="btn_utxo" class="cbtn">
<span>Get UTXO</span>
</button>
<textarea id="result"></textarea>
<div class="crow">
<span>priv key WIF</span>
<input type="password" id="dummy" class="dummy" value="" />
<input type="password" id="dummy2" class="dummy" value="" />
<input type="password" id="xpc_priv" value="" />
</div>
<div class="crow u-mode u-mode-justifier">
<span>supp. priv key WIF</span>
<input type="password" id="dummy3" class="dummy" value="" />
<input type="password" id="dummy4" class="dummy" value="" />
<input type="password" id="xpc_priv_sup" value="" />
</div>
<div class="cbtns">
<button type="button" id="btn_impkey" class="cbtn warn">
<span>Import Key</span>
</button>
<button type="button" id="btn_loadkey" class="cbtn">
<span>Load Key</span>
</button>
<button type="button" id="btn_dumpkey" class="cbtn warn">
<span>Dump Key</span>
</button>
</div>
<div class="cbtns">
<button type="button" id="btn_delkey" class="cbtn">
<span>Discard Key</span>
</button>
<button type="button" id="btn_savekey" class="cbtn">
<span>Save Key</span>
</button>
<button type="button" id="btn_genkey" class="cbtn">
<span>Generate Key</span>
</button>
</div>
<div class="crow u-mode u-mode-simple u-mode-splitter">
<span>input UTXO(index or JSON)</span>
<input type="text" id="xpc_utxo" value="" />
</div>
<div class="crow u-mode u-mode-simple u-mode-splitter">
<span>send to</span>
<input type="text" id="xpc_to" value="" />
</div>
<div class="crow">
<span id="xpc_amount_title">amount(XPC)</span>
<input type="text" id="xpc_amount" value="" />
<input type="checkbox" id="xpc_infee" class="u-mode u-mode-simple" />
<label for="xpc_infee" class="u-mode u-mode-simple nogrow">include fee</label>
</div>
<div class="crow u-mode u-mode-splitter">
<span>count</span>
<input type="text" id="xpc_count" value="1" />
</div>
<div class="crow">
<span>extra data(optional)</span>
<input type="text" id="extra_data" value="" />
</div>
<button type="button" id="btn_sendtx" class="cbtn">
<span>Send XPC!</span>
</button>
</div>
<!-- libs -->
<script src="./js/jquery-1.12.4.min.js"></script>
<script src="./js/xpchain-bundled.js"></script>
<script src="./js/aes.js"></script>
<script src="./js/pbkdf2.js"></script>
<!-- apps - configure first! -->
<script src="./js/config.js"></script>
<script src="./js/ispv.js"></script>
</div>
</body>
</html>