aeternity / AEXs

Aeternity expansions repository — application layer standards
10 stars 25 forks source link

AEX-2: How aepp can use a list of accounts returned from wallet.update.address? #47

Closed davidyuk closed 5 years ago

shekhar-shubhendu commented 5 years ago

Please expand on the topic.

davidyuk commented 5 years ago

wallet.update.address method provides a list of connected accounts. How aepp can use these connected accounts? Is it necessary to have it in standard?

shekhar-shubhendu commented 5 years ago

wallet.update.address method provides a list of connected accounts. How aepp can use these connected accounts?

every connected wallet will return this list. this means that wallet does not hold the keys to these accounts but is connected to the wallet that does. this connection can either be 1-1 or via another wallet that it can forward sign request through. getting signature for any of the connected account will be same as for current account and wallet will internally handle the request forwarding.

Is it necessary to have it in standard?

yes. esp for aex-5 as we would not like to update aex-2 again when aex-5 is enabled.

nduchak commented 5 years ago

So the main idea is to allow AEPP to use all Wallet available accounts(Can prepare transaction not only for current Wallet account)?

shekhar-shubhendu commented 5 years ago

@nduchak yes.

davidyuk commented 5 years ago

Ok, this one resolved. I got stuck on this probably because of current Base app architecture.