Skip to content

Create eth_accounts.md#47

Closed
DockBoss wants to merge 1 commit intoethereum:mainfrom
DockBoss:patch-2
Closed

Create eth_accounts.md#47
DockBoss wants to merge 1 commit intoethereum:mainfrom
DockBoss:patch-2

Conversation

@DockBoss
Copy link
Contributor

  • Geth
  • OpenEthereum
  • Nethermind
  • Besu
  • Erigon

- [ ] Geth
- [ ] OpenEthereum
- [ ] Nethermind
- [ ] Besu
- [ ] Erigon
@alita-moore
Copy link

cc @MicahZoltu @timbeiko @marcindsobczak @gnidan @rekmarks @rakitadragan @vorot93

This is a PR for adding edgecases for the proposed method. In particular, an edgecase is defined as any behavior outside of the OpenRPC specification defined in this repository. This needs approval from all 5 clients before it can be merged. This is one method in a slew soon to come.

@@ -0,0 +1 @@
* If the cleint owns any ethereum addresses it **MUST** return them, otherwise it **MUST** return an empty array.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should be more clear about "owns" here and instead say something like "has private keys for".

The client can return whatever subset of addresses it wants. The user may tell the client "only tell dapps about accounts 1 and 3 but not 2 and 4" and the client must respect that. Similarly, the client may prompt the user before returning any accounts and ask the user which (if any) they want to return.

Even then, it is quite reasonable for a client or wallet to return an address it doesn't have signing keys for such as if you have a view-only wallet you are using.

TL;DR: I recommend removing this line (and thus file I guess) entirely.

@alita-moore alita-moore mentioned this pull request Aug 20, 2021
50 tasks
@lightclient lightclient added the A-edge-case Area: edge cases label Aug 23, 2021
@DockBoss DockBoss closed this Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-edge-case Area: edge cases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants