Looks like it. The CLI has been updated since publishing this article, so in the main.src, don't change the original code, just paste your RPC url in the quotes where it says "Network address of your RPC url"
U did follow until the automation part. I have around 7 $ worth of Solana in my wallet. The only other thing I am not sure of is the change of code in main.src
The source:
struct Args {
#[arg(
long,
value_name ="NETWORK_URL",
help = "Network address of your RPC provider",
global = true
)]
rpc: Option<String>,
My change: since there was no default value parameter as said in your article I just erased the “global = true” and pasted the code from your tutorial (Under the default_value, replace the existing URL with the RPC link you copied from Helius), might that be the problem?
Looks like it. The CLI has been updated since publishing this article, so in the main.src, don't change the original code, just paste your RPC url in the quotes where it says "Network address of your RPC url"
Hey there tried to go step by step but it keeps sayin:
Simulaton error: Error { request: Some(SimulateTransaction), kind: Reqwest(reqwest::Error { kind: Status(429), url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("mainnet.helius-rpc.com")), port: None, path: "/", query: Some("api-key=80526b01-b2ae-4f32-a7d0-2e79d745d1be"), fragment: None } }) }
Hello, yeah this is also a common error.
Make sure you have enough SOL balance for gas.then run the command again.
Highly recommend you complete the steps till the automation part.
U did follow until the automation part. I have around 7 $ worth of Solana in my wallet. The only other thing I am not sure of is the change of code in main.src
The source:
struct Args {
#[arg(
long,
value_name ="NETWORK_URL",
help = "Network address of your RPC provider",
global = true
)]
rpc: Option<String>,
My change: since there was no default value parameter as said in your article I just erased the “global = true” and pasted the code from your tutorial (Under the default_value, replace the existing URL with the RPC link you copied from Helius), might that be the problem?