Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Prettify types #4

Open
2 tasks
olanod opened this issue Oct 2, 2021 · 0 comments
Open
2 tasks

Prettify types #4

olanod opened this issue Oct 2, 2021 · 0 comments

Comments

@olanod
Copy link
Member

olanod commented Oct 2, 2021

When serializing SCALE to a text format like JSON some types like binary data result in long arrays of numbers that are hard to grasp specially if the serialized representation is meant to be read by humans.

Possible opt-in improvements

  • binary data as hex, base58 or base64
  • Account IDs as ss58 address string(default to prefix 42)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant