Project Name: JustPush
Project Track: Web3
Team Name: TeamPush
Team Member(s): @novax
DevPost URL:
Project Goal: Bring push Notifications for the Tron Ecosystem
Project Info:
JustPush
JustPush brings notification capabilities to the TRON ecosystem.
The protocol consists of several components.
All these components were implemented in the hackathon timeframe after Sep20, 2022
Smart contracts
[github.com/justpush-protocol/contracts]
JustPush node
[github.com/justpush-protocol/node]
JustPush SDK
[github.com/justpush-protocol/sdk]
Dapp
[github.com/justpush-protocol/frontend]
Telegram Bot
[github.com/justpush-protocol/telegram-bot]
Discord Bot
[github.com/justpush-protocol/discord-bot]
JustPush makes the building of notification-enabled blockchain applications easy. It provides a set of tools such as Smart contracts SDKs, APIS, and a Dapp that allow developers to build notification-enabled applications in a matter of minutes.
These notifications are tied to a wallet address.
JustPush is built in a composability-first way. This means the method the end users receive notifications can be easily changed.
These can be mobile push notifications, email, SMS, telegram, discord, etc. We have built a telegram bot and discord bot that can be used to receive notifications. But the list of supported methods can be easily extended.
Project Website:
https://justpush.app (Dapp)
https://docs.justpush.app (Documentation)
Project Test Instructions:
Several things can be tested depending on the role you play.
Community Users
- Go to our website: https://justpush.app
- Subscribe to one of the Groups
- Setup Telegram/Discord bots to receive notifications as explained here
- You can even create a group with one account, subscribe it with another account and see if you can send and receive notifications
Developers / Ecosytem Projects
Try integrating your DAPP/Protocol to JustPush protocol so your users can get notifications
All the steps are explained in the Project Details
section here.
If you come across any issues, happy to help.
Project Details:
The process of integrating JustPush into a Dapp or service is as follows. The following guide also introduces concepts and design decisions behind JustPush.
Step 01: Create a Group
What are groups?
https://docs.justpush.app/concepts/groups
A Group
is anyone who activates themselves as a service on the protocol to send notifications to its users.
Any service that wants to send notifications to their users can create a Group.Typically dApps in the Tron ecosystem will create a Group to send notifications to their users.
How to create a Group?
https://docs.justpush.app/developer-guides/create-group
There are several ways to create a group. The easiest way is to use the JustPush Dapp.
Step 02: Ask users to subscribe to your group
Why do they need to subscribe?
Imagine if anyone could send notifications to anyone. This would be a huge spam problem.
JustPush solves this problem by requiring users to subscribe to a group before they can receive notifications from that group.
How to ask users to subscribe?
https://docs.justpush.app/developer-guides/subscribe-to-groups
Users can subscribe to a group using the JustPush Dapp. But you can also ask them to subscribe to your group using your own UI by using the JustPush SDK.
You can also make your users subscribe to your group on -chain by calling JustPush smart contracts directly.
Step 03: Send notifications
https://docs.justpush.app/developer-guides/sending-notifications
What are the types of notifications?
There are two types of notifications. Broadcast
and Direct
. Broadcast notifications are sent to all users who have subscribed to a group. Direct notifications are sent to a specific user.
How to send notifications?
Group owners can send notifications to their users using the JustPush Dapp. This can be also done by using the JustPush SDK or by calling JustPush smart contracts directly.
Step 04: Recieve notifications
Subscribed users can receive notifications in a variety of ways. With the SDK, you can show notifications in your own UI, mobile app, service, etc.
For the scope of this hackathon, we have built a telegram bot and a discord bot that can be used to receive notifications. But the list of supported methods can be easily extended.
Contract address:
Mainnet: TMptrmkFrmvc3zHV7c62kHAFka44Ae5ob1
Project Milestones:
- Smart Contracts: Done
- SDK: Done
- Frontend: Done
- Telegram/Discord Bots: Done
- Documentations : Done
Please note that the Groups
listed in the DApp are for demonstration purposes only. You will not be getting notifications from the listed projects yet. But we are planning to bring the ecosystem projects towards the platform once the hackathon is over.
On the other hand, if you are representative of any of the listed projects (Sunswap, ApeNFT etc). Please reach out. We can give you ownership and guide you - so you can send notifications to your target audience easily.