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
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.
To get a local copy up and running follow these simple example steps.
This is an example of how to list things you need to use the software and how to install them.
- npm or yarn
-
Clone the repo
git clone https://github.com/mme022/raffle-hh-sol.git
-
Install NPM packages
npm install
or
yarn install
-
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.
This projects usage is the learning of the things to consider when developing and deploying a smart contract with solidity on the Ethereum Blockchain.
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!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Manuel Meinert - @mme022 - meinert@protonmail.com
Project Link: https://github.com/mme022/raffle-hh-sol