Abstract
This proposal aims to expand the Safe ecosystem by developing a Vue.js version of the Safe App SDK and a Vue template for Safe Apps. Currently, Safe provides React-based tools, but there’s an opportunity to broaden the developer base by offering Vue alternatives. This initiative will create a Vue Safe App SDK and a Vue template for Safe Apps, making it easier for Vue developers to build and integrate Safe Apps, ultimately expanding Safe’s user base and ecosystem.
Aligned strategy
[Strategy 2] Foster module ecosystem.
Funding request
30,000 USDC
In our plan, contributing modules and apps to the safe ecosystem is a long-term and ongoing task. Therefore, we shall divide the task into smaller segments. Currently, we are developing safe-apps-vue-sdk and vue-template-safe-app.
Relation to budget
Budget Details:
-
Senior Frontend Developer: $8,000 per month for 2 months = $16,000
-
Project Manager: $7,000 per month for 2 months = $14,000
10% of Total Initiative Budget (30K out of 300K)
100% of Remaining Budget (30K out of 15K)
Initiative Description
Background:
According to the latest State of JS 2023 survey, Vue and React have consistently dominated the top two positions in frontend framework usage. Over half of the developers have experience with Vue.js, reporting excellent user satisfaction. Notably, 99.6% of programmers have heard of or are familiar with Vue.js, making it an almost essential framework for frontend developers to understand.
In js-framework-benchmark performance tests, Vue even outperforms React and Angular.
However, it’s important to note that many survey reports often overlook data from the Chinese market, where Vue has an enormous developer base.
Vue’s influence has extended into the blockchain sector, with many prominent projects such as zkSync, StarkNet, Optimism, and Arbitrum extensively utilizing Vue in their application and module development.
As shown by Safe’s official packages:
There is no template for Vue and no safe-apps-vue-sdk.
(Note: By 2024, most of the projects will not start using Vanilla JS.Because this means they give up the huge mature ecosystem and need high-level programmers to reinvent the wheel from scratch.)
This initiative aims to develop two key components for the Safe ecosystem to complete the Safe ecosystem:
-
Vue Safe App SDK: A Vue.js version of the existing Safe App SDK, providing Vue developers with the necessary tools to interact with the Safe contracts and integrate Safe functionality into their applications.
-
Vue Template for Safe Apps: A starter template for Vue developers to quickly bootstrap Safe Apps, similar to the existing React template.
These tools will:
-
Lower the barrier to entry for Vue developers wanting to build on Safe
-
Expand the potential developer base for Safe Apps
-
Increase the diversity of Safe Apps available to users
-
Promote ecosystem growth by supporting multiple frontend frameworks
More modules and app development are planned
Maintenance:
Our team is committed to ongoing support post-delivery. We plan:
- Monthly review and updates to align with Safe’s latest changes
- Dedicated resources for at least 1 year post-launch for bug fixes and minor updates
- Open communication channels with the Safe team to stay informed about upcoming changes
Security & Testing:
In fact, the Vue version of the SDK is based on the existing safe-app, and does not use ethers or web3 to interact directly with the safe contract, so security issues will be greatly reduced.
Of course, in order to ensure quality our SDK, our code will be written in Typescript and have sufficient test cases and enough review to ensure that the code functions with as few bugs as possible.
At the same time, we will invite the community to review our code to reduce the possibility of BUG.
Documentation:
Documentation is indeed key for SDK adoption. We will:
- Comprehensive and detailed API documentation
- Provide quick start guides and example projects
- Step-by-step tutorials and interactive examples for novice developers
- Establish a process for keeping documentation updated with each release
Usage Analytics:
It may not be appropriate to add statistics function to safe-app-sdk, but we can add statistics to our vue-template, as well as npm statistics about these two packages, which should be able to reflect some usage.
Closing Thoughts
In fact, we are also preparing more directions and are ready to invest in the development of the safe ecosystem.
Current status
The design for this proposal is ready and discussed with IOPLUS team.
The funding will be used to create both the Vue Safe App SDK and the Vue template for Safe Apps from scratch.
Risks
The risks involved are implementation and execution risks. Given the experience of our teams the risks should be minimal.
Timeline and milestones
Week | Focus | Cost (USDC) | Description | outcome |
---|---|---|---|---|
1-2 | Design | 6,000 | Research of existing sdk and design of vue-sdk and template, API documentation design, Based on the The plan refactoring the SDK,consider the design of the arch, init the projects | readme API docs draft and The two packages safe-apps-vue-sdk and vue-template-safe-app are under safe-apps-sdk |
3-4 | Development of safe-apps-vue-sdk | 10,000 | Development of safe-apps-vue-sdk , test cases and documentation | safe-apps-vue-sdk, test case and documentation |
5-6 | Development of vue-template-safe-app | 10,000 | Development of vue-template-safe-app and documentation | vue-template-safe-app package and documentation |
7-8 | Testing and submit | 4,000 | Review and submit safe-apps-vue-sdk and vue-template-safe-app | review and npm publish these packages |
Initiative lead
cosin2077 An experienced full-stack developer skilled in front-end, Node.js, and Web3 technologies.
Team
The initiative will be led by cosin2077, supported by a small and dedicated team proficient in web3 developments.
cosin2077: Developer and tech lead with 10 years of senior engineer experience.
wirender: Experienced and responsible project manager
Additional support/resources
-
Potentially help from Safe team on further github repository transfer or pull request.
-
Assistance in integrating the new tools into Safe’s official documentation and resources.
updates
After discussions with multiple contributors and developers, we have changed the application cycle to two months, and the application amount has been adjusted to 30,000 USDC.