crazyrabbitLTC / rounds-old

An elimination type of contest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rounds

Description

RoundsBase is a smart contract developed for the Ethereum blockchain. It enables a unique voting mechanism where users can participate in multiple rounds of voting. The contract includes features such as user registration, vote casting, round management, and an elimination logic based on voting outcomes.

Features

  • User registration for participating in voting rounds.
  • Voting mechanism with support for multiple rounds.
  • Dynamic round management with start and end functionalities.
  • Elimination logic to filter candidates based on vote counts.
  • Configurable settings for round duration, vote limits, and more.

Installation

This project requires Node.js and npm (Node Package Manager). Ensure you have them installed on your machine.

  1. Clone the repository:

    git clone https://github.com/crazyrabbitLTC/rounds
    
  2. Navigate to the project directory:

    cd roundsbase-contract
    
  3. Install dependencies:

    npm install
    

Running Tests

To run the test suite:

  1. Compile the smart contracts:

    npx hardhat compile
    
  2. Run the test suite:

    npx hardhat test
    

Contributing

Contributions are welcome! Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/your-feature-name.
  3. Make your changes and commit them: git commit -m 'Add some feature'.
  4. Push to the original branch: git push origin feature/your-feature-name.
  5. Create the pull request.

Alternatively, see the GitHub documentation on creating a pull request.

License

This project is licensed under the MIT License.

Made with ❤️ by Dennison Bertram (and ChatGPT)

About

An elimination type of contest


Languages

Language:TypeScript 73.5%Language:Solidity 26.5%