5

the normal devnet rpc is quite slow recently. How can i define a specific rpc url from lets say helius, quicknode, hellomoon or triton instead?

anchor deploy --url rpcurl 

doesnt work.

1 Answer 1

5

Add your endpoint in Anchor.toml file:

[provider]
cluster = "endpoint here"
wallet = "C:\\Users\\0xShuk\\.config/solana/id.json"
1
  • Thank you very much, that worked! But it was actually not my problem turned out. My program was deploying so slowly because my CLI was on version 1.15.1. Now that I downgraded to 1.13.8 its super fast again!
    – Jonas H.
    Commented May 12, 2023 at 15:27

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.