Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitter & Telegram Tip Bot using the wallet #3

Open
Cointorox opened this issue May 3, 2019 · 0 comments
Open

Twitter & Telegram Tip Bot using the wallet #3

Cointorox opened this issue May 3, 2019 · 0 comments

Comments

@Cointorox
Copy link

Cointorox commented May 3, 2019

@noxonsu @Naggertooth

Would it be possible to create a tip bot for Twitter & Telegram using the wallet?

Maybe we could create a decentralized tip bot which works with the wallet itself.

Example
The tip bot would have its own wallet on atomicswapwallet.io.

The tip bot only works with coins & tokens listed on atomicswapwallet.io.

The tip bot would have its own accounts on Twitter & Telegram and waits for users to call/summon it.

When a user wants to tip someone on Twitter or Telegram, they do so by summoning the bot. (On Twitter, users can summon the bot by tagging @twittertipbot on a comment)
(On Telegram, users can summon the bot by messaging the bot directly)

EXAMPLE:

[Twitter]

  1. USER A wants to tip USER B with 0.1 ETH on Twitter.

  2. USER A leaves a comment on USER B's Tweet with the following to summon the tip bot: [@tipbotusername !tipamount @sendtouser] (e.g: @tipbot !tip0.1ETH @userb)

  3. The tip bot internally records the tip amount, USER A as the sender and USER B as the recipient (maybe we need a database for this? not sure..)

  4. The tip bot messages USER A directly or leaves a comment on the Tweet: (e.g. @usera, deposit 0.1 ETH to: 0x00000000 to complete tipping!)
    if USER A is tipping an ERC20 token, the tip bot requests: @usera, deposit 0.0001 ETH (tx fees) + 100 ERC20 token to: 0x00000000

  5. When the ETH has arrived on the bot's wallet, the tip bot messages USER B or leaves a comment on the tweet by tagging @userb and requests for a tip withdrawal address (e.g. @userb, type "@tipbot !receivetip0.1ETH yourETHaddress" to withdraw your tip!)

  6. USER B types the command "@tipbot !receivetip0.1ETH 0x0000000000" on the Tweet and the tipbot automatically sends the tip to USER B.

[TELEGRAM]

  1. USER A wants to tip USER B 0.1 ETH.

  2. The tip bot is on stand-by, until USER A messages the bot.

  3. The bot provides a menu when messaged:
    (example)
    Choose a coin/token to tip

  • Bitcoin
  • Litecoin
  • Ethereum
  • EOS
  • ERC tokens available on atomicswapwallet.io
  1. USER A clicks on 'Ethereum'

  2. Bot messages USER A to ask how much ETH?

  3. USER A types 0.1

  4. Bot messages USER A to send 0.1 ETH to the bot's ETH address

  5. USER A can now use the tip bot on any Telegram groups by typing (example): @tipbot !tip0.1ETH @userb

  6. Telegram bot messages @userb and asks for a tip withdrawal address

  7. USER B types the withdrawal address and the tip bot sends the tip there

Above mentioned is semi-decentralized & there could be much better alternatives and ways. It is just an example of how it could work. Let me know if something like this is possible. I couldn't think of a way to directly integrate/work with the wallet itself. Maybe there's a better way to do that...

Below are some examples of a centralized tip bot:
https://github.com/kayabaNerve/tip-bot/
https://github.com/Crowndev/Twitter-Tip
https://www.tip-jar.me/
https://www.reddit.com/r/RequestNetwork/comments/976v7s/reddit_tip_bot/
https://www.xrptipbot.com/

They all require the user to create a wallet, deposit funds, and verify their reddit/telegram/twitter accounts via oAuth.

Naggertooth pushed a commit that referenced this issue May 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant