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

Change public offer format for display and from string #171

Merged
merged 3 commits into from
Nov 11, 2021

Conversation

h4sh3d
Copy link
Member

@h4sh3d h4sh3d commented Nov 10, 2021

Use base58 with checksum for public offers print and parse functions.

@TheCharlatan
Copy link
Member

TheCharlatan commented Nov 11, 2021

Feature request: How about adding some prefix bytes to identify it has an offer? Something like offer.

@h4sh3d
Copy link
Member Author

h4sh3d commented Nov 11, 2021

There is already 6 magic bytes in the offer, IIRC "FCSWAP", either we move them outside to be real ASCII value after "serialization", or we also add the offer on top of it. I like the idea of having visual human readable feedback, e.g. crates.io token start with cio.

@TheCharlatan TheCharlatan merged commit 6e03d87 into farcaster-project:main Nov 11, 2021
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.

2 participants