Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sovereign accounts and EVM system layer #1331

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

dmitrylavrenov
Copy link
Contributor

@dmitrylavrenov dmitrylavrenov commented Mar 6, 2024

The main goal of this pallet is to provide the opportunity to have a completely separate independent account system from native substrate system accounts. In the case when the native account system needs to work with 32 byte addresses, but EVM-compatibility with 20 byte addresses is required as well for some reason, there is a need to map these addresses, which can cause a lot of inconvenience to users and developers, since the 32 and 20 addresses are cryptographically cannot be matched 1 to 1 bijectively.

This pallet will make it possible, within one runtime, to define two independent separate account systems (native and evm), the main advantages of which are:

  • no need to synthetically map 20-byte addresses with 32-byte ones
  • EVM accounts can exist independently with their own logic, for example, there is no need for proper management of consumers and providers, which are needed just for the native account system.

@dmitrylavrenov dmitrylavrenov marked this pull request as ready for review March 12, 2024 07:37
@MOZGIII
Copy link
Contributor

MOZGIII commented Mar 15, 2024

Let's make this PR a draft, since it is supposed to be merged after #1329 goes in.

@dmitrylavrenov dmitrylavrenov marked this pull request as draft March 15, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants