-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (29 loc) · 1.35 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Bitcoin Wallet</title>
<link rel="stylesheet" href="assets/css/main.css" type="text/css">
</head>
<body>
<h1>Simple Bitcoin Wallet</h1>
<button id="generateAddress">Generate New Address</button>
<p><strong>Address:</strong> <span id="address"></span></p>
<h2>Make Transaction</h2>
<form id="sendForm">
<label for="recipientAddress">Recipient Address:</label>
<input type="text" id="recipientAddress" required>
<label for="amount">Amount (in BTC):</label>
<input type="number" id="amount" step="0.00000001" required>
<button type="submit">Send</button>
</form>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="/build_wallet/assets/js/bitcoinjs-lib.js" type="module"></script>
<script src="/build_wallet/assets/js/ecpair.js" type="module"></script>
<script src="/build_wallet/assets/js/secp256k1.js" type="module"></script>
<script src="/build_wallet/assets/js/crypto.js" type="module"></script>
<script src="../build_wallet/assets/js/app.js" type="module"></script>
</body>
</html>