Skip to content

kiran-bhalerao/lottery-sol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Sol Lottery

Lottery program on solana blockchain
Made with Soprox »

How it works

  • Anyone can organize the Lottery program and advertize so people can participate in the Lottery.
  • Lottery organizer gets commission for organizing lottery from the winner's lottery amount.
  • Lottery organizer will decide whats the entry_fees and commission_rate at the time Lottery initialization.
  • After Lottery init participants can participate by providing entry_fees (program will deduce entry fees from participants account).
  • Finally Lottery organizer calls lottery program with pickWinner instruction then the Lottery program will choose one winner from n number of participants and transfer all pooled amount (minus commission) to winner.

About

Lottery program on solana blockchain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published