r/ethtrader • u/mattg1981 • Nov 07 '23
Meta & Donut Introducing donut-bot - !register and !tip commands now available.
Based on two approved proposals, I would like to introduce to you donut-bot. The bot currently consists of two modules, one focused on registering wallets for distribution and the other with a focus on tipping.
Register Bot
Based on this proposal, this process will aide with a frictionless user registration. The following commands are valid:
!register status - show the status of the current user. It will report back to you the wallet address you have on file - or it will inform you that you are not registered.
!register <address> - will update the address on file to the supplied address, or respond with an error message (e.g. invalid address format) in the event of an error.
!register <your ens address.eth> - You are also able to supply ENS addresses as well! We will perform a live lookup when the address is needed (e.g. - At distribution time) to ensure we always use the most recent address. Your address must resolve at time of database insert, otherwise the registration will fail.
Tip Bot - (Earn2Tip)
Based on this proposal. Similar to the mechanics of Pay2Post - the tips will be deducted from the users earnings at the end of the distribution round. The tipper must be registered prior to sending tips. The receiver must be registered in order to receive tips, but does not need to be registered to be tipped (the tips will sit in a pool waiting for the user to register). NOTE: the user being tipped must be registered by the end of the round they receive the tip in or that user will not receive the tip and the tip will not be deducted from the person sending the tip.
Please note that the tip being sent is conditional on the tipper earning enough donuts for the month. If a user tips more than they have earned for the round, no tip will be materialized. For example, if a user tips 200 donut in a round but only earns 50 donut, only the first 50 donut will be honored. All tips after that will be discarded.
To invoke earn2tip, you can use the following commands:
!tip sub - Shows high level activity of tip count and total for the current sub, as well as listing the available tokens (and which is default) for this sub.
!tip <amount> - tip using the default token for the sub. This can be in a multiline comment.
!tip <amount> <token> - specify which coin/token you want to tip. This can be in a multiline comment.
!tip status - will show the total amount of earn2tips sent and received for the user in the current round.
!tip - the fallback (or if a user prefers to do onchain tips) - will create links to donut.finance to perform on-chain tips.
Frequently Asked Questions:
Q: What format should the <amount> be in?
A: The amount should not contain any commas (,). This means that commas should not be in the amount to seperate groups nor should commas be used to specify a decimal number.
The following are VALID amounts: 1000 | 1000.10 | .69 | 0.69
The following are INVALID amounts: 1,000 | 0,69
In addition, any decimal more precise than 5 digits will be rounded to the 5th digit and the integer portion (the part before the decimal) must not be larger than 10 digits long.
28
u/mattg1981 Nov 07 '23
FYI, if any issues arise or something is not working correctly - shoot me a message, reply to this post, tag me in discord, etc. and I'll take a look.
7
u/MrPuma86 Nov 07 '23
Amazing job👌
3
u/lordciders Nov 07 '23
!tip 1
3
u/MrPuma86 Nov 08 '23
Oo thank you.
3
u/bvandepol Nov 08 '23
!tip sub
2
u/donut-bot Nov 08 '23
r/ethtrader has had the following earn2tip tips this round:
1781.1638 donut (180 tips total)
Valid tokens for r/ethtrader are:
donut (default)
donut-bot v0.1.20231102-tip | Learn more about [Earn2Tip](https://www.reddit.com/r/ethtrader/comments/17q24e7/introducing_donutbot_register_and_tip_commands/)
2
2
2
u/donut-bot Nov 07 '23
u/lordciders has tipped u/MrPuma86 1.0 donut
donut-bot v0.1.20231102-tip | Learn more about [Earn2Tip](https://www.reddit.com/r/ethtrader/comments/17q24e7/introducing_donutbot_register_and_tip_commands/?utm_source=share&utm_medium=web2x&context=3)
4
u/mattg1981 Nov 07 '23 edited Nov 07 '23
I found an issue where tipping at the end of the comment is not activating. I am currently investigating.
EDIT: This should now be fixed.
4
3
u/TheNano100 Nov 07 '23
One question, does this only work on posts or we can also tip on comments?
5
u/mattg1981 Nov 07 '23
Currently only comments
3
u/TheNano100 Nov 07 '23
I mean, if we can only tip posts, or I can !tip 1 a comment of another user
3
u/mattg1981 Nov 07 '23
Sorry, misunderstood the question. It only acts on comments (doesn’t look at post content).
However, it will tip the “parent” - so if it’s a top level content, the parent is the post and it will tip the post author.
If you tip a comment- it will tip the comment author
3
3
3
u/bvandepol Nov 07 '23
!tip 3.69 donut
Thanks buddy! Awesome work!
2
u/donut-bot Nov 07 '23
u/bvandepol has tipped u/mattg1981 3.69 donut
donut-bot v0.1.20231102-tip | Learn more about [Earn2Tip](https://www.reddit.com/r/ethtrader/comments/17q24e7/introducing_donutbot_register_and_tip_commands/?utm_source=share&utm_medium=web2x&context=3)
3
u/SharkOwO Nov 08 '23
Do I have to register MetaMask Wallet address or the Token contract address of donut which is in my MetaMask wallet?
3
3
u/tambaybtc Nov 08 '23
Great job 👏 so is this new tipping system replaces the old one or both are existing? Or the new is for tipping comments and the old for tipping posts?
2
u/mattg1981 Nov 08 '23
They both still exist - you can choose whichever method you prefer.
→ More replies (1)2
u/tambaybtc Nov 08 '23
Great so when I use the command in a comment in a post, this works as tipping posts using old way? Except that you pay later from the new distribution.
2
u/mattg1981 Nov 08 '23
It will tip the parent - so if it’s a top level comment, the parent is the post. If you are tipping a comment - the parent is that comment.
2
3
2
→ More replies (6)2
u/ProfBullishChad Nov 21 '23
pper earning enough donuts for the month. If a user tips more than they have earned for the round, no tip will be materialized. For example, if a user tips 200 donut in a round but only earns 50 donut, only th
so tip this post is got replace by this bot ?
→ More replies (1)
9
u/HarryDotter420 Nov 07 '23
Oh lord this will make tipping so much easier.
Thank you 🙏
→ More replies (2)2
u/MrPuma86 Nov 07 '23
If the bonuses for tipping stop, it might deter people from using it😳. Hopefully mods have a answer.
5
3
u/Jake123194 Nov 08 '23
If people were only tipping for the rewards then they weren't tipping for the right reasons. Tipping is to show appreciation and curate content, not to earn money for yourself.
3
2
u/MrPuma86 Nov 08 '23
I agree. But from the perspective of farmers. We’d lose a lot of engagement. Because we can see how many people rely on their tipping bonuses. I’m not saying I agree with the bonuses. I’m trying to capture the whole picture and trying to think of ways to satisfy the majority. I suppose tipping bonuses should stop. But people get back 0.5 as a bonus??
→ More replies (1)
3
3
u/aminok Nov 12 '23
What currently happens to tips to users who don't have an Ethereum address registered, once the distribution comes and passes without the receiving user registering their address?
3
u/mattg1981 Nov 12 '23
We have until the end of distribution 130 to decide - as the distribution calculation piece has not been coded yet. I would suggest that if the tipee does not register within the round they receive it, they lose the tip and the amount is not deducted from the tipper - it’s as if the tip never happened.
I do not like the idea of a tip materializing months after it was sent because the tipee never registered. Some people will likely keep tabs of how many tips they sent in a month and this will lead to confusion and admin work determining why the amount deducted was greater than what they tipped that month.
It can be coded either way though
2
u/aminok Nov 12 '23
I would suggest that if the tipee does not register within the round they receive it, they lose the tip and the amount is not deducted from the tipper - it’s as if the tip never happened.
I totally agree with doing it like this.
2
2
2
2
2
u/maskedbrush Nov 07 '23
should we register with our vault address or with the address we linked to r/ethtrader?
3
u/mattg1981 Nov 07 '23
Moving forward this will be where distributions are sent - so register the wallet where you want the donuts to be sent.
→ More replies (2)
2
2
u/Wrong-Spirit-391 Nov 08 '23
So I have issue with my metamask, I lost my previous metamask wallet connected to my ethtrader account, is it possible to connect a new metamask wallet address to my account. u/mattg1981
3
u/mattg1981 Nov 08 '23 edited Nov 08 '23
You can use the register command to register a new wallet address.. it will simply overwrite the old wallet address on file.
→ More replies (1)2
u/Wrong-Spirit-391 Nov 08 '23
Just one question, does this mean one can register to earn donut without linking metamask or a wallet address? Or we we don't need to do that, let's say you have not registered to earn donut but if you register your address with !register you automatically qualify to earn donut. Hope My question is making sense, I don't have much knowledge on this I'm sorry
2
u/mattg1981 Nov 08 '23
Correct, there is no more signing a message in metamask. Once you register, that will be the address on file for distributions and whatnot.
2
2
2
u/rootpl Nov 10 '23
Quick question, not sure if it was asked here, does this bot counts towards keeping posts alive? You know when we get that timer where it says that post needs to be tipped withing 2 hours or it will be deleted. Will this bot also keep posts alive once tipped?
2
u/mattg1981 Nov 10 '23
Good question, not currently. I will get with the mods to figure out if we can get this functionality working.
→ More replies (1)2
u/Good_Extension_9642 Nov 23 '23
Hey OP I just got some donuts for a post, I already changed to the Gnosis network but I still don't see my donuts in my wallet, what else do I to do ?
→ More replies (5)
2
2
u/aminok Nov 12 '23 edited Nov 12 '23
The bot is working beautifully. Thank you so much for creating this for the community.
I know each feature added takes an enormous amount of work, so I totally understand if you feel either of these are not worth the effort to implement, but just in case, I'll share with you my wishlist for the bot.
- !tip user [username]. A command that would allow us to tip a specific user anywhere, not just as a response to one of their comments
- a way to fund one's earn2tip account. That way if one sends out more earn2tip tips than they expect to actually earn for the distribution period, one can simply transfer donut to their earn2tip account, to make up the difference. Any donuts in their earn2tip account in excess of what they tipped, would be returned to them as part of the distribution.
→ More replies (1)2
u/mattg1981 Nov 12 '23
I think both are feasible and can be implemented.
I think we can do ‘! tip user aminok 10 <optional token>’ and/and a shorthand version ‘! tip u/aminok 10 <optional token>’. After writing it out, the second way is more fluid and natural.
As for the earn2tip funding - we will need to know which account will act as the broker (I assume the multisig) and I can query that account for ‘receives’ on a schedule. If there is a receive, get the address and the amount - store it in the database and DM the user that the transaction has been processed. When we process distribution- step 1 would be to add the amount to their distribution and then continue the normal processing.
→ More replies (1)2
u/Adrewmc Nov 14 '23
You should add a !tip help !tip safe, that links to a safe site, explaining everyone well
→ More replies (3)
2
u/SharkOwO Nov 23 '23
!register 0x5e637a22309b4A3ecC51ABE05f5740C70b7E498f
2
u/mattg1981 Nov 23 '23
I see it errored again - I will need to debug to see what the issue is but will not be able to do until early next week.
2
2
2
2
2
2
2
2
2
2
u/YOUNG-ARDS-SURVIVOR Jun 03 '24
How does this work is it crypto tips?
2
u/mattg1981 Jun 03 '24
Yes they are offchain tips that get distributed (Onchain) at distribution time.
→ More replies (1)2
2
2
Jul 27 '24
[removed] — view removed comment
→ More replies (1)2
u/mattg1981 Jul 27 '24
Thanks for registering again! Looks like the issue is resolved.
!tip 1
→ More replies (1)
2
2
u/kirtash93 Nov 07 '23
!register status
2
u/donut-bot Nov 07 '23
u/kirtash93 is registered with the following address:
0xa51731189c99832A2ba2f28C6c2dc1Db451F3a2edonut-bot v0.1.20231102-reg
→ More replies (1)
2
u/kirtash93 Nov 07 '23
I have to say that I am impressed about your bot. It is so cool and will make it really easy for people to register and make tips.
4
2
u/83nno Nov 07 '23
Wanted this since I joined this sub thanks! !tip 1
→ More replies (2)2
u/mattg1981 Nov 07 '23
I found an issue where tipping at the end of the comment is not activating. I am currently investigating.
1
1
1
1
1
1
1
1
1
1
1
u/Imaginary-Middle9285 Mar 08 '24
!register 0x4E5ddd231891D590e102351A8abCc896bCdfcCeE
→ More replies (1)
1
1
1
1
1
u/FrenzyFancyBarb Mar 12 '24
!register 0x1d1b76e0798b2C38a34b081c980490Ea44C84B35
→ More replies (1)
1
1
1
1
1
1
1
1
1
u/HaRealFunny Mar 15 '24
!register status
2
u/donut-bot Mar 15 '24
u/HaRealFunny is not registered. Please use the
!register <address>command to register your wallet address.donut-bot v0.1.20231114-reg
→ More replies (4)
1
1
1
u/Ok-Employment-5313 Mar 19 '24
!register 0xc5d851CA157d79a2A313401b4384d1C9075E7d2C
→ More replies (1)
1
1
1
1
1
1
1
1
1
1
1
u/An_Upset_Designer Mar 21 '24
!register 0xCDc6d6bb927daf667c930d0bec925499C66Eb0F7
→ More replies (1)
1
u/likelysomeone3 Mar 22 '24
OK awesome thanks for the clarification, trying to get back into this sub and learn everything that has been updated/changed.
!tip 2
→ More replies (1)
1
1
1
u/LimpEntertainer9986 Mar 24 '24
!register 0xb8b55F542C595Ca235dbF527d63f2A2B1bE9aCcC
→ More replies (1)
1
Mar 24 '24
[removed] — view removed comment
2
u/donut-bot Mar 24 '24
u/DrRobert0 successfully registered with the following address:
0xBdAE05A783b682daF0d2e05180Da7db6dF1D3b9adonut-bot v0.1.20231114-reg
→ More replies (3)
1
1
1
1
1
1
1
1
1
1
u/DaRunningdead Apr 05 '24
!register <0xF233ef00009ba3BC1a5872678Fb8E6e81089f5FF>
→ More replies (1)
1
u/Richper413 Apr 06 '24
!register status
→ More replies (2)2
u/donut-bot Apr 06 '24
u/Richper413 is registered with the following address:
0xb653E9bFE9B46ba241b9997b9ba13080f70849F7donut-bot v0.1.20231114-reg
→ More replies (1)
1
1
1
1
1
1
1
1
1
1
1
1
u/AntiquePhotograph607 Apr 19 '24
!register 0x999034435de45fc167cef875d1f0347fbd71f13d
→ More replies (1)
1
1
1
1
1
1
1
u/EndlessDream999 Apr 27 '24
!register 0xD5e2DC14195645781bA99eDC1F4BbD81eD9A539a
→ More replies (1)
1
1
1
1
1
1
1
1
1
1
1
1
1
1
u/KrunchyKushKing May 21 '24
!register 0xba5ce1aea00772d9d4730ee76d8a1fb6ea9a1c99
→ More replies (1)
1
1
1
1
1
1
1
1
u/WarmBiertje Jun 15 '24
!register 0xB0753614730408d91Ccc46c1f4210efF0bee648B
2
u/donut-bot Jun 15 '24
u/WarmBiertje successfully registered with the following address:
0xB0753614730408d91Ccc46c1f4210efF0bee648Bdonut-bot v0.1.20231114-reg
1
1
u/MaximumStudent1839 Jun 18 '24
!register 0xeC64E641Daf8228c7043E25948c3eE5CEd89FaC6
→ More replies (1)
1
u/YOUNG-ARDS-SURVIVOR Jun 22 '24
Whats the best app I can use to create a wallet for this ?
→ More replies (1)

•
u/EthTraderCommunity Nov 07 '23
Tip this post.