POPKORN: Zero-Knowledge MultiSig for Mina Protocol
Project Background
POPKORN is an innovative MultiSig wallet solution built on Mina, leveraging O1js, to streamline how users interact with blockchain applications. By utilizing zero-knowledge proofs for authentication and transaction authorization, POPKORN creates a faster, more user-friendly MultiSig experience with fewer pop-ups, while maintaining robust security.
Proposal Overview
Problem
Traditional MultiSig wallets often require complex coordination and multiple interactions, creating a barrier to adoption and efficient use. This complexity can deter users from leveraging the enhanced security benefits of MultiSig solutions.
Solution
POPKORN introduces a streamlined approach to MultiSig wallets on Mina:
- Faster proof generation for each transaction by multiple users
- Efficient MultiSig dApp to aggregate and verify proofs
- Significantly reducing the number of pop-ups and user interactions
While the focus of this proposal is on developing a MultiSig MVP, our long-term vision is to extend this solution into a standalone framework. This framework will empower all Mina applications to replace traditional signing mechanisms with zero-knowledge proofs, enhancing both security and user experience across the ecosystem.
Grant Scope
We will develop an MVP MultiSig dApp implementing the POPKORN solution, capable of receiving and sending tokens after collecting the required number of proofs from authorized users.
While the MVP focuses on the MultiSig functionality, it will lay the groundwork for a broader, more versatile solution that could eventually serve as a universal proof-based authentication mechanism for Mina applications. This future potential, although outside the scope of this grant, represents a significant step forward in how Mina dApps could manage transactions and user interactions.
Ecosystem Impact
- User Experience: Simplifying MultiSig interactions to encourage wider adoption of secure wallet solutions on Mina.
- Developer Tools: Providing an easier framework for integrating MultiSig functionality into Mina dApps.
- Ecosystem Growth: Attracting new users to Mina through user-friendly, secure wallet options.
Audience
- Existing Mina users seeking more efficient MultiSig solutions
- New users looking for secure, easy-to-use wallet options on Mina
- Developers interested in new authentication mechanisms for Mina dApps.
Architecture & Design
Detailed Design
- Wallet Connection and Multisig Setup:
- Users connect their standard Mina wallet to the POPKORN zkApp
- Within the dApp, users can create a new multisig wallet
- Setup includes specifying signers, confirmation threshold, hierarchy and other parameters
- Multisig Wallet Creation:
- Users define the number of signers and required confirmations
- Network fee (1 MINA) for new account setup is covered by the deployer
- Transaction Proposal and Signing:
- Any signer can propose a transaction from the multisig wallet
- Other signers are notified and can review the transaction
- POPKORN generates zero-knowledge proofs for signer approval, replacing traditional signatures
- Proof Aggregation and Execution:
- The multisig contract receives and verifies proofs from authorized signers
- Proofs are aggregated until the required threshold is met
- Once the threshold is reached, the transaction is automatically executed
- Wallet Management:
- Users can modify the number of signers and required confirmations after creation
- The dApp provides a user-friendly interface for managing the multisig wallet
Vision
To establish POPKORN as the go-to MultiSig solution on Mina, we aim to:
- Provide a seamless, user-friendly interface for creating and managing multisig wallets
- Minimize user interactions required for secure MultiSig transactions while maintaining robust security
- Lay the foundation for a universal proof-based signing solution that can be integrated into any Mina dApp in the future.
Production Timeline
We target a production-ready MultiSig dApp within 3 months of funding.
Budget & Milestones
Milestones
- Develop core proof generation and verification logic
- Implement MultiSig dApp smart contract
- Create user-friendly wallet interface
- Integrate proof aggregation and verification
- Conduct testing and security audits
Project Timeline
3 months
Mid-Point Check-In
At the mid-point (around 1.5 months in), we plan to have made progress on the following:
1. Proof Generation & Verification:
• Initial development of zero-knowledge proof generation and verification logic.
• Early-stage testing to ensure basic functionality is working.
2. MultiSig Smart Contract:
• Basic structure of the MultiSig smart contract in place, capable of handling signers and transactions.
• Deployed on testnet for initial testing, but not fully feature-complete.
3. Prototype User Interface:
• A rough prototype interface where users can connect their Mina wallet and start setting up a MultiSig wallet.
• Some core features will be functional, with others still in development.
Budget Requested
30,000 MINA
Budget Breakdown
- Core POPKORN functionality: 12,000 MINA
- MultiSig dApp development: 12,000 MINA
- User interface and wallet integration: 3,000 MINA
- Testing, auditing, and documentation: 3,000 MINA
Wallet Address
B62qrNc1QFe8Sr1ioGaanuDQ9aLvcpcNVpcwMDBtTmaXXH72cLtStBV
B62qjfxgtyYsjpfKZGQ4AACvH96uVY5TAwjkW1DubWfwP2nbEqjrrSy
Team Info
Team Members
Team Achievements
- First prize at ZkHack Krakow for POPKORN prototype
- Both Kacper and arjanjohan are EthGlobal finalists (EthGlobal Brussels)
Proposer Github
Popkorn Github link
Proposer Experience
Our team has demonstrated expertise in zero-knowledge proofs and blockchain development, as evidenced by our win at ZkHack Krakow with the POPKORN prototype.
Risks & Mitigations
Risks
- Potential vulnerabilities in proof handling
- User adoption challenges
- Compatibility with existing Mina infrastructure
Mitigations
- Rigorous security audits and leveraging Mina’s native security features
- Focus on intuitive UX design and user education
- Close collaboration with Mina community for seamless integration
Additional Considerations
- Explore synergies with other Mina ecosystem projects
- Prioritize scalability for growing user base
- Establish a roadmap for evolving the MultiSig solution into a universal proof-based authentication framework for all Mina dApps.