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

Update TextualEncoding.md #158

Merged
merged 4 commits into from
Dec 12, 2023
Merged

Conversation

letmejustputthishere
Copy link
Member

@letmejustputthishere letmejustputthishere commented Oct 3, 2023

@MarioDfinity i think it would be helpful to point interested parties to an implementation

Co-authored-by: Roman Kashitsyn <roman@dfinity.org>

* [`ic-js`](https://github.com/dfinity/ic-js/tree/main/packages/ledger-icrc#gear-encodeicrcaccount) (JavaScript).
* [`icrc-ledger-types`](https://docs.rs/icrc-ledger-types/0.1.2/icrc_ledger_types/icrc1/account/struct.Account.html) version `0.1.2` and higher (Rust).
* [`icrc1`](https://github.com/NatLabs/icrc1) (Motoko)
Copy link
Contributor

@roman-kashitsyn roman-kashitsyn Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The NatLabs/icrc1 respository implements an obsolete textual representation that the working group rejected. The reference Motoko implementation is in this repository: https://github.com/dfinity/ICRC-1/blob/main/ref/Account.mo

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for flagging

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we publish this as a mops.one library? @roman-kashitsyn

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we've already had this conversation: #98 (comment)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good memory :D

@letmejustputthishere
Copy link
Member Author

@MarioDfinity can we merge this?

@MarioDfinity
Copy link
Contributor

@letmejustputthishere feel free to merge when CI is done.

@letmejustputthishere letmejustputthishere merged commit b98d55d into main Dec 12, 2023
1 check passed
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.

3 participants