Some comments regarding this proposal
- it matches what exists on Ethereum ecosystem:
- no
enable
method (which is deprecated on Ethereum) - RPC method
wallet_requestAccounts
to retrieve a list of account
- no
- we could remove the reference of starknetjs by replacing the usage of its
AccountInterface
by a specific interface which match theAccountInterface
of starknetjs. - I kept the possibility to retrieve a list of accounts, even if some wallets provider could choose to only select one. This way we donβt close the door to let dapps manage different accounts.