Inspiration
The inspiration for SunID came from recognizing a significant gap in the TRON ecosystem - the lack of a Decentralized Social (DeSo) application that effectively bridges real-world data with blockchain information. We saw an opportunity to create a platform that could unify and authenticate fragmented data points, ensuring trust and accessibility in a decentralized manner.
What it does
SunID is a decentralized identity platform designed to issue, receive, and verify credentials or claims across various aspects of life, connecting real-world data with the Tron blockchain. It empowers users with data ownership and provides decentralized storage options. The platform serves two primary user types:
- Issuers: Entities or individuals responsible for issuing credentials.
- Holders: Users who receive and manage their credentials.
Key Features:
- Flexible Storage: Credentials can be stored either on-chain (using the Tron blockchain) or off-chain (via BTFS), giving users control over their storage preferences.
- User-Friendly Credential Management: A simple system for issuing, revoking, and verifying credentials.
- Unique Credential IDs: Each credential is assigned a unique identifier for easier tracking, verification, and management.
This makes SunID a comprehensive solution for decentralized identity management, offering transparency, security, and user control.
How we built it
We developed SunID as a fully decentralized system, leveraging a combination of blockchain technologies and modern web development frameworks:
- Blockchain Infrastructure:
- Tron: Used for storing on-chain credentials, providing a secure and transparent ledger.
- BTFS: Setup a btfs node as a services for off-chain credential storage, offering a decentralized file storage solution.
- Frontend Development:
- NextJS: Utilized as the primary framework for building our responsive and efficient frontend.
- Tron Frameworks:
- TronWeb: Integrated to interact with the Tron blockchain.
- TronLink: Implemented to facilitate secure wallet connections and transactions.
- Backend Development:
- Golang: Used to set up the backend infrastructure.
- Key Functionalities:
- Data Indexing: Efficient retrieval and organization of credential data.
- Event Listening: Monitoring on-chain events, particularly for detecting revoked off-chain credentials.
- BTFS Interaction: Integrating with BTFS to store raw credential data in a decentralized manner.
This technical stack allows us to maintain a completely decentralized system while providing a seamless user experience for both credential issuers and holders.
Challenges we ran into
During the development of SunID, we encountered several technical challenges:
- BTFS Integration: Setting up BTFS to effectively synchronize data between nodes and permanently pin data proved to be complex. This was crucial for our off-chain credential storage system. Currently, we are running a local node to store data, which presents challenges in terms of scalability and maintenance.
- Event Indexing: While we have successfully implemented indexing for some events, such as credential revocation, we are still working on completing the indexing of other events on the backend. This is an ongoing challenge that affects the comprehensiveness of our data tracking.
These challenges have pushed us to innovate and find creative solutions, contributing to the robustness of our system.
Accomplishments that we're proud of
- Creating a much-needed DeSo application for the Tron ecosystem.
- Successfully bridging real-world data with blockchain technology in a secure and transparent manner.
- Developing a flexible system that allows for both on-chain and off-chain credential storage.
What we learned
Throughout the development process of SunID, our team gained valuable insights and knowledge:
- Tron Smart Contract Development: We deepened our understanding of how to deploy and interact with smart contracts on the Tron blockchain.
- BTFS Exploration: Despite encountering challenges with data pinning and synchronization, we've made significant progress in learning about BTFS. This decentralized storage solution is key to our off-chain credential storage system.
- Blockchain Integration: We gained practical experience in integrating blockchain technology with more traditional web development frameworks, bridging the gap between decentralized systems and user-friendly interfaces.
- Decentralized Identity Solutions: Through building SunID, we've developed a deeper understanding of the complexities and potential of decentralized identity systems, including the balance between privacy, security, and accessibility.
What's next for SunID
Future plans for SunID includes:
- Integrate a plugin to add SunID credentials as assets in TronLink or a custom version of TronLink.
- Enhance on-chain data indexers for more efficient and seamless data access.
- Dockerize APIs and Explorer services, allowing users to easily deploy personalized, custom services.
- Implement zero-knowledge proof technology to verify on-chain credentials, enhancing privacy and security.
As an open-source project, we're excited to see how the community will contribute to and shape the future of SunID.
Log in or sign up for Devpost to join the conversation.