diff --git a/crates/sncast/src/helpers/rpc.rs b/crates/sncast/src/helpers/rpc.rs index 17fdafe624..65414bdcde 100644 --- a/crates/sncast/src/helpers/rpc.rs +++ b/crates/sncast/src/helpers/rpc.rs @@ -14,7 +14,7 @@ pub struct RpcArgs { #[clap(short, long)] pub url: Option, - /// Use predefined network using public provider + /// Use predefined network using public provider. When using this option you may experience rate limits and other unexpected behavior #[clap(long)] pub network: Option, } diff --git a/docs/src/starknet/sncast-overview.md b/docs/src/starknet/sncast-overview.md index dd39eda151..90fd5dd3d2 100644 --- a/docs/src/starknet/sncast-overview.md +++ b/docs/src/starknet/sncast-overview.md @@ -53,6 +53,13 @@ response: [0x0, 0x0, 0x43686172697a617264, 0x9, 0x0, 0x0, 0x41a78e741e5af2fec34b > 📝 **Note** > In the above example we supply `sncast` with `--account` and `--network` flags. If `snfoundry.toml` is present, and have these properties set, values provided using these flags will override values from `snfoundry.toml`. Learn more about `snfoundry.toml` configuration [here](../projects/configuration.md#sncast). +### Network and RPC Providers + +When providing `--network` flag, `sncast` will randomly select on of the free RPC providers. +When using free provider you may experience rate limits and other unexpected behavior. + +If using `sncast` extensively, we recommend getting access to a dedicated RPC node and providing its URL to sncast with +`--url` flag. ### Arguments