Repository navigation
SEP-23: Add Liquidity Pool and Claimable Balance Strkeys - #1646
Merged
Merged
Conversation
2 of 3 tasks
4 tasks done
leighmcculloch
marked this pull request as ready for review
February 18, 2025 05:56
leighmcculloch
requested review from
dmkozh and
stanford-scs
and removed request for
dmkozh
February 18, 2025 06:19
dmkozh
approved these changes
Feb 18, 2025
karthikiyer56
approved these changes
Feb 18, 2025
leighmcculloch
commented
Feb 27, 2025
| 2. Append the binary bytes of the key (e.g., 32-bytes for ED25519). | ||
| 2. Append the binary bytes of the key (e.g., 32-bytes for ED25519, 32-bytes for SHA256). | ||
|
|
||
| If we are encoding a claimable balance, the binary bytes of the key has a length of 33-bytes: 1-byte value |
Member
Author
There was a problem hiding this comment.
@stanford-scs The claimable balance strkey will not be padded to a multiple of 4. For some other strkeys like the signed payload we did padding, but I don't remember why or if that is truly important. I'm inclined to not pad for smaller strkeys in this case.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add two new strkey types for liquidity pool and claimable balance, including examples of valid and invalid addresses.
Why
In support of the upcoming changes to SEP-23 for CAP-67.
Related
Todo