PatrickAlphaC / hardhat-smartcontract-lottery-fcc

MIT License
118 stars 182 forks source link

added a protocol profit feature #91

Closed ddmilado closed 2 years ago

ddmilado commented 2 years ago

Created a profit feature. The Smart Contract sends 96% of the total winning to the Raffle winner address and sends the remaining 4% as "Profit" to a designated protocol address.

ddmilado commented 2 years ago

Exactly, it's just the option. I did use it on a mainnet project tho.

PatrickAlphaC commented 2 years ago

Cool idea! To keep this repo similar to the video though, we are going to close it. Thanks!

ddmilado commented 2 years ago

Makes sense 😀