Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos #1779

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Thanks for taking the time to improve stellar-cli!

The following is a set of guidelines for contributions and may change over time.
Feel free to suggest improvements to this document in a pull request.We want to make it as easy as possible to contribute changes that help the Stellar network grow and
Feel free to suggest improvements to this document in a pull request. We want to make it as easy as possible to contribute changes that help the Stellar network grow and
thrive. There are a few guidelines that we ask contributors to follow so that we can merge your
changes quickly.

Expand All @@ -20,7 +20,7 @@ There are 2 ways to begin developing stellar-cli:

### Installing all required dependencies

You may want to install all required dependencies locally. This includes installing `rustup`, `make`, `libudev`, `jq` from your package manager. After all dependencies are installed, you can start with running `make install` to build `stellar-cli` and install it!
You may want to install all required dependencies locally. This includes installing `rustup`, `make`, `libudev`, `jq` from your package manager. After all dependencies are installed, you can start by running `make install` to build `stellar-cli` and install it!

### Using `nix`

Expand All @@ -36,7 +36,7 @@ You can add extra configuration in your `local.sh` file (for example, if you wan
#!/usr/bin/env bash
export STELLAR_NETWORK=testnet
```
Note that all of dependencies and configurations mentioned above is available only in your local development shell, not outside of it.
Note that all of the dependencies and configurations mentioned above are available only in your local development shell, not outside of it.


### Minor Changes
Expand Down
14 changes: 7 additions & 7 deletions FULL_HELP_DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ To view the commands that will be executed, without executing them, use the --pr

If provided, wasm files can be found in the cargo target directory, and the specified directory.

If ommitted, wasm files are written only to the cargo target directory.
If omitted, wasm files are written only to the cargo target directory.
* `--print-commands-only` — Print commands to build without executing them
* `--meta <META>` — Add key-value to contract meta (adds the meta to the `contractmetav0` custom section)

Expand Down Expand Up @@ -559,7 +559,7 @@ Outputs no data when no data is present in the contract.

Output the metadata stored in a contract.

A contract's meta is a series of key-value pairs that the contract developer can set with any values to provided metadata about the contract. The meta also contains some information like the version of Rust SDK, and Rust compiler version.
A contract's meta is a series of key-value pairs that the contract developer can set with any values to provide metadata about the contract. The meta also contains some information like the version of Rust SDK, and Rust compiler version.

The data outputted by this command is a stream of `SCMetaEntry` XDR values. See the type definitions in [stellar-xdr](https://github.com/stellar/stellar-xdr). [See also XDR data format](https://developers.stellar.org/docs/learn/encyclopedia/data-format/xdr).

Expand Down Expand Up @@ -599,7 +599,7 @@ Outputs no data when no data is present in the contract.

Output the env required metadata stored in a contract.

Env-meta is information stored in all contracts, in the `contractenvmetav0` WASM custom section, about the environment that the contract was built for. Env-meta allows the Soroban Env to know whether the contract is compatibility with the network in its current configuration.
Env-meta is information stored in all contracts, in the `contractenvmetav0` WASM custom section, about the environment that the contract was built for. Env-meta allows the Soroban Env to know whether the contract is compatible with the network in its current configuration.

The data outputted by this command is a stream of `SCEnvMetaEntry` XDR values. See the type definitions in [stellar-xdr](https://github.com/stellar/stellar-xdr). [See also XDR data format](https://developers.stellar.org/docs/learn/encyclopedia/data-format/xdr).

Expand Down Expand Up @@ -940,7 +940,7 @@ Create and manage identities including keys and addresses
* `ls` — List identities
* `rm` — Remove an identity
* `show` — Given an identity return its private key
* `use` — Set the default identity that will be used on all commands. This allows you to skip `--source-account` or setting a environment variable, while reusing this value in all commands that require it
* `use` — Set the default identity that will be used on all commands. This allows you to skip `--source-account` or setting an environment variable, while reusing this value in all commands that require it



Expand Down Expand Up @@ -1084,7 +1084,7 @@ Given an identity return its private key

## `stellar keys use`

Set the default identity that will be used on all commands. This allows you to skip `--source-account` or setting a environment variable, while reusing this value in all commands that require it
Set the default identity that will be used on all commands. This allows you to skip `--source-account` or setting an environment variable, while reusing this value in all commands that require it

**Usage:** `stellar keys use [OPTIONS] <NAME>`

Expand Down Expand Up @@ -1112,7 +1112,7 @@ Configure connection to networks
* `ls` — List networks
* `start` — ⚠️ Deprecated: use `stellar container start` instead
* `stop` — ⚠️ Deprecated: use `stellar container stop` instead
* `use` — Set the default network that will be used on all commands. This allows you to skip `--network` or setting a environment variable, while reusing this value in all commands that require it
* `use` — Set the default network that will be used on all commands. This allows you to skip `--network` or setting an environment variable, while reusing this value in all commands that require it
* `container` — ⚠️ Deprecated: use `stellar container` instead


Expand Down Expand Up @@ -1224,7 +1224,7 @@ Stop a network started with `network start`. For example, if you ran `stellar ne

## `stellar network use`

Set the default network that will be used on all commands. This allows you to skip `--network` or setting a environment variable, while reusing this value in all commands that require it
Set the default network that will be used on all commands. This allows you to skip `--network` or setting an environment variable, while reusing this value in all commands that require it

**Usage:** `stellar network use [OPTIONS] <NAME>`

Expand Down
6 changes: 3 additions & 3 deletions cmd/crates/soroban-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fn invoke() {
}
```

Itegration tests in Crate
==============
Integration tests in Crate
==========================

Currently all tests that require an RPC server are hidden behind a `it` feature, [found here](./tests/it/integration). To allow Rust-Analyzer to see the tests in vscode, `.vscode/settings.json`. Without RA, you can't follow through definitions and more importantly see errors before running tests tests.
Currently all tests that require an RPC server are hidden behind a `it` feature, [found here](./tests/it/integration). To allow Rust-Analyzer to see the tests in vscode, `.vscode/settings.json`. Without RA, you can't follow through definitions and more importantly see errors before running tests.
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/keys/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub enum Cmd {
Show(show::Cmd),

/// Set the default identity that will be used on all commands.
/// This allows you to skip `--source-account` or setting a environment
/// This allows you to skip `--source-account` or setting an environment
/// variable, while reusing this value in all commands that require it.
#[command(name = "use")]
Default(default::Cmd),
Expand Down
6 changes: 3 additions & 3 deletions cmd/soroban-cli/src/commands/network/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub enum Cmd {
Stop(crate::commands::container::StopCmd),

/// Set the default network that will be used on all commands.
/// This allows you to skip `--network` or setting a environment variable,
/// This allows you to skip `--network` or setting an environment variable,
/// while reusing this value in all commands that require it.
#[command(name = "use")]
Default(default::Cmd),
Expand Down Expand Up @@ -89,8 +89,8 @@ pub enum Error {
FailedToParseJSON(String, serde_json::Error),
#[error("Invalid URL {0}")]
InvalidUrl(String),
#[error("Inproper response {0}")]
InproperResponse(String),
#[error("Improper response {0}")]
ImproperResponse(String),
}

impl Cmd {
Expand Down
2 changes: 1 addition & 1 deletion cookbook/deploy-stellar-asset-contract.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ stellar contract asset deploy \
--asset USDC:GCYEIQEWOCTTSA72VPZ6LYIZIK4W4KNGJR72UADIXUXG45VDFRVCQTYE
```

The `asset` argument corresponds to the symbol and it's issuer address, which is how assets are identified on Stellar.
The `asset` argument corresponds to the symbol and its issuer address, which is how assets are identified on Stellar.

The same can be done for the native [Lumens] asset:

Expand Down