Giter VIP home page Giter VIP logo

pressinggame's Introduction

Pressing Game | OneOf

The Pressing game is a decentralized application in which users compete against one another by pressing buttons that trigger powerful smart contracts. To participate, you will have to put down a small deposit that will be collected to pay the final winner, and each participant will get the chance to press the undisputable "PRESS BUTTON". If you're lucky, there will be no other users pressing the button after you, and you will start counting! If 3 blocks have passed and you are still the last person, that means you have won. You will now see a green button "Claim your treasure" that allows you to claim your prize.

How to Start

1 step - yarn or yarn build | Install dependencies


2 step - yarn deploy:contract | Deploy Contracts and Export Contract Address (VITE_CONTRACT_ADDRESS) to env.file


3 step - yarn test | Test the smart contracts


4 step - yarn start | Start the dev environment with Vite and ReactTS


5 step - yarn block | Generate a new block in Ganache

Simple Fluxogram

[] https://whimsical.com/pressinggame-oneof-DpCdaauWo78XtRceBuYS8w

File Structure

pressinggame's People

Contributors

degueba avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.