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

support for setCollection during mint #18

Open
nftechie opened this issue Jun 8, 2022 · 1 comment
Open

support for setCollection during mint #18

nftechie opened this issue Jun 8, 2022 · 1 comment

Comments

@nftechie
Copy link

nftechie commented Jun 8, 2022

Hello! We hit an issue today during a mint, and realized we needed to set the collection ID during mint.

Here is an example transaction that was bot penaltied: https://explorer.solana.com/tx/2zP6tEw9vzGxGkPSDTyLKEzJieuP57LvzN8ddDbhm2cxaQR3PReqmA8pKLgYQYQP9sBbbABGFnZYqQuSMm6USjBV

You can see the error at the bottom of that tx:

Missing set collection during mint IX for Candy Machine with collection set, Candy Machine Botting is taxed at 10000000 lamports

In early March, it looks like Metaplex added a setCollection method: metaplex-foundation/metaplex@58679aa

Is there any chance you could add support for this?

@nftechie
Copy link
Author

nftechie commented Jun 8, 2022

That above metaplex link I sent was for setCollection, but it looks like there's instruction we'd need to set specifically during mint. Here's an example metaplex uses in their typescript client: https://github.com/metaplex-foundation/metaplex/blob/ffd3372a0c5e1700ebc70f8b8835083685eb65ca/js/packages/cli/src/commands/mint.ts#L371

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

1 participant