Skip to content

ledger support - #320

Closed
turbocrime wants to merge 8 commits into
mainfrom
ledger-impl
Closed

ledger support#320
turbocrime wants to merge 8 commits into
mainfrom
ledger-impl

Conversation

@turbocrime

@turbocrime turbocrime commented Apr 9, 2025

Copy link
Copy Markdown
Collaborator

depends on penumbra-zone/web#2229

successfully signs transactions requested by frontend.

ui is not amazing, onboarding may be fragile.

required more significant storage refactor than i expected, due to many assumptions about the availability of a seed phrase. i want to split this out into phases.

@turbocrime
turbocrime requested a review from TalDerei April 28, 2025 06:26
@turbocrime
turbocrime marked this pull request as ready for review April 28, 2025 06:26
@turbocrime

Copy link
Copy Markdown
Collaborator Author

TODO: ensure wallet creation height is not set

@turbocrime

Copy link
Copy Markdown
Collaborator Author

TODO: ensure wallet creation height includes chain name


async sign(
plan: PartialMessage<TransactionPlan>,
metadata?: string[],

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

unknown

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

replace with an imported bech32m implementation

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

rename file

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

add toast directing user attention to authorization

Comment on lines +7 to +9
// TODO: retrieve from storage/config
//const activeMethods = new Set(['prax', 'ledger']);
const activeMethods = new Set(['ledger']);

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

rm constant, use correct auth for wallet

Comment on lines +11 to +12
const methods = [];
for (const methodName of activeMethods) {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

does not need to be a loop

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

improve ui

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

improve welcome ui

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

revert some of this

Comment on lines +36 to +39
const migrateNumeraires = (
numeraires: V1LocalStorageState['numeraires'],
): V2LocalStorageState['numeraires'] =>
numeraires.map(n => bech32mAssetId(AssetId.fromJsonString(n)));

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

don't change numeraires format

@turbocrime

Copy link
Copy Markdown
Collaborator Author

closing in favor of smaller changesets beginning with #400

@turbocrime turbocrime closed this Jul 30, 2025
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.

1 participant