3

I deploy a program, and get the program ID back. But when i try to search the devnet it is never deployed.

Program Id: Hxcpf8xPXRxqaoCGE4dARpkpCau6ojuwCGLZcqoKSdHx

Deploy success

1 Answer 1

4

Are you sure you are deploying the program to the devnet an not in your local validator? can you run the deploy with the provider.cluster flag to be sure?:

anchor deploy --provider.cluster devnet 
1
  • ya that fixed it, i thought if i set my config to devnet it would auto deploy on devnet Commented Feb 22, 2023 at 20:32

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.