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 base implementation for Ledger wallet #158

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

fsodano
Copy link
Contributor

@fsodano fsodano commented Aug 4, 2022

image
image
image

* Remove debug messages
* Add tests
* Fix issue where getPublicKey was being triggered twice
@fsodano fsodano changed the title [WIP] Add base implementation for Ledger wallet Add base implementation for Ledger wallet Aug 19, 2022
cy.get('.simple-signer-container').as('container');
});
it("Should check if there's five connect methods", () => {
it('Should should display the connect methods', () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the should word is duplicated.

@@ -23,11 +23,11 @@ export default class Albedo extends AbstractWallet implements IWallet {
}

public override async getPublicKey(): Promise<string> {
const requestPubKey = await window.albedo.publicKey({
const { pubkey } = await window.albedo.publicKey({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be in camelCase? Just like the others wallets?

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

Successfully merging this pull request may close these issues.

As a developer, I want users to be able to connect and sign using Ledger
3 participants