Skip to content

Commit

Permalink
Replace more places that were using soroban.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnando committed Jun 18, 2024
1 parent 78bc7cf commit ad5f13b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions cmd/soroban-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Docs: https://developers.stellar.org
## Install

```
cargo install --locked soroban-cli
cargo install --locked stellar-cli
```

To install with the `opt` feature, which includes a WASM optimization feature and wasm-opt built in:

```
cargo install --locked soroban-cli --features opt
cargo install --locked stellar-cli --features opt
```

## Usage
Expand All @@ -23,6 +23,6 @@ Can invoke a contract method as a subcommand with different arguments. Anything
## Example

```
soroban invoke --id <CONTRACT_ID> --wasm <WASMFILE> -- --help
soroban invoke --id <CONTRACT_ID> --network futurenet -- --help
stellar invoke --id <CONTRACT_ID> --wasm <WASMFILE> -- --help
stellar invoke --id <CONTRACT_ID> --network futurenet -- --help
```
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/contract/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub enum Cmd {
/// everything after the `--`, gets passed to this implicit CLI. Get in-depth help for a given
/// contract:
///
/// soroban contract invoke ... -- --help
/// stellar contract invoke ... -- --help
Invoke(invoke::Cmd),

/// Optimize a WASM file
Expand Down
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/network/container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub enum Cmd {
///
/// Start a container running a Stellar node, RPC, API, and friendbot (faucet).
///
/// soroban network start <NETWORK> [OPTIONS]
/// stellar network start <NETWORK> [OPTIONS]
///
/// By default, when starting a testnet container, without any optional arguments, it will run the equivalent of the following docker command:
/// docker run --rm -p 8000:8000 --name stellar stellar/quickstart:testing --testnet --enable-soroban-rpc
Expand Down
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/network/container/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ async fn run_docker_command(cmd: &Cmd) -> Result<(), Error> {
.await?;
println!("✅ Container started: {container_name}");
let stop_message = format!(
"ℹ️ To stop this container run: soroban network stop {network} {additional_flags}",
"ℹ️ To stop this container run: stellar network stop {network} {additional_flags}",
network = &cmd.network,
additional_flags = if cmd.docker_host.is_some() {
format!("--docker-host {}", cmd.docker_host.as_ref().unwrap())
Expand Down
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/network/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub enum Cmd {
///
/// Start a container running a Stellar node, RPC, API, and friendbot (faucet).
///
/// soroban network start <NETWORK> [OPTIONS]
/// stellar network start <NETWORK> [OPTIONS]
///
/// By default, when starting a testnet container, without any optional arguments, it will run the equivalent of the following docker command:
/// docker run --rm -p 8000:8000 --name stellar stellar/quickstart:testing --testnet --enable-soroban-rpc
Expand Down

0 comments on commit ad5f13b

Please sign in to comment.