Project Name: TronSocket
Project Track: Web3
Team Name: BeycanPress
Team Member(s): 2 - @oynozan @beycan
DevPost Project Link: Tronsocket DevPost
Project Goal: Bringing WebSocket support to Tron Blockchain
What is TronSocket?
TronSocket is a service where you can connect to our services and listen for Tron blockchain events, either directly with the SDK or using a pure WebSocket structure as we illustrate in our documentation.
TronSocket consists of 2 parts: Dashboard and Socket Server. In order to interact with WebSockets on Tron network, you need to create a TronSocket account, and a subscribe to one of the plans. Then, you need to create a token on the dashboard. Now you are ready to listen transactions and events on Tron blockchain.
Also, using TronSocket SDK for your Typescript projects, you can easily listen the blockchain without diving into WebSocket technology.
Therefore, we can call TronSocket a standalone development environment for Tron developers.
Project Value
Tron Blockchain doesnât have a WebSocket support. TronSocket brings WebSockets to the Tron environment and creates a whole new development experience for Tron developers.
As long as the Tron ecosystem continues to grow, TronSocket will follow this growth as well, because there will always be developers who want to work with WebSockets while interacting with blockchain.
Home Page:
Dashboard:
https://app.tronsocket.com
Documentation:
Technology
First, we decided on the technologies we would use in our project, and then the first thing we did was to build the Nile Testnet node on Ubuntu.
After that, we used NestJS (Express based), Socket.IO, VueJS, Nginx, Docker technologies to develop a structure that can offer this as a service.
We also needed an interactive dashboard where our users can manage their tokens and subscriptions, and also a landing page to attract developers into TronSocket.
The last step was the development of the SDK. TronSocket SDK allows developers to interact with the TronSocket WebSocket server without actually dealing with WebSockets. TronSocket SDK is written with Typescript, and itâs completely open-source.
These are the technologies we used initially:
- Vue3
- Nest.js
- MongoDB
- Socket.io
- Docker
- nginx
Project Test Instructions:
First, please create your TronSocket account from the dashboard. Then, you need to create a subscription. For now, you can subscribe to our free plan.
Now you are ready to create your first token. Tokens are essentially used for authenticating your WebSocket interaction.
To test TronSocket Websockets, follow our developer documentation and determine whether you want to use TronSocket SDK or use WebSockets by your own.
So, whatâs next?
In this process, I used a lot of new technologies and learned a lot. I developed using NestJS for the first time. Likewise, my teammate used VueJS for the first time, we pushed ourselves a lot in this process, but I believe we succeeded.
I also think weâve created an affordable product that really solves a problem and can help Tron developers.
In the future, weâre planning to expend our service with a broader endpoint support, as well as a extra methods for our SDK.
TronSocket currently works fine for events. Currently TronSocket v1 is live and we have started designing the existing RPC service. In addition to Event Listener, we aim to provide data service directly via RPC.
If youâre a Tron developer, we encourage you to test TronSocket!