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

feat(gtk): support create Ed25519 in gtk #1489

Merged
merged 9 commits into from
Sep 4, 2024

Conversation

Ja7ad
Copy link
Contributor

@Ja7ad Ja7ad commented Aug 27, 2024

Description

This PR support generation Ed25519 account type on GTK.

image
image

Related issue(s)

@b00f
Copy link
Collaborator

b00f commented Aug 28, 2024

Why don't you get password before generating the Ed25519?
This way we keep the dialog as i t is and get password once needed.,

@Ja7ad
Copy link
Contributor Author

Ja7ad commented Aug 28, 2024

Why don't you get password before generating the Ed25519? This way we keep the dialog as i t is and get password once needed.,

fixed

@b00f
Copy link
Collaborator

b00f commented Aug 29, 2024

@Ja7ad please update the description

cmd/gtk/dialog_wallet_create_address.go Outdated Show resolved Hide resolved
@@ -21,13 +20,13 @@ func createAddress(ww *widgetWallet) {
addressLabel := getEntryObj(builder, "id_entry_account_label")

addressTypeCombo := getComboBoxTextObj(builder, "id_combo_address_type")
addressTypeCombo.Append(wallet.AddressTypeBLSAccount, "Account")
addressTypeCombo.Append(wallet.AddressTypeEd25519Account, "ED25519 Account")
Copy link
Collaborator

Choose a reason for hiding this comment

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

We can define String function for Address Types

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Address types in wallet is not enum and don't have specific type for define String method.

We can use crypto.AddressType in future.

@b00f b00f merged commit 1dc4092 into pactus-project:main Sep 4, 2024
10 checks passed
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.

Support Generation of Ed25519 Address in GUI
2 participants