Github: https://github.com/patractlabs/elara
Homepage: https://elara.patract.io
Patract Hub is a community based non-profit organization, developed and maintained by Patract Labs. We develop local open source toolkits and one-stop cloud smart IDE, dedicated to provide free development toolkits and infrastructure services for the entire smart contract ecosystem.
Elara's goal is to build a similar infrastructure and network public access services to provide developers with a unified access layer based on Substrate multi-chain. In addition, Elara will be used as part of the smart contract development service, and will be integrated with other components of the Patract toolchain in the future, in terms of contract development environment support, development tools component, contract deployment and DApp release. Elara will be Polkadot’s infrastructure, allowing developers to focus on building upper-level applications.
Summary of Elara’s future plan:
v0.1: Implement a server-side framework and proxy access to automatically monitoring and provide statistics for the Substrate node’s RPC service
- v0.2: Expand features about developer’s account management, project management, data access and traffic statistics to provide public access services for Polkadot
- v0.3: Performance optimization and architecture upgrade, support multi-chain architecture, access to multiple mainnets in the Polkadot ecosystem
- v0.4: Automatically access and maintain blockchains in Polkadot ecosystem
We have finished the development work of Elara v0.1 on time, and written a treasury report at https://polkadot.polkassembly.io/post/139. This proposal focuses on Elara v0.2, and will continue to develop the following features on the basis of v0.1.
- Implement the account space features, supporting developers to use Github as a third-party login system to create an account space.
- Support the creating and management of multiple projects under the developer’s account space
- Provide developers with detailed access statistics features on the single project dimension, showing statistical indicators such as daily and weekly requests, calling methods, and source of user groups.
- Officially launch https://elara.patract.io, providing the community with public access services to the Polkadot mainnet
Detailed design of v0.2 (5 weeks, 27 Oct ~ 1 Dec)
M1: UX Design & Project Management ( (1 designer + 4 developers) * 1 week )
- Product requirements analysis and developer experience design
- UX design, showing related information such as the project mainnet, developer console and project statistics
- Project demand management, feature tracking and project development, testing, integration progress control
- Data structure design, store account space information, project information and statistical index information
- System architecture design, storage structure design and program module definition.
M2:Development (4 developer * 3 weeks)
Implement developer account space
- Apply for Github OAuth Apps
- Deploy Redis storage service
- Develop authentication interface, dock Github OAuth, implement account information access
- Develop an account system to implement the storage and reading of developer account information
- Develop a login system to implement the session management of the developer's Github account
- Develop API function and provide external account related API interface
Implement project management
- Deploy Redis storage service
- Develop project creation, information showing, list showing features
- Develop the frequency and traffic restriction functions for project usage
- Develop API functions and provide external management interfaces for projects
Implement project monitoring and statistics
- Deploy Kafka message middleware
- Deploy Redis storage service
- Develop a log reporting interface to implement asynchronous reception of data reporting from other modules
- Develop data timer to implement statistics and analysis of reported data
- Develop API functions, provide external statistics API interfaces, provide project’s statistics for the current day and recent weeks on dashboard
Implement the official website
- Develop the official website pages to display information
- Develop authorization interaction with Github OAuth to implement account information access
- Develop the docking with the account system to implement the login interaction between the developers and the system
- Develop the console page, display the account's project information, and the corresponding operation information
- Develop the project’s details page to display detailed information and statistical results.
Implement the open access to Polkadot mainnet
- Develop the log reporting feature of the agent access module to implement the monitoring log of the requests
- Deploy the node for Polkadot mainnet
- Configure access to Polkadot mainnet
M3:Integration (4 developer * 1 week)
- Integrate developer account service and authorized access of Github OAuth
- Integrate developer account system, project management and Elara’s console page
- Integrate Kafka message middleware access proxy service and monitoring statistical service
- Integrate Elara’s dashboard, project information page and back-end statistical data service
- Implement client access to Elara’s sample service to provide a demo sample
M4: Testing(4 developer * 1 week)
- Test account services, statistical services, and proxy access service programs
- Test official website, project console and functional interaction
- Test the client request access function
- Test server monitoring statistics function
- Test the dashboard page
Cost of v0.2 (1 designer * week + 20 developers * weeks)
- Operating activities: $4200 ( Rent and Devices: $200 per employee * week )
- Designer payments: $1000 ($1000 per designer * week)
- Developer payments: $30000 ($1500 per developer * week)
- —————————— +
- Total Cost: $35200
- Exchange Rate: $4.8 / New DOT
- Treasury Proposal: 7333 New DOT
Verification:Public service & Youtube demo & Github source
- Developers can use Github account to log in to the developer account space from https://elara.patract.io
- Developers can create new projects and access related API keys under the account
- Developers can access the Polkadot node in Elara through Http and web-socket protocols
- Developers can view the monitoring statistics of the projects on the day and the recent weeks
- You can view the relevant monitoring statistics from the Elara dashboard