Skip to content

The users can enter in the lottery with ETH based on a USD fee (using chainlink data feed),then,the admin will choose the lottery is over. Finally, the lottery will select a random winner (chainlink oracle random number)

Notifications You must be signed in to change notification settings

pinalikefruit/Lottery

Repository files navigation

MIT License LinkedIn


Lottery

Here you can learn how you can interactive with Chainlink protocol.

About the project

The users can enter in the lottery with ETH based on a USD fee (using chainlink data feed),then,the admin will choose the lottery is over. Finally, the lottery will select a random winner (chainlink oracle random number)

Built With

Solidity Typescript Ethers.js Hardhat Mocha Chai Chainlink

Installation

  1. Clone the repo

    git clone https://github.com/pinalikefruit/Lottery
    cd Lottery
  2. Install all packages

    yarn
  3. Edit .env.example for .env and enter your API keys

  4. Open a terminal and run this command and remember replace your API_KEY

    yarn test || yarn test

License

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

Contact

Piña - @pinalikefruit - josepina@pinalikefruit.com

Project Link: https://github.com/pinalikefruit

About

The users can enter in the lottery with ETH based on a USD fee (using chainlink data feed),then,the admin will choose the lottery is over. Finally, the lottery will select a random winner (chainlink oracle random number)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages