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

Add hardware wallet support #219

Open
Thegaram opened this issue Sep 11, 2020 · 0 comments
Open

Add hardware wallet support #219

Thegaram opened this issue Sep 11, 2020 · 0 comments

Comments

@Thegaram
Copy link

What problem are you trying to solve?

Add hardware wallet support. I would like to be able to manage my conflux keys on a hardware wallet and sign transactions with it.

Describe the solution you'd like

Given that Conflux is mostly compatible with Ethereum, I think existing hardware wallets might work out of the box. Is it possible to enable this feature from MetaMask on Conflux Portal so that users can sign transactions using their hardware devices?

The way this works is something like this: Conflux Portal reads public keys from device and derives the addresses. When sending a transaction, Conflux Portal sends a sign transaction request to the wallet.

Additional context

In order for CFX to show up in the associated hardware wallet dashboards, we might need to modify their firmware (see [here] and [here]). However, using devices just for signing on Conflux Portal might work out of the box. For now, this would mean using the same accounts on Conflux as one uses on Ethereum. Later we can add full integration to popular hardware wallets.

Conflux uses a slightly different approach to deriving addresses from public keys (0x1 prefix for normal accounts, 0x8 for contracts), see equation (1) from the spec.

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