Skip to content

Conversation

@jakeFeldman
Copy link
Contributor

This ERC introduces a new wallet RPC, wallet_addSubAccount, which allows an app to request a wallet to track a smart account that the wallet owns. It also allows apps to request the wallet to provision a new account, owned by the universal wallet with a signer provided by the caller.

@eip-review-bot
Copy link
Collaborator

eip-review-bot commented Feb 27, 2025

✅ All reviewers have approved.

@eip-review-bot eip-review-bot changed the title Add initial draft of hierarchical accounts api Add ERC: API for hierarchical accounts Feb 27, 2025
@github-actions github-actions bot added the w-ci label Feb 27, 2025
@github-actions github-actions bot added w-ci and removed w-ci labels Mar 3, 2025
@github-actions github-actions bot removed the w-ci label Mar 3, 2025
@github-actions github-actions bot added the w-ci label Mar 3, 2025
@jakeFeldman jakeFeldman force-pushed the hierarchical-accounts-api branch from 4d3acb3 to b5cfaf7 Compare March 7, 2025 18:00
Co-authored-by: Mercy Boma Naps Nkari <[email protected]>
@github-actions github-actions bot added the w-ci label Jun 30, 2025
SamWilsn
SamWilsn previously approved these changes Jun 30, 2025
Copy link
Contributor

@SamWilsn SamWilsn left a comment

Choose a reason for hiding this comment

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

Good enough for draft! Please address these comments before moving to review.


## Abstract

This ERC introduces a new wallet RPC, `wallet_addSubAccount`, which allows an app to request a wallet track a smart account that the wallet owns. It also allows apps to request the wallet to provision a new account, owned by the universal wallet with a signer provided by the caller.
Copy link
Contributor

Choose a reason for hiding this comment

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

I still think you need more details about what "track" means in this context. I assume that the idea is that the dapp wants a unique address, and "track" means both "display in the wallet UI" and "allow the user to send transactions from it"?


## Motivation

Embedded app accounts (onchain accounts specific to a single app) have led to a proliferation of user addresses, which can be difficult for users to keep track of. Many embedded app account users also have a universal wallet, which can be used across apps. With hierarchical ownership–where one smart account can own another–if the embedded app account is a smart account, it could be owned by the user’s universal wallet. This would allow users to be able to control an app account via their universal wallet. However, though hierarchical ownership is already possible today, there is no way for apps to tell universal wallets about embedded app accounts a user may have. The proposed RPC provides a path for this.
Copy link
Contributor

Choose a reason for hiding this comment

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

Should define what a "universal wallet" is. Something like MetaMask that you use cross-dapp?

@eip-review-bot eip-review-bot enabled auto-merge (squash) June 30, 2025 19:27
Copy link
Collaborator

@eip-review-bot eip-review-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

eip-review-bot
eip-review-bot previously approved these changes Jun 30, 2025
Copy link
Collaborator

@eip-review-bot eip-review-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

@SamWilsn SamWilsn dismissed stale reviews from eip-review-bot and themself via fa70447 June 30, 2025 19:28
SamWilsn
SamWilsn previously approved these changes Jun 30, 2025
@github-actions github-actions bot removed the w-ci label Jun 30, 2025
Copy link
Collaborator

@eip-review-bot eip-review-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

eip-review-bot
eip-review-bot previously approved these changes Jun 30, 2025
Copy link
Collaborator

@eip-review-bot eip-review-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

@SamWilsn SamWilsn dismissed stale reviews from eip-review-bot and themself via acf2ee2 June 30, 2025 19:31
SamWilsn
SamWilsn previously approved these changes Jun 30, 2025
Copy link
Collaborator

@eip-review-bot eip-review-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

Copy link
Collaborator

@eip-review-bot eip-review-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

eip-review-bot
eip-review-bot previously approved these changes Jun 30, 2025
Copy link
Collaborator

@eip-review-bot eip-review-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

@github-actions
Copy link

The commit acf2ee2 (as a parent of 909db5f) contains errors.
Please inspect the Run Summary for details.

@github-actions github-actions bot added the w-ci label Jun 30, 2025
@SamWilsn SamWilsn dismissed stale reviews from eip-review-bot and themself via c6f914f June 30, 2025 19:52
Copy link
Collaborator

@eip-review-bot eip-review-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

Copy link
Collaborator

@eip-review-bot eip-review-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

@eip-review-bot eip-review-bot merged commit eac6336 into ethereum:master Jun 30, 2025
10 of 13 checks passed
@github-actions github-actions bot removed the w-ci label Jun 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants