0xmme / raffle-hh-sol

This is a hardhat project for a raffle / lottery on solidity for the ethereum blockchain.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Hardhat Solidity raffle / lottery project

This is a raffle / lottery project made with Hardhat and Solidity, consisting of the contracts, deployments and tests.
Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact

About The Project

This is a project for a raffle / lottery on solidity for the ethereum blockchain. I made it with Hardhat and therefore this project consists of the contracts, the deployment scripts and the mocha/chai tests. So far I made some unit tests and a staging test with Typescript. A deployed sample of the contract can be found on Rinkeby: 0xbAEd8d15fC5c831966d94A111e736980E13Eb1de Maybe when Chainlink VRF and Keepers support Goerli I will make a test with this contract there.

(back to top)

Built With

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • npm or yarn

Installation

  1. Clone the repo

    git clone https://github.com/mme022/raffle-hh-sol.git
  2. Install NPM packages

    npm install

    or

    yarn install
  3. Create and fill out your own dotenv file

The .env should at least contain all parameters called in hardhat.config.ts, a example file (.env.example) is included in the repo.

(back to top)

Usage

This projects usage is the learning of the things to consider when developing and deploying a smart contract with solidity on the Ethereum Blockchain.

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

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

(back to top)

Contact

Manuel Meinert - @mme022 - meinert@protonmail.com

Project Link: https://github.com/mme022/raffle-hh-sol

(back to top)

(back to top)

About

This is a hardhat project for a raffle / lottery on solidity for the ethereum blockchain.

License:MIT License


Languages

Language:TypeScript 91.4%Language:Solidity 7.6%Language:JavaScript 0.7%Language:Shell 0.3%