Skip to content

A lottery smart contract in which participants do not loose their Funds

Notifications You must be signed in to change notification settings

IMEF-FEMI/no-loss-lottery-solana

Repository files navigation

No loss Lottery program on solana

  • No loss lottery — A lottery in which participants do not loose their money. i.e they still get a refund if they don't win the lottery and the winner still gets rewarded

So How does the winner get rewarded if non winners still get a full refund?

All the funds deposited into the lottery vault are invested into a lending pool in order to yield some interest. it is from that interest that the winner gets rewarded and fees are taken (if need be)

Kindly Note

this program has not audited 😀.

feedbacks and criticisms would be greatly appreciated 🥶

Feel free to reach out to me at @femi_0x on Twitter! or simply make a PR 😀 - Thank You!

How to run

Install the necessary dependencies

yarn install

Run the test

anchor test

About

A lottery smart contract in which participants do not loose their Funds

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published