Dongle is an open-source smart contract built on the Stellar network. The contract is designed to support a decentralized app discovery and interaction layer, enabling structured registration and management of application metadata on-chain.
Dongle aims to serve as a foundational protocol that frontend applications and indexers can build on to surface, organize, and interact with Stellar-based projects in a transparent and verifiable way.
This repository focuses only on the smart contract logic. Frontend interfaces and off-chain indexing are handled separately.
Discoverability and trust remain challenges in decentralized ecosystems. Many projects rely on off-chain listings, centralized platforms, or unverifiable data sources.
Dongle addresses this by:
- Providing an on-chain source of truth for project registration
- Enabling transparent project metadata storage
- Allowing permissionless access to registered project data
- Supporting open-source collaboration and extension
The Dongle smart contract is responsible for:
- Registering projects on-chain
- Storing essential metadata (name, description, links, owner)
- Allowing controlled updates by project owners
- Exposing read methods for frontend and indexers
- Ensuring basic validation and access control
- Blockchain: Stellar
- Smart Contract Framework: Soroban
- Language: Rust
- Storage: Soroban persistent storage
- Access Control: Address-based ownership
Frontend (UI)
↓
Dongle Smart Contract (Soroban)
register_project– Register a new project on-chainupdate_project– Update project metadata (owner-only)get_project– Fetch a single project’s datalist_projects– Retrieve registered projects (indexer-friendly)
- Prevent duplicate registrations
- Enforce ownership checks
- Validate required fields
- A frontend dApp listing Stellar ecosystem projects
- An indexer tracking newly registered applications
- Open-source contributors building discovery tools
- DAO or community-driven project registries
- Contract structure defined
- Core storage models implemented
- Ongoing improvements and testing
- Extended metadata & governance features
This is an actively evolving open-source project.
Dongle is open-source and welcomes contributions.
You can contribute by:
- Improving contract structure
- Adding tests
- Enhancing validation logic
- Reviewing security assumptions
- Improving documentation
Please open an issue or pull request for any proposed changes.
Dongle promotes:
- Transparency in project discovery
- Decentralized ownership of ecosystem data
- Composable infrastructure for Stellar builders
- Open collaboration through smart contracts