cryptosu-hackathon / protocol

0 stars 0 forks source link

Overview

The purpose of this project is to show the outline of a system to integrate an open-source game to the blockchain. We've worked on the application used by the gamer and the smart contracs.

The purpose of this system is to bootstrap a play-to-earn economy on the game Osu! Players are rewarded with cryptocurrencies & NFTs for submitting their plays to a server that will act as an oracle (anti-cheat. Should the oracle deem the play legit, they will mint NFTs for this user to claim or aidrop some of the game currency.

We believe the outlines of this project can be reused on existing games with a lot of user-generated content, in order to align incentives of contributors and players alike.

Design

Sans-titre-2021-09-22-1246 [Uploading Sans-titre-2021-09-22-0913 (1).excalidraw…](Excalidraw file for the above diagram)

Additional repos

First time project setup

Restore the project dependency

npm install

Run local hardhat node

npx hardhat node

This will spin up the local node and list 20 local wallet address with their private key, all preloaded with 1000 ETH

Contract Deployment,