MinaFoundation / Core-Grants

21 stars 11 forks source link

RFC 0008: Standard JavaScript Mina Wallet Provider API #13

Closed teddyjfpender closed 1 month ago

teddyjfpender commented 5 months ago

🚀 Introduction to the Innovation

Here is RFC-0008! It's about introducing a standard JavaScript Mina Wallet Provider API to the ecosystem.

🤔 Why This Is Important

There exists no standard way for wallets and zkApps to interact. Standardising this API means zkApps have to spend less time integrating against many wallets, allowing any wallet to interact with any zkApp.

💭 Seeking Your Input

Your expertise, feedback, and perspective are needed to ensure that all requirements for a standardised wallet provider and any implementation are met!

NorbertBodziony commented 3 months ago

IMO we should also consider autodetection of wallets in this RFC. API of networks like Solana are based on https://github.com/wallet-standard/wallet-standard. This skips a lot of issues related to supply chain attack. ETH recently also released EIP addressing this issue https://eips.ethereum.org/EIPS/eip-6963.

Happy to make MVP after wallet interface gets finalized.