Skip to content

merndev1101/solidity-lottery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

solidityLottery

this contract is written by me . In this contract only user can generate random number and find winner in this smart contract , we build some extra features :-

  1. this contract is reuseable due to removeAllUser() function . Due to this function , after find winner you can restart the contract with zero users
  2. owner have facility to give their ownership to other persons
  3. you can use totalBalance() function to find total ether (anybody can run this and see the amount)
  4. anybody can see the owner address using deployerAddress() function (anybody can see)
  5. you can use totalUser() function to find , how many person participate in lottery
  6. winner can only find by owner , using random number generated by code

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published