-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtransaction_toolsv0.4.0.html
89 lines (87 loc) · 4.39 KB
/
transaction_toolsv0.4.0.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Stellar transaction tool </title>
<meta charset="UTF-8" />
<script src="http://sacarlson.github.io/js/aes.js" integrity="sha384-YkYpnhy3j3+zc3fQvzlbh4WGwDgt+06gsGsaApwM1O3IKIsKJk61C0Lr6YvbovUV" crossorigin="anonymous"></script>
<script src="https://sacarlson.github.io/js/sdk_v0.4.0/stellar-sdk.js" integrity="sha384-8HfaUw3Tp9Yffe8HXGyq3+zjOXh/ufqiIicw1slKeBr9DW+ML/oGkNNCcD1Lqs/e" crossorigin="anonymous"></script>
<script src="js/transaction_toolsv0.4.0.js"></script>
</head>
<body>
<h3>Stellar expermental transaction tool </h3><br />
also refresh bal:<input id="change_network" type="button" value="change_network" />
<select name="network" id="network" value='testnet_default'>
<option>testnet_default</option>
<option>live_default</option>
<option>testnet</option>
<option>live</option>
<option>mss_server_live</option>
<option>mss_server_testnet</option>
</select>
<input id="current_mode" value="current_mode?" /><br />
MSS-server socket Status: <span id="status"></span><br />
Horizon/mss_server URL: <input id="url" size="30" />
port: <input id="port" size="6" /> secure
<select name="secure" id="secure" value='true'>
<option>true</option>
<option>false</option>
</select><br />
<input id="open" type="button" value="Connect" />
<input id="close" type="button" value="Disconnect" /><br />
<input id="save" type="button" value="save_seed" />
<input id="restore" type="button" value="restore_seed" />
<input id="delete_key" type="button" value="delete_seed_key" />
<input id="list_seed_keys" type="button" value="list_seed_keys" />
<input id="swap_seed_dest" type="button" value="swap_seed_dest" /><br />
seed nick name or public ID:<input id="seed_nick" size="60" value = "seed1" /><br />
encrypt/decrypt seed pass phrase:<input id="pass_phrase" size="60" /><br />
seed:<input id="seed" size="60" />
<input id="decrypt_seed" type="button" value="decrypt_seed" />
<input id="encrypt_seed" type="button" value="encrypt_seed" /><br />
account:<input id="account" size="60" />
<br />
account native balance: <input id="balance" size="40" /><br />
Asset type <input id="asset_type" size="5" /> balance: <input id="CHP_balance" size="40" /><br />
_______________________________________________________<br />
Add Trust Lines: <br />
<input id="add_trustline" type="button" value="add_trustline" />
asset type:<input id="tasset" size="12" value = "CHP" />
trust issuer: <input id="tissuer" size="61" value = "" /><br />
______________________________________________________<br />
Change Inflation Dest: <br />
Inflation Destination: <input id="inflation_dest" size="61" value = "GBAD6S2LUEOVK33HNX7NZ7J3B4VOUQXDYOGYV6NNWEYQAPLWAR2KYRUB" />
<input id="set_inflation_dest" type="button" value="set_inflation_dest" /><br />
______________________________________________________<br />
Tx Transaction: <br />
<input id="sign_tx" type="button" value="sign_tx" />
<input id="email_tx" type="button" value="email_tx" />
<input id="send_tx" type="button" value="submit_tx" />
tx envelope base64 :<input id="envelope_b64" size="130" value = "" /><br />
______________________________________________________<br />
Send Transaction Info: <br />
<input id="gen_random_dest" type="button" value="gen_random_dest" />
<input id="send_payment" type="button" value="send_payment" />
<input id="merge_accounts" type="button" value="merge_accounts" />
<input id="email_funds" type="button" value="email_funds" />
to: <input id="email_address" type="text" size="25" value="[email protected]" />
<br />
memo: <input id="memo" size="25" />
<select name="memo_mode" id="memo_mode" value='auto'>
<option>auto</option>
<option>memo.id</option>
<option>memo.text</option>
</select><br />
asset type:<input id="asset" size="13" value = "native" /><br />
issuer address:<input id="issuer" size="60" value = "" /><br />
amount to send:<input id="amount" size="10" /><br />
destination seed:<input id="dest_seed" size="60" /><br />
destination account:<input id="destination" size="60" />
<input id="fed_lookup" type="button" value="fed_lookup" /><br />
destination native balance: <input id="dest_balance" size="40" /><br />
destination asset balance: <input id="dest_CHP_balance" size="40" /><br />
_______________________________________________________________<br />
<div style="width:800px;height:300px;line-height:3em;overflow:scroll;padding:10px;">
<span id="message"></span>
</div>
</body>
</html>