-
Notifications
You must be signed in to change notification settings - Fork 27
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
Expose encoding facility, closes #37 #41
base: master
Are you sure you want to change the base?
Conversation
safanaj
commented
Nov 15, 2022
•
edited
Loading
edited
- expose bech32 module for easy marshalling
- added support for stake addresses
- added convinient method to build stake credential from key hash
ping @echovl |
* expose bech32 module for easy marshalling * added convinient method to build stake credential from key hash Signed-off-by: Marco Bardelli <bardelli.marco@gmail.com>
ca21a63
to
8011af7
Compare
@echovl @kevink1103 I updated this PR removing the addition of StakeAddress type as we agreed to prefer #46 . |
@safanaj looks ok to me but it needs some unit tests, that also will help to document the usage. |
Hi @echovl , do you mean unit tests to demonstrate how to implement Bech32Codec and Bech32Encoder interfaces? |
Signed-off-by: Marco Bardelli <bardelli.marco@gmail.com>
@echovl I added some unit tests, let me know if that is ok for you, eventually we can add more of them to have a really exhaustive test suite. |
Signed-off-by: Marco Bardelli <bardelli.marco@gmail.com>
ping @echovl |