Skip to content

Lucky Stark is an on-chain lottery platform using Pragma's VRF oracle for true randomness. Users can join or create lotteries and enjoy 1-on-1 bets powered by Pragma's Optimistic Oracle for secure and transparent outcomes.

Notifications You must be signed in to change notification settings

armaanansari121/lucky-stark

Repository files navigation

Lucky Stark

Lucky Stark is an innovative on-chain lottery platform that ensures fairness and transparency by leveraging Pragma's VRF (Verifiable Random Function) oracle for true randomness. Users can create or participate in a variety of lotteries, fostering a dynamic and engaging ecosystem.

Additionally, we are working on introducing 1-on-1 betting between users, built on top of Pragma's Optimistic Oracle. This feature guarantees secure, decentralized, and trustless interactions for competitive betting.

Repository Link

Lucky Stark Smart Contracts -- Visit this to learn how the contracts work.

Key Features

  • True Randomness: Powered by Pragma's VRF oracle, ensuring fairness in all lotteries.
  • Create & Join Lotteries: Users can easily create custom lotteries or join existing ones.
  • 1-on-1 Betting (Future): Secure and transparent user-versus-user bets enabled by Pragma's Optimistic Oracle.
  • Decentralized & Trustless: Built entirely on-chain to ensure transparency and security.

Lucky Stark aims to redefine how lotteries and peer-to-peer betting work in the decentralized space, ensuring fairness and trust at every step.

For Developers

Prerequisites

Make sure you have the following installed:

  • Node.js (v14 or higher)
  • npm (Node Package Manager)

Installation

  1. Clone the repository
git clone https://github.com/armaanansari121/lucky-stark.git
cd lucky-stark
  1. Install the dependencies
pnpm i
  1. Configure the Environment Variables
PINATA_API_KEY=         # Your Pinata API key
PINATA_SECRET_API_KEY=  # Your Pinata Secret API key
  1. Start the development server
pnpm i

The application should now be running on http://localhost:3000 (or your configured port).

About

Lucky Stark is an on-chain lottery platform using Pragma's VRF oracle for true randomness. Users can join or create lotteries and enjoy 1-on-1 bets powered by Pragma's Optimistic Oracle for secure and transparent outcomes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages