-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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-js: Support metadata pointer extension #4550
Comments
@joncinque Can I work on it? |
Go for it! I've updated the issue description to be more helpful |
I'm on it! Thank you! |
I installed the solana cli, when I try to execute cargo command I get the following message: ubuntu@ubuntu-16gb-nbg1-1:~/solana-program-library$ cargo build-bpf ubuntu@ubuntu-16gb-nbg1-1:~/solana-program-library$ solana --version Any ideas how to proceed? |
Sorry, we don't provide developer support through GitHub -- be sure to ask on an appropriate Discord server or the Solana Stack Exchange https://solana.stackexchange.com/ You can try the help for the build command by running |
The issue was with Solana-cli 1.16.2 after upgrading to newly released 1.16.3 all works |
Hey, I would love to take this up if anyone is not working on this. :) |
@dhruvdabhi101 go for it! |
Problem
With #4549, token-2022 can also store a pointer to a metadata account, but this isn't exposed in the JS bindings.
Solution
Support the following instructions:
solana-program-library/token/program-2022/src/extension/metadata_pointer/instruction.rs
Lines 77 to 95 in 0a36868
solana-program-library/token/program-2022/src/extension/metadata_pointer/instruction.rs
Lines 98 to 122 in 0a36868
Support deserializing the extension data:
solana-program-library/token/program-2022/src/extension/metadata_pointer/mod.rs
Lines 17 to 22 in 0a36868
This is a good example to follow, based on a different extension: #3833
The text was updated successfully, but these errors were encountered: