-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbtw.html
More file actions
23 lines (21 loc) · 743 Bytes
/
btw.html
File metadata and controls
23 lines (21 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BTC Transaction with Xverse</title>
</head>
<body>
<h1>Send Bitcoin with Xverse</h1>
<button id="sendBTC">Send BTC</button>
<script>
document.getElementById('sendBTC').addEventListener('click', function() {
// Replace with actual BTC address and amount
const btcAddress = 'bc1qa2wd9fgz57y54tv4w9yfhspq4e64w9uy25a79l';
const amount = '0.00001'; // BTC amount
const xverseUrl = `xverse://send?address=${btcAddress}&amount=${amount}`;
window.location.href = xverseUrl;
});
</script>
</body>
</html>