-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.html
24 lines (24 loc) · 1.7 KB
/
demo.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>LedgerLoops Demo (press F12 to see the console)</title>
<meta charset="utf-8" />
<style>
</style>
</head>
<body>
<h1>LedgerLoops demo</h1>
<p>Act as agent: <input id="sender" type="text" placeholder="Nickname..."/>
<input type="submit" id="pick-sender" value="pick at random"/></p>
<input type="submit" id="switch" value="switch" /></p>
<p>Send an IOU to agent: <input id="receiver" type="text" placeholder="Nickname..."/>
<input type="submit" id="pick-receiver" value="pick at random"/></p>
<p><input type="submit" id="send-1" value="For 1 USD"/> <input type="submit" id="send-5" value="For 5 USD"/></p>
<div id="data">Data...</div>
<p>Try adding for instance transactions Marsellus → Butch and Butch → Vincent.</p>
<p>This page is what I use to test improvements in the LedgerLoops protocol. It is <strong>not</strong> a production-ready implementation
yet. Changes in the early versions of the protocol have left their scars on the code, and the number of TODO's and FIXME's in the code vastly outnumbers the number of tests. Also, the protocol has not yet been through security review and I have not done any simulations yet of how the protocol behaves when you add more than three or four nodes to the network (including malicious and malfunctioning ones), all adding IOUs, finding routes, initiating negotiations, and completing or rejecting them. Please comment in <a href="https://github.com/ledgerloops/ledgerloops">GitHub Issues</a> if you're interested in helping with some of this work!</p>
</body>
<script src="./js/ledgerloops.js"></script>
<script src="./js/demo.js"></script>
</html>