@vantezzen/pow
Version:
A simple challenge-response proof-of-work implementation for web apps
46 lines (40 loc) • 955 B
HTML
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@vantezzen/proof-of-work demo</title>
<style>
body,
html {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
font-family: sans-serif;
}
pre {
display: block;
padding: 1rem;
background: #eee;
border-radius: 0.5rem;
margin: 1rem;
white-space: pre-wrap;
word-wrap: break-word;
}
h1 {
margin: 0;
padding: 1rem;
background: #eee;
border-bottom: 1px solid #ddd;
}
</style>
<script type="module" crossorigin src="/dist/assets/index-ad2e651a.js"></script>
</head>
<body>
<div id="app">
<h1>@vantezzen/proof-of-work demo</h1>
<pre id="out">Loading library...</pre>
</div>
</body>
</html>