Skip to content

Welcome to the Smart Contract Lottery repository built using Hardhat and Chainlink! This repository provides a robust and decentralized lottery system powered by Ethereum smart contracts.

Notifications You must be signed in to change notification settings

sstefdev/smart-lottery

Repository files navigation

🎰 Smart Contract Lottery

Welcome to the Smart Contract Lottery repository! This project implements a decentralized lottery system using Hardhat and Chainlink.

IPFS Host: ipfs://bafybeig3jj5sbasgtoo56l42vv7gjmvdmjqotcdn5ru2izx2fvdcneoney/

Features

✨ Transparent and secure lottery powered by Ethereum smart contracts.

🔒 Provably fair random number generation using Chainlink's decentralized oracle network.

🎟️ User-friendly interface for buying tickets, viewing ongoing and past lotteries, and checking winning numbers.

💰 Automated prize distribution based on predefined rules.

🔧 Development environment integrated with Hardhat for testing and deployment.

📚 Detailed documentation and deployment guide.

Getting Started

  1. Clone the repository.
  2. Install the required dependencies with npm install.
  3. Configure the Hardhat network settings in hardhat.config.ts.
  4. Deploy the smart contracts using npx hardhat run scripts/deploy.ts --network <network-name>.
  5. Run tests with npx hardhat test.
  6. Interact with the lottery through the user-friendly interface.

Contributing

👍 Contributions are welcome! If you'd like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch.
  3. Implement your feature or bug fix.
  4. Write tests and ensure existing tests pass.
  5. Submit a pull request.

License

This project is licensed under the MIT License.

Let's create a fair and exciting lottery experience with blockchain technology! 🚀

About

Welcome to the Smart Contract Lottery repository built using Hardhat and Chainlink! This repository provides a robust and decentralized lottery system powered by Ethereum smart contracts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published