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

Token Deploy command does not mint the correct amount #252

Open
RodrigoAD opened this issue Mar 16, 2022 · 0 comments
Open

Token Deploy command does not mint the correct amount #252

RodrigoAD opened this issue Mar 16, 2022 · 0 comments
Labels

Comments

@RodrigoAD
Copy link
Member

Gauntlet currently uses Spl token library to interact with the Token program. This library only exports the mintTo instruction, which is not as precise as the mintToChecked one.

Anchor will release a token utility soon, and the spl token made a major refactor on a new release, which has these instructions available.

Either update the command when the new anchor release is available, or refactor every token functionality in gauntlet to use the new spl token library.

anchor: https://github.com/project-serum/anchor/blob/master/ts/src/spl/index.ts#L8
spl: https://github.com/solana-labs/solana-program-library/tree/master/token/js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant