Comments (5)
I propose to implement two methods: one for getting a current account, and the other one for getting all accounts.
- for the first you can subscribe only to the
current
account. - for the second you can subscribe to both
current
andconnected
accounts.
from aexs.
@shekhar-shubhendu how #57 resolves this issue?
from aexs.
What meaning has a current account for aepp if it already has access to several accounts? Aepp can't ask wallet to change current account, but it can use any of them to sign a transaction. Looks that to know current
account is not useful in that case. So, I propose to return only an object of accounts. If it contains only one account it means that it is "the current one" if not then aepp can show own account switcher or something similar.
from aexs.
I propose to implement two methods: one for getting a current account, and the other one for getting all accounts.
- for the first you can subscribe only to the
current
account.- for the second you can subscribe to both
current
andconnected
accounts.
this will be kept as it is.
What meaning has a current account for aepp if it already has access to several accounts? Aepp can't ask wallet to change current account, but it can use any of them to sign a transaction. Looks that to know
current
account is not useful in that case. So, I propose to return only an object of accounts. If it contains only one account it means that it is "the current one" if not then aepp can show own account switcher or something similar.
this will not be impl. as it only removes the distinction and does not add anything extra.
from aexs.
no longer relevant, AEX-2 is withdrawn. I am wondering if we should propose a new standard for wallet connections. seems like this has generally been a big pain in the past
from aexs.
Related Issues (20)
- AEX-1: Aeternity expansion process
- AEX-2: Third-party Wallet Provider Support HOT 3
- AEX-3: Secret storage format
- AEX-4: æternity wallet deep linking specification HOT 1
- AEX-5: Inter-Wallet Communication HOT 3
- AEX-6: Strategic Semantic Syntax Part 1: Contract Interaction Wrapper HOT 2
- AEX-7: Data Serialization HOT 2
- AEX-8: Message Signing
- AEX-9: Fungible Token Standard HOT 5
- AEX-10: Derivation path for deterministic wallets HOT 1
- AEX-11: Compliant Fungible Token Standard
- Verifiable off-chain state for accounts
- AEX-5: Simplify methods names HOT 1
- AEX-129: Data Serialization
- AEX-130: æpps Metadata Format Specification
- Proposal: Aliased denominations HOT 2
- Extension for AEX-9: Include payload HOT 2
- AEX-2 - passing config data to the wallet ? HOT 3
- Non-Fungible Token standard HOT 75
- Request for clarification and potential improvements: AEX-3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aexs.