Skip to content

Commit

Permalink
fix: ledger dep and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal committed May 31, 2024
1 parent d461abe commit 96d4dc8
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/rpc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: rustup update
- name: install libudev-dev
run: |
sudo apt install -y libudev-dev
- run: cargo build
- run: rustup target add wasm32-unknown-unknown
- run: make build-test-wasms
Expand Down
56 changes: 56 additions & 0 deletions FULL_HELP_DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ This document contains the help content for the `stellar` command-line program.
* [`stellar version`](#stellar-version)
* [`stellar tx`](#stellar-tx)
* [`stellar tx simulate`](#stellar-tx-simulate)
* [`stellar tx sign`](#stellar-tx-sign)
* [`stellar tx send`](#stellar-tx-send)
* [`stellar cache`](#stellar-cache)
* [`stellar cache clean`](#stellar-cache-clean)
* [`stellar cache path`](#stellar-cache-path)
Expand Down Expand Up @@ -1325,6 +1327,8 @@ Sign, Simulate, and Send transactions
###### **Subcommands:**

* `simulate` — Simulate a transaction envelope from stdin
* `sign` — Sign a transaction with a ledger or local key
* `send` — Send a transaction envelope to the network



Expand All @@ -1349,6 +1353,58 @@ Simulate a transaction envelope from stdin



## `stellar tx sign`

Sign a transaction with a ledger or local key

**Usage:** `stellar tx sign [OPTIONS] --source-account <SOURCE_ACCOUNT>`

###### **Options:**

* `-y`, `--yes` — Confirm that a signature can be signed by the given keypair automatically

Possible values: `true`, `false`

* `--rpc-url <RPC_URL>` — RPC server endpoint
* `--network-passphrase <NETWORK_PASSPHRASE>` — Network passphrase to sign the transaction sent to the rpc server
* `--network <NETWORK>` — Name of network to use from config
* `--source-account <SOURCE_ACCOUNT>` — Account that signs the final transaction. Alias `source`. Can be an identity (--source alice), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). Default: `identity generate --default-seed`
* `--hd-path <HD_PATH>` — If using a seed phrase, which hierarchical deterministic path to use, e.g. `m/44'/148'/{hd_path}`. Example: `--hd-path 1`. Default: `0`
* `--global` — Use global config

Possible values: `true`, `false`

* `--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
* `--signer <SIGNER>` — How to sign transaction

Default value: `file`

Possible values: `file`, `ledger`




## `stellar tx send`

Send a transaction envelope to the network

**Usage:** `stellar tx send [OPTIONS] --source-account <SOURCE_ACCOUNT>`

###### **Options:**

* `--rpc-url <RPC_URL>` — RPC server endpoint
* `--network-passphrase <NETWORK_PASSPHRASE>` — Network passphrase to sign the transaction sent to the rpc server
* `--network <NETWORK>` — Name of network to use from config
* `--source-account <SOURCE_ACCOUNT>` — Account that signs the final transaction. Alias `source`. Can be an identity (--source alice), a secret key (--source SC36…), or a seed phrase (--source "kite urban…"). Default: `identity generate --default-seed`
* `--hd-path <HD_PATH>` — If using a seed phrase, which hierarchical deterministic path to use, e.g. `m/44'/148'/{hd_path}`. Example: `--hd-path 1`. Default: `0`
* `--global` — Use global config

Possible values: `true`, `false`

* `--config-dir <CONFIG_DIR>` — Location of config directory, default is "."



## `stellar cache`

Cache for tranasctions and contract specs
Expand Down

0 comments on commit 96d4dc8

Please sign in to comment.