apps
apps copied to clipboard
Using ALITH on Moonbeam without having to manually give private key
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!