Files
nightmarket/docs/index.html
2022-07-15 14:45:07 -04:00

77 lines
4.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>Night Market</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<script src='main.js'></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous">
<link rel='stylesheet' type='text/css' media='screen' href='./styles/style.css'>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Wallpoet" rel="stylesheet">
</head>
<body class="bg" style="background-color:#030721;">
<span class="align-middle">
<div class="container mt-4">
<div class="row mt-4">
<div class="col text-center title">
NightMarket
</div>
</div>
<div class="row">
<div class="col text-center subtitle">
夜市
</div>
</div>
</div>
<div class="container mt-4">
<div class="row mt-4">
<div class="col mt-2 text-center subtext">
This is Nightmarket. Where DarkForest pirates meet. Where planets are sold and fortunes made.
</div>
</div>
<div class="row mt-4">
<p class="heading">Demo</p>
<div style="position: relative; padding-bottom: 60.913705583756354%; height: 0;"><iframe src="https://www.loom.com/embed/5faf2fb2b9b744e1a3d1868097e2ba72" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe></div>
</div>
<div class="row mt-4">
<p class="heading">Installation</p>
<p class="p-text">In your active game, create a new plugin and paste in the following code:</p>
<p class="p-text p-code">export { default } from "https://nightmart.xyz/nightMarket.js"</p>
</div>
<div class="row mt-4">
<p class="heading">Features</p>
<p class="p-text">1. Sell planet locations with a zero knowledge proof.</p>
<p class="p-text">2. Make purchase orders on planet locations.</p>
<p class="p-text">3. Close sales with a ECDH key exchange and a zero knowledge proof.</p>
</div>
<div class="row mt-4">
<p class="heading" style="color:yellow;">Warning</p>
<p class="p-text">The circuits and smart contracts written for this marketplace has not been audited, use at your own risk.</p>
<p class="p-text">Plugins are evaluated in the context of your game and can access all of your private information (including private key!). Plugins can dynamically load data, which can be switched out from under you!!! Use these plugins at your own risk.</p>
<p class="p-text">You should not use any plugins that you haven't written yourself or by someone you trust completely. You or someone you trust should control the entire pipeline (such as imported dependencies) and should review plugins before you use them.</p>
</div>
<div class="row mt-4">
<p class="heading">Resources</p>
</div>
<div class="row text-center mt-4">
<div class="col">
<a href="https://github.com/factorgroup/nightmarket"><img class="img-link" src="./imgs/white-github.png"></a>
</div>
<div class="col">
<a href="https://0xparc.org/"><img class="img-link" src="./imgs/0xparc.svg"></a>
</div>
<div class="col">
<a href="https://www.f.actor/"><img class="img-link" src="./imgs/factor.svg"></a>
</div>
</div>
</div>
<footer>
<div class="container mt-4" style="padding-top: 5%;">
</div>
</footer>
</span>
</body>
</html>