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.)