Skip to content

Using ALITH on Moonbeam without having to manually give private key #12063

@dudo50

Description

@dudo50

Hello,

Is there a way to do something like this?

const keyring = new Keyring({ type: 'ethereum' });

  // ALITH = "//Alice" in Substrate development keyring
  const alith = keyring.addFromUri("//Alice"); // Or //Alith

So that we do not have to do it manually from private key?

We would like to implement localhost accounts into our SDK, and having this way would be lot less painful.

Thanks!

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