1

I'm trying to use this guide to create an NFT to test with my anchor program. When I attempt to mint the NFT, I am met with the following error.

FailedToSendTransactionError: The transaction could not be sent successfully to the network. Please check the underlying error below for more details.

Caused By: Error: failed to send transaction: Transaction simulation failed: Attempt to load a program that does not exist

my connection is program.provider.connection, and I'm not sure what to do differently.

1 Answer 1

1

Most likely, the Metaplex metadata program is not present in your testing environment. You can dump the program by running:

solana program dump metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s mpl_token_metadata.so

And then add it to a test validator by running:

solana-test-validator --bpf-program metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s mpl_token_metadata.so

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.