GithubHelp home page GithubHelp logo

toby3582 / advanced-solidity-lottery-application Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ashisherc/advanced-solidity-lottery-application

0.0 0.0 0.0 1.63 MB

This is an advanced lottery example smart contract on solidity Ethereum. It has CRUD examples required to create an application on solidity Ethereum.

Home Page: https://ashisherc.com/advanced-solidity-lottery-application/

JavaScript 50.02% HTML 1.26% Vue 40.31% Solidity 8.41%

advanced-solidity-lottery-application's Introduction

This is an old project, the solidity code might still be relevant today, but the frontend might not work.

Advanced Lottery Solidity Smart Contract

This is an advanced lottery smart contract explaining some of the very useful CRUD operations required to create an application using solidity on Ethereum.

Features

  1. Dashboard with the list of public lotteries created by community
  2. Lottery management dashboard
  3. Create any number of lotteries by anyone
  4. Lotteries can only be activated by the creator of the lottery
  5. Lottery can be deleted by the creator of the lottery
  6. Anyone can participate into lottery by spending eth limit set by the creator
  7. Maximum entries is also set by the creator of the lottery
  8. List of participants in the lottery is displayed in the lottery management dashboard
  9. Winner is chosen by random inside the contract, triggered by lottery creator.
  10. Total ether collected is paid to the winner automatically upon winner selection.

How to use

Clone the repo

$ git clone [email protected]:ashisherc/advanced-solidity-lottery-application.git

Refer README inside ethereum and vuejs-frontend folder to run the application.

You can use Ganache GUI as private testnet for the purpose and connect Metamask to Ganache.

advanced-solidity-lottery-application's People

Contributors

ashisherc avatar dependabot[bot] 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.