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

Add better error messages to withdraw command #2145

Conversation

KartikSoneji
Copy link
Contributor

Inform the user if they are using the wrong keypair or if the candy machine doesn't exist on that network.

Wrong keypair:

wallet public key: 2HFxkoiGDJbCEvduYrJkLD5X7Uwddo2FjmN3jvnWPyy8
Using cluster mainnet-beta
Incorrect wallet for candy machine Ej6MGpsqYLgpfNGcLLQksiNPYWnfvkqqTrEqyHQqWtVb
Candy machine authority is ERRERiw8k8x2pjLAmW12WfMUpw6QKT5MQvCaAD9aUPav
Keypair "id.json" is 2HFxkoiGDJbCEvduYrJkLD5X7Uwddo2FjmN3jvnWPyy8

Candy machine not found:

wallet public key: 2HFxkoiGDJbCEvduYrJkLD5X7Uwddo2FjmN3jvnWPyy8
Using cluster mainnet-beta
Candy Machine Ej6MGpsqYLgpfNGcLLQksiNPYWnfvkqqTrEqyHQqWtVb not found on mainnet-beta

@vercel
Copy link

vercel bot commented May 24, 2022

@KartikSoneji is attempting to deploy a commit to the Metaplex Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented May 24, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
candy-machine-ui ✅ Ready (Inspect) Visit Preview May 24, 2022 at 10:13PM (UTC)

@vercel vercel bot temporarily deployed to Preview – candy-machine-ui May 24, 2022 22:13 Inactive
@stegaBOB stegaBOB merged commit 0a63ec7 into metaplex-foundation:master Jun 11, 2022
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.

2 participants