REQUEST: Create wallets to fund Ideas/Improvements.
TOGM opened this issue · 2 comments
Hey there, been watching your repo, great job by the way. I was curious if there was a way to fund a wallet for bounties.
For example to create bounty,
!createbounty <TotalAmount> <Request> <Description>
Bot Response:
"<Username> created a bounty for <Description> for <TotalAmount> ITNS"
Then, people would donate to the wallet by using:
!donate <Request> <Amount>
Bot Response:
"<Username> donated <Amount> ITNS for <Description>. You can contribute to the cause by using !donate <Request> amount"
To show bounties:
!showbounty ALL
to show all
and:
!showbounty <request>
to see a specific bounty
Part of the wallet creation would have to be creating a viewkey/ allowing the users to see how much is funded.
Yeah and I think you can implement that using the code from Lottery.cpp/h which makes a custom wallet called lottery which that class manages.
This line opens/creates the lottery wallet
https://github.com/Brandantl/IntenseCoin-TipBot/blob/develop/src/Lottery.cpp#L25a
The codes a bit messy at the moment because a lot of features were added which wasn't actually part of the original design. Hopefully I'll clean that up soon.
Implemented into develop.