Skip to content

moonbeam key generate --scheme ecdsa does not generate a valid Ethereum/Moonbeam key #2371

@JoshOrndorff

Description

@JoshOrndorff
$ docker run -it purestake/moonbeam:latest key generate --scheme ecdsa
Secret phrase `usual enter midnight depend food rack angry curtain laugh brother word pact` is account:
  Secret seed:       0x8cdb2bcf7951bc673d791061e809c1739ab0c21871207e3f68361bb43f7405cc
  Public key (hex):  0x0382e1266710c52f2aa994e3ed4ac70b509dccf2ca33e8a864327ec1f4bf0cb359
  Public key (SS58): KWBfv7GEgJak3zxB3cA8jQXtsR6b2LK3EaZC7QFwfYvSBu8gz
  Account ID:        0x7ffaa2132f39cdaa2fb11fa42d65fe0df82e2d3751ea6a60cd7fc9185ff2313e
  SS58 Address:      5ExWPhHRfLn8UzWa22GhLxwQe4Mvk7jwUUKfvBUZXYm1xsxd

Look at that AccountId. 0x7ffaa2132f39cdaa2fb11fa42d65fe0df82e2d3751ea6a60cd7fc9185ff2313e It is 32 bytes long. I would expect this command to give me information that I could import into eg metamask. Or at minimum give me a 20 byte account id.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions