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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add converts for pub key #7

Closed
wants to merge 1 commit into from

Conversation

ryzizub
Copy link
Contributor

@ryzizub ryzizub commented Jan 26, 2023

Hey @ethicnology 馃憢

I think very useful util can be possibility to convert hex key to npub and backwards. Adding those then

@ryzizub ryzizub changed the title add converts feat: add converts for pub key Jan 26, 2023
@ethicnology
Copy link
Owner

@ryzizub How hard will it be to replace dart_bech32 by bech32 which has more contributors/reviewers ?

@ryzizub
Copy link
Contributor Author

ryzizub commented Jan 27, 2023

@ethicnology should not be hard and im in, unfortunately bech32 have old convert library. It is already in main but its missing new release on pub.dev

There is an issue for that haarts/bech32#6

Lets wait for that to be solved and i will update it to bech32 library

@ryzizub
Copy link
Contributor Author

ryzizub commented Feb 12, 2023

I will convert the code to bech32 library since the update is done there. Also I think it would be great to include nsec convertion and nprofile convertion. Will do those too

@ethicnology
Copy link
Owner

Solved with NIP19 in #30

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.

None yet

2 participants