/ZillaPot

Primary LanguageJavaScriptMIT LicenseMIT

Contributors Forks Stargazers Issues MIT License


Logo

ZillaPot

First sunk cost game on the Zilliqa chain
Built for the ZILHIVE challenge in the GR14 hackathon
Try it out »
Watch the demo »

Table of Contents
  1. About The Project
  2. Getting Started
  3. Creators
  4. License
  5. Acknowledgments

About The Project

ZillaPot is a crypto game with gambling aspects built for the Zilliqa chain. The concept revolves around pots. The idea is a user creates a pot which starts a clock, when this clock expires the last person to deposit gets the whole pot. The catch is that there is a minimum deposit amount which increases each deposit aswell as the remaining time increases per deposit.

Project goals

  • Provide a fun dapp for Zilliqa users to interact with the community and have fun.
  • Increase Zilliqa's network engagment and trading volume.
  • Draw in more ZillaPot and Zilliqa user by prompting to share to web 2.0 social platforms.

Features

  • Ability to view, create, claim and deposit to pots.
  • Share your winning moments on web 2.0 social platforms such as Twitter, Facebook, Reddit and more.
  • Login with ZilPay.
  • Carefully crafted and gorgeous design which is filled to the brim with many small details to enhance the user experience.
  • Profile page to view your stats
  • Pots page to view all pots

Pages

Landing page

A gorgeous landing page welcomes the user to ZillaPot. From here the user can log in with their ZilPay account and by scrolling down get a quick understanding of the app. landing-screen

Pots screen

The pot screen is the main page of ZillaPot. Here a user can view all the pots created on ZillaPot with powerful sorting tools. The user can view pots by categories such as:

  • All pots
  • Active pots
  • Expired pots
  • Joined pots
  • Won pots
  • Lost pots

And sort them by:

  • Total pot value
  • Buy-in amount
  • Time left
  • Contributions

Clicking on a pot will open the pot buy page. pots-screen

Pot buy-in page

Here the user can view information such as deposit history on all pots (active and expired) aswell as deposit and claim ZIL. There is also an info menu which shows detailed pot details. potBuy-screen

Pot creation page

In the pot creation page the user can create a new pot by specifing the parameters. The parameters are as follows:

  • Pot starting amount in ZIL
  • Minimum deposit increase in %
  • Pot time in blocks
  • Pot time increase in blocks

Additionally there is a help menu which explains each parameter in great detail. potCreate-screen

Help/About page

The help/about page contains information about the dapp and it's creation aswell as some more help cards to guide the user if he is stuck.

help-screen

Profile page

In the profile page the user can view their stats such as how many pots they have joined, won and lost. Additionally the user can choose to log out of the dapp.

profile-screen

(back to top)

Built With

(back to top)

Getting Started

Demo

You can try out ZillaPot without installing it locally here. Simply log in with ZilPay and have fun!

Prerequisites

Make sure you have the latest node and npm version.

Installation

  1. Clone the repo
    git clone https://github.com/markosneiders/ZillaPot.git
  2. Install NPM packages
    npm install
  3. Start the project
    npm start

(back to top)

Creators

ZillaPot was made with love by @zappingmadnnes and @markosneiders <3

  • @zappingmadnnes created the gorgeous front-end
  • @markosneiders created the Scilla smart contract which drives the dapp

We learned so many new things and concepts while creating ZillaPot and would like to thank ZILHIVE for the challenge!

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Acknowledgments

(back to top)