[broken] jr: add spend feature

It does not work right now, and the blocker right now is that the public node
has debug endpoints turned off. No idea if it would work if said endpoints were
turned on.
This commit is contained in:
2024-03-20 02:41:34 -06:00
parent 2ed9a60216
commit 422fccfa88
2 changed files with 242 additions and 17 deletions
+24
View File
@@ -141,6 +141,30 @@
</div>
<!-- spend -->
<div class="psection">
<table >
<tr>
<td><img src="../art/keypair.svg" style="width: 32px; height: 32px;"></td>
<td style="justify-content: center; font-size: 28px; text-align: center; font-weight: bold">
SEND SOMEONE MONEY
</td>
</tr>
</table>
<form id="spend-params">
<label for="spend-recipient">Recipient Address:</label>
<input id="spend-recipient"></input>
<br>
<label for="spend-amount">Amount (gattos):</label>
<input id="spend-amount"></input>
<br>
<button type="button" id="spend-btn">Send</button>
</form>
<p id='spend-result'></p>
</div>
<pre id="scratch"></pre>