## `add-balance`
-The `add-balance` command allows you to add balance to your market account.
-It takes a single `AMOUNT` argument, the balance, to add to the market account,
-and the balance will be added to the `free` balance.
+The `add-balance` adds balance to the market account of the extrinsic signer.
+It takes a single `AMOUNT` argument, the balance to add to the market account,
+the balance will be added to the `free` balance.
### Parameters
@@ -31,21 +30,21 @@ storagext-cli --sr25519-key "//Alice" market add-balance 1000000000
The
1000000000
value is not arbitrary, it is the
minimum existential deposit for any Polkadot account. As such, when the Market account is being setup, the first deposit ever needs to meet this minimum to
create the Market account.
-If you attempt to create the Market account with less than
1000000000
, you will get the following error:
+An attempt to create a Market account with less than
1000000000
, will produce the following error:
Error: Runtime error: Token error: Account cannot exist with the funds that would be given.
-> You can read more about the `add_balance` extrinsic in [_Pallets/Market Pallet/Add Balance_](../pallets/market.md#add_balance).
+> More information about the `add_balance` extrinsic is available in [_Pallets/Market Pallet/Add Balance_](../pallets/market.md#add_balance).
## `withdraw-balance`
-The `withdraw-balance` command allows you to withdraw balance from your market account.
+The `withdraw-balance` withdraws balance from the market account of the extrinsic signer.
Like [`add-balance`](#add-balance), `withdraw-balance` takes a single `AMOUNT` argument;
-note that _only the `free` balance can be withdrawn_.
-Likewise, you can only withdraw a balance amount lesser than or equal to the `free` amount and greater than 0 (\\({free} \ge {amount} \gt 0\\)).
+note that _only `free` balance can be withdrawn_.
+Likewise, withdrawal of a balance amount lesser than or equal to the `free` amount and greater than 0 (\\({free} \ge {amount} \gt 0\\)).
### Parameters
@@ -61,11 +60,11 @@ Withdrawing 10000 [Plancks](../glossary.md#planck) from Alice's account.
storagext-cli --sr25519-key "//Alice" market withdraw-balance 10000
```
-> You can read more about the `withdraw_balance` extrinsic in [_Pallets/Market Pallet/Withdraw Balance_](../pallets/market.md#withdraw-balance).
+> More about the `withdraw_balance` extrinsic is available in [_Pallets/Market Pallet/Withdraw Balance_](../pallets/market.md#withdraw-balance).
## `publish-storage-deals`
-The `publish-storage-deals` command allows you to publish storage deals that have been agreed upon off-chain.
+The `publish-storage-deals` publishes storage deals that have been agreed upon off-chain.
The deals are to be submitted by the storage provider, having been previously signed by the client.
@@ -140,15 +139,14 @@ Where `deals.json` is a file with contents similar to:
]
```
-> You can read more about the `publish_storage_deals` extrinsic in [_Pallets/Market Pallet/Publish Storage Deals_](../pallets/market.md#publish_storage_deals).
+> More information about the `publish_storage_deals` extrinsic is available in [_Pallets/Market Pallet/Publish Storage Deals_](../pallets/market.md#publish_storage_deals).
## `settle-deal-payments`
-The `settle-deal-payments` command allows you to settle deal payments,
-that is, have the storage provider receive the owed funds from storing data for their clients.
+The `settle-deal-payments` command makes the storage provider receive the owed funds from storing data for their clients.
Non-existing deal IDs will be ignored.
-Anyone can settle anyone's deals, though there's little incentive to do so — if you're feeling charitable, who are we to stop you?!
+Anyone can settle anyone's deals, though there's little incentive to do so as it costs gas, so the Storage Provider will end up being the caller most of the time.
### Parameters
@@ -164,11 +162,11 @@ Settling deals with the IDs 97, 1010, 1337, 42069:
storagext-cli --sr25519-key "//Alice" market settle-deal-payments 97 1010 1337 42069
```
-> You can read more about the `publish_storage_deals` extrinsic in [_Pallets/Market Pallet/Settle Deal Payments_](../pallets/market.md#settle_deal_payments).
+> More information about the `publish_storage_deals` extrinsic is available in [_Pallets/Market Pallet/Settle Deal Payments_](../pallets/market.md#settle_deal_payments).
## `retrieve-balance`
-The `retrieve-balance` command allows you to check the balance of any market account.
+The `retrieve-balance` command checks the balance of a given market account.
### Parameters
diff --git a/src/storagext-cli/storage-provider.md b/src/storagext-cli/storage-provider.md
index 5d92af4..acab4bb 100644
--- a/src/storagext-cli/storage-provider.md
+++ b/src/storagext-cli/storage-provider.md
@@ -1,16 +1,15 @@
# The `storage-provider` command
-Under the `storage-provider` subcommand, you will find the [Storage Provider](../pallets/storage-provider.md)-related extrinsics.
+Under the `storage-provider` subcommand [Storage Provider](../pallets/storage-provider.md) related extrinsics are available.
This chapter covers the provided commands and how to use them.
### `register`
-The `register` command allows you to register as a storage provider. Before you can start providing storage, you need to register to be able to deal with the clients and perform any storage provider duties.
+The `register` command registers as a storage provider. Before a user can start providing storage, they need to register to be able to deal with the clients and perform any storage provider duties.
### Parameters
@@ -27,12 +26,11 @@ Registering the provider with the specific `peer_id`
storagext-cli --sr25519-key
storage-provider register
```
-> You can read more about the `register` extrinsic in [_Pallets/Storage Provider/Register_](../pallets/storage-provider.md#register_storage_provider).
+> More information about the `register` extrinsic is available in [_Pallets/Storage Provider/Register_](../pallets/storage-provider.md#register_storage_provider).
### `pre-commit`
-The `pre-commit` command allows you to pre-commit a sector with deals that `market publish-storage-deals` have published.
-The pre-committed sector has to be proven, or the deals will not activate and will be slashed.
+The `pre-commit` command [pre-commits](../pallets/storage-provider.md#pre_commit_sector) a sector with deals that have been published by `market publish-storage-deals`. The pre-committed sector has to be proven or the deals will not activate and will be slashed.
### Parameters
@@ -73,11 +71,11 @@ Where `pre-commit-sector.json` is a file with contents similar to:
}
```
-> You can read more about the `pre_commit` extrinsic in [_Pallets/Storage Provider/Pre-commit sector_](../pallets/storage-provider.md#pre_commit_sector).
+> More information about the `pre_commit` extrinsic is available in [_Pallets/Storage Provider/Pre-commit sector_](../pallets/storage-provider.md#pre_commit_sector).
### `prove-commit`
-The `prove-commit` command allows you to prove a sector commitment. Currently, any proof that is a hex encoded string of length >= 1 is accepted.
+The `prove-commit` command proves a sector commitment. Currently, any proof that is a hex encoded string of length >= 1 is accepted.
After the sector is proven, the deals will become `Active`.
### Parameters
@@ -111,11 +109,11 @@ Where `prove-commit-sector.json` is a file with contents similar to:
}
```
-> You can read more about `prove_commit` extrinsic in [_Pallets/Storage Provider/Prove-commit sector_](../pallets/storage-provider.md#prove_commit_sector).
+> More information about `prove_commit` extrinsic is available in [_Pallets/Storage Provider/Prove-commit sector_](../pallets/storage-provider.md#prove_commit_sector).
### `submit-windowed-post`
-The `submit-windowed-post` command allows you to submit a windowed PoSt proof. The PoSt proof needs to be periodically submitted to prove that some sector is still stored. Sectors are proven in a baches called partitions.
+The `submit-windowed-post` command submits a windowed PoSt proof. The post proof needs to be periodically submitted to prove that some sector is still stored. Sectors are proven in batches called partitions.
### Parameters
@@ -160,11 +158,11 @@ Where `window-proof.json` is a file with contents similar to:
}
```
-> You can read more about the `submit_windowed_post` extrinsic in [_Pallets/Storage Provider/Submit Windowed Post_](../pallets/storage-provider.md#submit_windowed_post).
+> More information about the `submit_windowed_post` extrinsic is available in [_Pallets/Storage Provider/Submit Windowed Post_](../pallets/storage-provider.md#submit_windowed_post).
### `declare-faults`
-The `declare-faults` command allows you to declare faulty sectors. This is required to avoid penalties for not submitting [Window PoSt](../glossary.md#post) at the required time.
+The `declare-faults` command declares faulty sectors. This is required to avoid penalties for not submitting [Window PoSt](../glossary.md#post) at the required time.
### Parameters
@@ -201,11 +199,11 @@ Where `faults.json` is a file with contents similar to:
]
```
-> You can read more about the `declare_faults` extrinsic in [_Pallets/Storage Provider/Declare Faults_](../pallets/storage-provider.md#declare_faults).
+> More information about the `declare_faults` extrinsic is available in [_Pallets/Storage Provider/Declare Faults_](../pallets/storage-provider.md#declare_faults).
### `declare-faults-recovered`
-The `declare-faults-recovered` command allows you to declare recovered faulty sectors.
+The `declare-faults-recovered` command declares recovered faulty sectors.
### Parameters
@@ -242,4 +240,4 @@ Where `recoveries.json` is a file with contents similar to:
]
```
-> You can read more about the `declare_faults_recovered` extrinsic in [_Pallets/Storage Provider/Declare Faults Recovered_](../pallets/storage-provider.md#declare_faults_recovered).
+> More information about the `declare_faults_recovered` extrinsic is available in [_Pallets/Storage Provider/Declare Faults Recovered_](../pallets/storage-provider.md#declare_faults_recovered).
diff --git a/src/storagext-cli/system.md b/src/storagext-cli/system.md
index e304113..8cffd4b 100644
--- a/src/storagext-cli/system.md
+++ b/src/storagext-cli/system.md
@@ -1,15 +1,14 @@
# The `system` command
-The command provides various utilities for interacting with the blockchain. It allows you to retrieve information about the current state of the chain.
+The command provides various utilities for interacting with the blockchain. It retrieves information about the current state of the chain.
## `get-height`
-The command allows you to get the current block height of the chain.
+The command gets the current block height of the chain.
###
@@ -21,7 +20,7 @@ storagext-cli system get-height
## `wait-for-height`
-The command allows you to wait for the chain to reach a specific block height. It will exit once the chain has reached the specified height.
+The command awaits for the chain to reach a specific block height. It will exit once the chain has reached the specified height.
### Parameters