I was recently approached by someone from the aeternity group in telegram who said: wouldn’t it we amazing if there was a way to tip users for their help with AE ?
And so this project was born, this bot is based off the code made public by samgos/reddbot-telegram in github and aeternity/aepp-sdk-python
The bot is live in telegram, you can contact it @AeternityTipBot, you can add it to your group, or message it directly.
How to get an address
First you need to create a wallet, the way to do this is to start a private conversation with the bot and “/start”. If you already did this before, you can issue “/deposit” to make the bot give you your deposit address again. If you call this in a private chat it will show you a QR code with the address along with the text. If you do this in a group it will show everyone your address but the QR code won’t be shown
You can tip someone in 2 ways:
Using the command directly
Or as a reply
As of now the minimum tip amount is 0.1 AE, but you can check the settings if you use “/network”, the bot will also alert you if you are trying to tip too little when you call “/tip”
Checking your balance
You can check your balance in one of aeternity’s blockchain explorers or asking the bot to show you your /balance
You can ask the bot to show you your private key with “/getprivatekey” in case you want to make a backup of your wallet or use it in a different location. For security reasons the bot will refuse to show you the private key in a group, so please start a private conversation with the bot to get your backup key.
You can send any amount of aettos (provided your balance covers the amount and the fee) to any public address, this is useful if you want to tip less than 1 AE, though we do not recommend it due to the current value of AE. To do this you use “/withdraw ak_account ammount” you can use the word ‘max’ as the amount to have the bot send you your full balance to another account.
While I tend to make the server secure there are many things I can’t forsee and it wouldn’t be fair if I don’t warn you that, as with any hot wallet, you should keep the amount of AE you have in the bot’s wallet to an amount you feel confortable with and never use it to store a lot of money.
If you have any comments or suggestions regarding this bot please leave me a comment, I would like to know what you think about it
Update July 14th, 2019:
Now the text added after the tip amount either in direct tip or reply tip will be stored as payload to the spend transaction in the blockchain.
Please note the payload field is a base64 encoded field with the following format:
ba_[base64 encoded string]
Also note that the encoded string is made up of the [payload text] + [4 byte checksum]
So the last 4 bytes of the decoded string are checksum characters and shouldn’t be displayed.
As of the date of this post only the Custom middleware explorer and AEknow explorer support showing the decoded payload directly.