# Account Abstraction Grant Proposal
## Project Abstract
We promote more developers to access Account Abstraction(AA) through open-source and community-driven efforts. The efforts we are working on including three aspects as following:
1. **Building open source sdk:** We strengthen the AA ecosystem by developing simpler and more user-friendly SDKs, unified API interfaces, developer tools, and integration tutorials.
2. **Driven by community:** We establish an AA developer community, release weekly reports, assist in scenario building, enhance development and user experience.
3. **Explore extensions of AA ecosystem:** We form hackathon teams to enrich the AA ecosystem of Dapps including privacy preservation based on zero-knowledge, account authentication based on social account integration and etc.
## Objectives
1. **In aspect of building open source sdk:**
- Fundamentally, we are developing a universal AA SDK, researching and integrating the characteristics of existing SDKs to become the underlying infrastructure of the AA ecosystem.
- In higher level, we are creating some scaffoldings for incoming developers to quickly get started with AA Dapps.
2. **In aspect of community scaling:**
- In short term, We provide customizable SDK scenarios and offer tutorials on AA SDK scenarios (such as paymaster and account) to help developers quickly understand and integrate with the AA wallet.
- In long term, we are collaborating with some DAO members to promote the unified Account EIP standard, enabling Dapps to integrate with all ecosystem wallets.
3. **In aspect of exploring extensions of AA ecosystem**
- In one of our hackthon projects, we are building private social recovery module as guardian which strength privacy preservation of AA based on zero-knowledge proof.
- In another of our hackthon projects, we are building multiple authentication schemes which onboard users with multiple famaliar ways, such as social login.
## Outcomes
**Problem Statements:**
- The development of the AA SDK client has a certain threshold, and the transaction forms are inconsistent. Currently, there are still few ecosystem applications besides the wallet, and the ecosystem is isolated.
**Solutions:**
- We provide a public layer unified API similar to ethers.js, a unified interface for accounts, and scaffolding to help clients and mobile terminals quickly integrate.
- We have established an AA ecosystem developer community to share the latest developments and provide tutorials and ecosystem preaching for the community, making AA ecosystem applications more diverse and more secure.
## Grant Scope
- Firstly, we conducted research on existing AA SDKs and the existing ETH developer APIs, integrated their advantages, and **promoted the unified SDK and Account standards**.
- Secondly, we harnessed the power of the Chinese developer community to jointly study EIP4337 and the latest AA technologies, and wrote tutorials on usage and scenarios to **promote the preaching of the AA ecosystem**, supporting English and Chinese.
- Thirdly, we assisted projects in integrating with the AA ecosystem, enhancing mobile dapps and user experience, building an AA developer community, forming teams to participate in hackathons, and **enriching AA applications**.
The **Account.js SDK** and related tools may have following features:
1. **Connect kit** like RainbowKit / ConnectKit, is like the minimal version of [soul-wallet](https://github.com/proofofsoulprotocol/soul-wallet-packages), that will had a beautiful design and great user experience, help developers develop a DAPP with account abstraction connect easily. It also has auth features like
- fingerprint authentication
- web2 social login
- accounts / salts management
- compatible with modern wallet connect providers
2. **Wallet with plugin system**, that can be connect with connect kit, , with features like
- session keys
- recovery
- spending policies
- 2fa authentication
3. **Relay service kit**
- a load balancer to bundler API
- adapter to gelato / privacy voting or stackup, of the gasless service
## Project Team
- **Skyhigh** product and full-stack developer, AA ecosystem evangelist, full-time (120h), currently responsible for researching infrastructure, scenario research, AA Weekly report, SDK design, development and testing.
- **Amagi** front-end and full-stack developer, technical lead, full-time (120h), researching SDK technical implementation, client design, and scenario implementation.
- **Andrew** researcher and zk co-learning initiator, part-time (40h), researching AA scenario implementation and the combination of zk and AA.
> We are all members of the Chinese developer community and support DAOs including Rebase, Plancker, LXDAO, SeeDAO, and 706 Youth Space.
## Background
1. **In aspect of building open source sdk:**
- website: [https://accountjs.xyz/](https://accountjs.xyz/)
- github: [https://github.com/accountjs](https://github.com/accountjs)
2. **In aspect of community scaling:**
- research: https://github.com/accountjs/aa-research
- We are researching on projects and produced 3 AA Weekly reports on the AA ecosystem.
- We have shared and preached the EIP4337 technology and scenarios several times in the Rebase community.
- community:
- We are contributors of SoulWallet which is a mobile app in ETHBogota.
- We operated a Chinese ecosystem developer community for three months with about 100 members.
 | 
--- | ---
3. **In aspect of exploring extensions of AA ecosystem**
- hackthon of zk+AA: [https://github.com/PrivateGuard](https://github.com/PrivateGuard)
- hackthon of auth+AA: [https://github.com/accountjs/account.js-next/tree/main/packages/connectkit](https://github.com/accountjs/account.js-next/tree/main/packages/connectkit)
## Methodology
- We will leverage the advantages of the existing AA SDK to create integration tutorials and documentation, and add them to our framework.
- We will also reach out to community members to communicate and jointly develop AA wallet standards, and promote a unified wallet system.
- Additionally, we will recruit more volunteer AA developers from the community to contribute to the development of the AA ecosystem applications.
## Timeline
The Timeline will consist 4 months and 3 milestones:
1. **Milestone: Basic research**
- 2 weeks: Studied the existing AA SDK system, researched scenarios, and extracted SDK requirements (half completed)
- 2 weeks: Developed AA SDK public version, proposed unified Account, and maintained documentation
- Output: AA public version, Unified Account EIP proposal
2. **Milestone: Application research**:
- 4 weeks: Developed demo, scaffold, community communication and collaboration
- 4 weeks: Maintained documentation, developed tutorials, hackathons and integrated AA applications
- Output: DEMO and Scaffold, development tutorial documentation
3. **Milestone: Evangelism and Promotion**
- 4 weeks: Jointly maintained AA community, added zk access and scenarios, improved user experience, promoted community EIP popularization and offline hackathon activities
- Output: Improved documentation, activities review.
## Budget
Our full-time team includes two major tasks: **AA SDK development** and **Chinese community evangelism**. We have already completed some preliminary work, so we are applying for up to 50K:
- R&D costs: 30K
- Operation costs(eg. design): 7K
- Promotion and education: 5K
- Machine equipments costs: 3K
- Software service costs: 2K
- Product collaboration costs: 3K