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

ts: Coder as interface and SPL token coder #1259

Merged
merged 17 commits into from
Jan 10, 2022
Merged

Conversation

armaniferrante
Copy link
Member

@armaniferrante armaniferrante commented Jan 7, 2022

Closes #799 and provides an implementation of the SPL token program serializer.

@armaniferrante armaniferrante changed the title ts: Coder as interface ts: Coder as interface and SPL token coder Jan 7, 2022

export { SplToken } from "./token.js";

export class Spl {
Copy link
Member Author

Choose a reason for hiding this comment

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

Might be better to put this into its own package. Presumably tree shaking makes this ok to bundle it in though?

@armaniferrante armaniferrante marked this pull request as ready for review January 10, 2022 01:42
@armaniferrante armaniferrante merged commit 84e0852 into master Jan 10, 2022
@armaniferrante armaniferrante deleted the armani/coder branch January 10, 2022 02:10
@mgild
Copy link
Contributor

mgild commented Feb 24, 2022

BorshCoder is a misnomer since it's still used to deserialize zero-copy accounts.

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.

ts: Anchor clients for non anchor programs
2 participants