NightMarket
夜市
This is Nightmarket. Where DarkForest pirates meet. Where planets are sold and fortunes made.

Demo

Installation

In your active game, create a new plugin and paste in the following code:

export { default } from "https://nightmart.xyz/nightMarket.js"

Features

1. Sell planet locations with a zero knowledge proof.

2. Make purchase orders on planet locations.

3. Close sales with a ECDH key exchange and a zero knowledge proof.

Warning

The circuits and smart contracts written for this marketplace has not been audited, use at your own risk.

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.

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.

Resources