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

Mutli-chain accounts (Ethereum compatible) #87

Open
jasny opened this issue Jun 28, 2023 · 2 comments
Open

Mutli-chain accounts (Ethereum compatible) #87

jasny opened this issue Jun 28, 2023 · 2 comments
Milestone

Comments

@jasny
Copy link
Member

jasny commented Jun 28, 2023

Allow users to create secp256k1 accounts. See https://docs.ltonetwork.com/libraries/javascript/accounts#multi-chain-accounts

The users should (optionally) be able to choose a network for the derivation path (eg Ethereum). This will ensure that they'll get the same account when using the same seed in Metamask. Note that the derivation path doesn't matter for operating on either LTO Network or other chains.

@jasny
Copy link
Member Author

jasny commented Jun 28, 2023

Obtaining an Ownable that's bound to an NFT (most common use case) can only be done with a secp256k1 account.

💡 Maybe the user can switch between key types after being logged in. This way would work well with #76, when allowing the user to easily switch between accounts with the same seed but a different nonce.

@jasny jasny added this to the Ownables milestone Jun 28, 2023
@jasny
Copy link
Member Author

jasny commented Jun 29, 2023

Perhaps, choose the account type when creating an account.

Screenshot from 2023-06-28 22-22-55

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

No branches or pull requests

1 participant