[Wallet Council][Breakoutgroup][Data Sharing between wallets and dApps] - ARCs / Council/ATAC - Algorand
Wallet Council Breakoutgroup Data Sharing between wallets and dApps
Welcome to the Data Sharing between wallets and dApps Breakout Group Discussion Thread!
Group Focus
- Topic: Data Sharing between wallets and dApps.
- Objective: Find the format and the communication channel.
post by StephaneBarroso on Mar 1, 2024
post by joe-p on Mar 12, 2024
Some bullet points I wrote up during the meeting. Below are proposals for the kind of stuff we need for different methods/standards. Happy to formalize it a bit more later.
Messaging Standard
- JSON interface
{ method: string, params?: any } - All methods must be prefixed with
arcxxxx_
Handshake
- connect multiple accounts
- account types (EOA, ARC58, etc.)
- dApp can request specific account(s)
- signal which methods the wallet supports
- dApp → Wallet:
{ method: 'connect', params?: { accounts?: string[] } } - wallet → dApp:
{ accounts: { address: string, type: 'EOA' | 'ARC58'}[], supportedMethods: string[] }
Transaction Signing
- auth addrs
- auth addr types (EOA, ARC58, etc.)