Giter VIP home page Giter VIP logo

Comments (5)

shekhar-shubhendu avatar shekhar-shubhendu commented on August 16, 2024 1

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 and connected accounts.

from aexs.

davidyuk avatar davidyuk commented on August 16, 2024

@shekhar-shubhendu how #57 resolves this issue?

from aexs.

davidyuk avatar davidyuk commented on August 16, 2024

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.

shekhar-shubhendu avatar shekhar-shubhendu commented on August 16, 2024

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 and connected 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.

marc0olo avatar marc0olo commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.