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

I can't Anchor build the Metaplex Core NFT project. #196

Open
solguru310 opened this issue Oct 1, 2024 · 4 comments
Open

I can't Anchor build the Metaplex Core NFT project. #196

solguru310 opened this issue Oct 1, 2024 · 4 comments

Comments

@solguru310
Copy link

I have one Anchor project related to Metaplex core NFT and Programmable NFT(PNFT) Staking project.

But various dependency mismatch problems have occured.
I have to use the main 5 dependencies such as 'anchor-lang', 'anchor-spl', 'mpl-core', 'mpl-token-metadata', 'solana-program'.
To build this Metaplex Core NFT and PNFT project correctly, Which dependency versions can I use?

I've already changed the version of dependencies, but I didn't find them stable.
And hence I couldn't build my project yet.

Please help me asap.
Looking for your response.

Regards

@Jars1987
Copy link

Were you bale to get a response?
Having the same issue with

anchor-lang = { version = "0.30.1", features = ["init-if-needed"] }
mpl-core = { version = "0.9.0", features = ["anchor"] }

@mwaa
Copy link

mwaa commented Feb 14, 2025

@Jars1987 Version 0.8.0 built successfully for me.

cargo add mpl-core@"0.8.0" --features anchor

P.S I haven't dug into changes introduced in version 0.9.0 to determine what is the difference

@blockiosaurus I think the latest crate has a breaking change with anchor version 0.30.1. I might be wrong

@Jars1987
Copy link

Yeah, I had to downgrade it to 0.8.0

So I moved on. But wold like to know what changed

@blockiosaurus
Copy link
Contributor

Thanks for catching this. Working on a fix now.

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

No branches or pull requests

4 participants