Tezos Home Projects TzTip.me

TzTip.me

17
▲   168
A tipping service that allows developers to add tipping functionality to any platform while letting the users keep ownership of their funds.
Games & Collectibles
Working but buggy
Makers
Andreas Gassmann
Tags
Back-End Development
Front-End Development
JavaScript
MySQL
Node.js
ReactJS
Security
Web Development
tezos

Tip bots usually work by storing all the funds on a central address that is controlled by the bot owner. The bot keeps a database of all the balances, but the users don’t actually own the money in their accounts. Users have to explicitly “withdraw” the money to get it into their own, secure, wallet. The downside is that the bot owner has full control over all the funds that are in circulation. So there is always a chance that the funds will get stolen.

In our approach, this is not the case. The user uses his own mobile/desktop/browser wallet and only he controls his private key. In the past, the problem with this approach was that there was no user friendly way of connecting tip bots with wallets to give them instructions.

We solve this problem by using “Beacon”. It allows developers to establish a connection between the server and the wallet. Once the connection is established, the bot can send requests to the wallet and the user simply needs to confirm them. We showcase the “tipping” functionality here, but it is not limited to simple spend transactions. The “tipping bot” can send any type of request, such as delegation requests or contract calls. This opens the door to many applications, such as a collectible trading bots or interactive games on the blockchain. Those bots could give live updates, status reports and offer intuitive ways of interacting with the smart contract, which then result in a single transaction that is sent to the users wallet.

The project is built in node.js (typescript). We built 3 microservices. The “beacon” service is the one managing the connections to the wallets, and storing a list of userIDs <=> tz addresses. Then there are 2 “provider” microservices to showcase the usage of our service on 2 different platforms. The 2 providers are “Discord” and “Telegram. The providers’ job is to receive and send messages to the user. When the user first interacts with one of the providers, he has to call the “connect” command and will be given a QR and JSON-code. The user can then either scan the QR code or copy/paste the JSON-code into his wallet, whatever is easier. This will establish the connection between the wallet and the backend. After this is done, the user can use the “tip” command, where he sends a specific amount to other users. This request is sent to the “beacon” service, which gets the corresponding addresses for the users and prepares/sends the request to the users wallet. All the state is managed in the “beacon service”, the 2 providers are stateless.

This architecture can easily be expanded to support other platforms, such as Slack, Facebook Messenger, but even websites such as Twitter.

Screenshots
Comments (17)
Please log in or register to post a comment.
Larysa Makhova · posted about 3 years ago

Where we can use tha, could you make an example? And how difficult to implement it to site?

Bohdan Vyshtalenko · posted about 3 years ago

How to use it in real life? Can I add it to my delivery website?

Petro Maksymov · posted about 3 years ago

Very nice project

OLHA KHOMKO · posted about 3 years ago

good idea

Serge Malle · posted about 3 years ago

Wonderful. Good job

Serge Malle · posted about 3 years ago

Awesome!

Kyrylo Artomov · posted about 3 years ago

nice !

hasan hüseyin pehlivan · posted about 3 years ago

nice job

Muhammet Pehlivan · posted about 3 years ago

<3 nice !

Mustafa Gökçe · posted about 3 years ago

amazing

Mustafa Gökçe · posted about 3 years ago

omg that is cooll

Yewon Choi · posted about 3 years ago

I'm gonna tip with this!

feng cao · posted over 3 years ago

this is a good idea! 👏🏻👏🏻👏🏻👏🏻

雪華 劉 · posted over 3 years ago

Amazing!!!

Gordon Salihovic · posted over 3 years ago

clever project :)

gustavo antonio diorio · posted over 3 years ago

genial.. felicitaciones..

Silvana Sabino · posted over 4 years ago

It’s a good idea! 👏🏻👏🏻👏🏻👏🏻

Hackathon Google Calendar

Hackathon Discord

Look out for emails from team@coinlist.co