diff --git a/docs/offline-cmd-md-links.sh b/docs/offline-cmd-md-links.sh new file mode 100755 index 0000000000..b9285b8bb2 --- /dev/null +++ b/docs/offline-cmd-md-links.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +CLI_USAGE_RELPATH="../cli/usage.md" + +SED_OMIT_NONMATCHING=$'\nt\nd' +SED_CMD="s:^#### solana-(.*):* [\`\\1\`](${CLI_USAGE_RELPATH}#solana-\\1):${SED_OMIT_NONMATCHING}" + +OFFLINE_CMDS=$(grep -E '#### solana-|--signer ' src/cli/usage.md | grep -B1 -- --signer | sed -Ee "$SED_CMD") + +# Omit deprecated +grep -vE '\b(pay)\b' <<<"$OFFLINE_CMDS" diff --git a/docs/src/cli/usage.md b/docs/src/cli/usage.md index 6dda99d7ed..caa516b34b 100644 --- a/docs/src/cli/usage.md +++ b/docs/src/cli/usage.md @@ -22,12 +22,6 @@ $ solana airdrop 2 // Return "2.00000000 SOL" - -// Command -$ solana airdrop 123 --lamports - -// Return -"123 lamports" ``` ### Get Balance @@ -191,9 +185,6 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase - Recover a keypair using a seed phrase and optional passphrase [possible values: keypair] - -C, --config Configuration file to use [default: ~/.config/solana/cli/config.yml] @@ -278,13 +269,15 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path - -o, --output Write the account data to this file + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path + -o, --output Write the account data to this file ARGS: Account pubkey @@ -299,6 +292,7 @@ USAGE: solana address [FLAGS] [OPTIONS] FLAGS: + --confirm-key Confirm key on device; only relevant if using remote wallet -h, --help Prints help information --skip-seed-phrase-validation Skip validation of seed phrases. Use this if your phrase does not use the BIP39 official English word list @@ -306,12 +300,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ``` #### solana-airdrop @@ -330,14 +326,16 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - --faucet-host Faucet host to use [default: the --url host] - --faucet-port Faucet port to use [default: 9900] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + --faucet-host Faucet host to use [default: the --url host] + --faucet-port Faucet port to use [default: 9900] + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: The airdrop amount to request, in SOL @@ -360,15 +358,15 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase - Recover a keypair using a seed phrase and optional passphrase [possible values: keypair] - -C, --config Configuration file to use [default: ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path - --nonce-authority + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path + --nonce-authority Provide the nonce authority keypair to use when signing a nonced transaction --seed @@ -397,12 +395,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: The public key of the balance to check @@ -424,15 +424,17 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - --epoch Epoch to show block production for [default: current epoch] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path - --slot-limit Limit results to this many slots from the end of the epoch [default: full - epoch] + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + --epoch Epoch to show block production for [default: current epoch] + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path + --slot-limit + Limit results to this many slots from the end of the epoch [default: full epoch] ``` #### solana-block-time @@ -451,12 +453,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: Slot number of the block to query @@ -478,12 +482,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: The process id of the transfer to cancel @@ -505,12 +511,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: Identity pubkey of the validator @@ -532,12 +540,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: The node account to credit the rewards to @@ -560,12 +570,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ``` #### solana-config @@ -584,12 +596,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path SUBCOMMANDS: get Get current config settings @@ -613,12 +627,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: The transaction signature to confirm @@ -640,13 +656,15 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - --from From (base) key, defaults to client keypair. - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + --from From (base) key, defaults to client keypair. + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: The seed. Must not take more than 32 bytes to encode as utf-8 @@ -670,12 +688,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: @@ -698,13 +718,15 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path - --nonce-authority Assign noncing authority to another entity + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path + --nonce-authority Assign noncing authority to another entity ARGS: Keypair of the nonce account to fund @@ -728,21 +750,25 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase - Recover a keypair using a seed phrase and optional passphrase [possible values: keypair] - - --blockhash Use the supplied blockhash + --blockhash Use the supplied blockhash -C, --config Configuration file to use [default: ~/.config/solana/cli/config.yml] - --custodian Identity of the custodian (can withdraw before lockup expires) - --fee-payer + --custodian + Identity of the custodian (can withdraw before lockup expires) + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + --fee-payer Specify the fee-payer account. This may be a keypair file, the ASK keyword or the pubkey of an offline signer, provided an appropriate --signer argument is also passed. Defaults to the client keypair. - --from Source account of funds (if different from client local account) - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + --from + Source account of funds (if different from client local account) + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path --lockup-date The date and time at which this account will be available for withdrawal @@ -754,15 +780,21 @@ OPTIONS: transaction. Nonced transactions are useful when a transaction requires a lengthy signing process. Learn more about nonced transactions at https://docs.solana.com/offline-signing/durable-nonce - --nonce-authority + --nonce-authority Provide the nonce authority keypair to use when signing a nonced transaction --seed Seed for address generation; if specified, the resulting account will be at a derived address of the STAKE ACCOUNT pubkey - --signer ... Provide a public-key/signature pair for the transaction - --stake-authority Public key of authorized staker (defaults to cli config pubkey) - --withdraw-authority Public key of authorized withdrawer (defaults to cli config pubkey) + --signer ... + Provide a public-key/signature pair for the transaction + + --stake-authority + Public key of authorized staker (defaults to cli config pubkey) + + --withdraw-authority + Public key of authorized withdrawer (defaults to cli config pubkey) + ARGS: Signing authority of the stake address to fund @@ -785,12 +817,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: @@ -813,17 +847,24 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - --authorized-voter Public key of the authorized voter (defaults to vote account) - --authorized-withdrawer Public key of the authorized withdrawer (defaults to cli config pubkey) - --commission The commission taken on reward redemption (0-100) [default: 100] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path - --seed Seed for address generation; if specified, the resulting account will be at - a derived address of the VOTE ACCOUNT pubkey + --authorized-voter Public key of the authorized voter (defaults to vote account) + --authorized-withdrawer + Public key of the authorized withdrawer (defaults to cli config pubkey) + + --commission + The commission taken on reward redemption (0-100) [default: 100] + + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path + --seed + Seed for address generation; if specified, the resulting account will be at a derived address of the VOTE + ACCOUNT pubkey ARGS: Vote account keypair to fund @@ -847,29 +888,33 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase - Recover a keypair using a seed phrase and optional passphrase [possible values: keypair] - - --blockhash Use the supplied blockhash + --blockhash Use the supplied blockhash -C, --config Configuration file to use [default: ~/.config/solana/cli/config.yml] - --fee-payer + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + --fee-payer Specify the fee-payer account. This may be a keypair file, the ASK keyword or the pubkey of an offline signer, provided an appropriate --signer argument is also passed. Defaults to the client keypair. - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path --nonce Provide the nonce account to use when creating a nonced transaction. Nonced transactions are useful when a transaction requires a lengthy signing process. Learn more about nonced transactions at https://docs.solana.com/offline-signing/durable-nonce - --nonce-authority + --nonce-authority Provide the nonce authority keypair to use when signing a nonced transaction - --signer ... Provide a public-key/signature pair for the transaction - --stake-authority Public key of authorized staker (defaults to cli config pubkey) + --signer ... + Provide a public-key/signature pair for the transaction + + --stake-authority + Public key of authorized staker (defaults to cli config pubkey) + ARGS: Stake account to be deactivated. @@ -892,29 +937,33 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase - Recover a keypair using a seed phrase and optional passphrase [possible values: keypair] - - --blockhash Use the supplied blockhash + --blockhash Use the supplied blockhash -C, --config Configuration file to use [default: ~/.config/solana/cli/config.yml] - --fee-payer + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + --fee-payer Specify the fee-payer account. This may be a keypair file, the ASK keyword or the pubkey of an offline signer, provided an appropriate --signer argument is also passed. Defaults to the client keypair. - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path --nonce Provide the nonce account to use when creating a nonced transaction. Nonced transactions are useful when a transaction requires a lengthy signing process. Learn more about nonced transactions at https://docs.solana.com/offline-signing/durable-nonce - --nonce-authority + --nonce-authority Provide the nonce authority keypair to use when signing a nonced transaction - --signer ... Provide a public-key/signature pair for the transaction - --stake-authority Public key of authorized staker (defaults to cli config pubkey) + --signer ... + Provide a public-key/signature pair for the transaction + + --stake-authority + Public key of authorized staker (defaults to cli config pubkey) + ARGS: Stake account to delegate @@ -937,12 +986,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: /path/to/program.o @@ -965,12 +1016,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ``` #### solana-fees @@ -989,12 +1042,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ``` #### solana-genesis-hash @@ -1013,12 +1068,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ``` #### solana-gossip @@ -1037,12 +1094,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ``` #### solana-help @@ -1073,12 +1132,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ``` #### solana-live-slots @@ -1097,13 +1158,16 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path - -w, --ws WebSocket URL for PubSub RPC connection [default: ws://127.0.0.1:8900] + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path + -w, --ws + WebSocket URL for PubSub RPC connection [default: ws://127.0.0.1:8900] ``` #### solana-new-nonce @@ -1122,15 +1186,15 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase - Recover a keypair using a seed phrase and optional passphrase [possible values: keypair] - -C, --config Configuration file to use [default: ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path - --nonce-authority + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path + --nonce-authority Provide the nonce authority keypair to use when signing a nonced transaction @@ -1154,12 +1218,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: Address of the nonce account to display @@ -1182,12 +1248,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: Address of the nonce account to display @@ -1211,27 +1279,31 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase - Recover a keypair using a seed phrase and optional passphrase [possible values: keypair] - - --blockhash Use the supplied blockhash + --blockhash Use the supplied blockhash -C, --config Configuration file to use [default: ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path --nonce Provide the nonce account to use when creating a nonced transaction. Nonced transactions are useful when a transaction requires a lengthy signing process. Learn more about nonced transactions at https://docs.solana.com/offline-signing/durable-nonce - --nonce-authority + --nonce-authority Provide the nonce authority keypair to use when signing a nonced transaction - --signer ... Provide a public-key/signature pair for the transaction - --after A timestamp after which transaction will execute - --require-timestamp-from Require timestamp from this third party - --require-signature-from ... Any third party signatures required to unlock the lamports + --signer ... + Provide a public-key/signature pair for the transaction + + --after A timestamp after which transaction will execute + --require-timestamp-from Require timestamp from this third party + --require-signature-from ... + Any third party signatures required to unlock the lamports + ARGS: The pubkey of recipient @@ -1255,16 +1327,23 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -c, --count Stop after submitting count transactions - -i, --interval Wait interval seconds between submitting the next transaction [default: 2] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path - --lamports Number of lamports to transfer for each transaction [default: 1] - -t, --timeout Wait up to timeout seconds for transaction confirmation [default: 15] + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + -c, --count Stop after submitting count transactions + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -i, --interval + Wait interval seconds between submitting the next transaction [default: 2] + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path + --lamports + Number of lamports to transfer for each transaction [default: 1] + + -t, --timeout + Wait up to timeout seconds for transaction confirmation [default: 15] ``` #### solana-send-signature @@ -1283,12 +1362,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: The pubkey of recipient @@ -1311,13 +1392,15 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - --date Optional arbitrary timestamp to apply - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --date Optional arbitrary timestamp to apply + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: The pubkey of recipient @@ -1341,12 +1424,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ``` #### solana-split-stake @@ -1366,32 +1451,36 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase - Recover a keypair using a seed phrase and optional passphrase [possible values: keypair] - - --blockhash Use the supplied blockhash + --blockhash Use the supplied blockhash -C, --config Configuration file to use [default: ~/.config/solana/cli/config.yml] - --fee-payer + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + --fee-payer Specify the fee-payer account. This may be a keypair file, the ASK keyword or the pubkey of an offline signer, provided an appropriate --signer argument is also passed. Defaults to the client keypair. - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path --nonce Provide the nonce account to use when creating a nonced transaction. Nonced transactions are useful when a transaction requires a lengthy signing process. Learn more about nonced transactions at https://docs.solana.com/offline-signing/durable-nonce - --nonce-authority + --nonce-authority Provide the nonce authority keypair to use when signing a nonced transaction --seed Seed for address generation; if specified, the resulting account will be at a derived address of the SPLIT STAKE ACCOUNT pubkey - --signer ... Provide a public-key/signature pair for the transaction - --stake-authority Public key of authorized staker (defaults to cli config pubkey) + --signer ... + Provide a public-key/signature pair for the transaction + + --stake-authority + Public key of authorized staker (defaults to cli config pubkey) + ARGS: Stake account to be split @@ -1416,12 +1505,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: Address of the stake account to display @@ -1444,29 +1535,33 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase - Recover a keypair using a seed phrase and optional passphrase [possible values: keypair] - - --blockhash Use the supplied blockhash + --blockhash Use the supplied blockhash -C, --config Configuration file to use [default: ~/.config/solana/cli/config.yml] - --fee-payer + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + --fee-payer Specify the fee-payer account. This may be a keypair file, the ASK keyword or the pubkey of an offline signer, provided an appropriate --signer argument is also passed. Defaults to the client keypair. - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path --nonce Provide the nonce account to use when creating a nonced transaction. Nonced transactions are useful when a transaction requires a lengthy signing process. Learn more about nonced transactions at https://docs.solana.com/offline-signing/durable-nonce - --nonce-authority + --nonce-authority Provide the nonce authority keypair to use when signing a nonced transaction - --signer ... Provide a public-key/signature pair for the transaction - --stake-authority Public key of authorized staker (defaults to cli config pubkey) + --signer ... + Provide a public-key/signature pair for the transaction + + --stake-authority + Public key of authorized staker (defaults to cli config pubkey) + ARGS: Stake account in which to set the authorized staker @@ -1490,29 +1585,33 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase - Recover a keypair using a seed phrase and optional passphrase [possible values: keypair] - - --blockhash Use the supplied blockhash + --blockhash Use the supplied blockhash -C, --config Configuration file to use [default: ~/.config/solana/cli/config.yml] - --fee-payer + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + --fee-payer Specify the fee-payer account. This may be a keypair file, the ASK keyword or the pubkey of an offline signer, provided an appropriate --signer argument is also passed. Defaults to the client keypair. - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path --nonce Provide the nonce account to use when creating a nonced transaction. Nonced transactions are useful when a transaction requires a lengthy signing process. Learn more about nonced transactions at https://docs.solana.com/offline-signing/durable-nonce - --nonce-authority + --nonce-authority Provide the nonce authority keypair to use when signing a nonced transaction - --signer ... Provide a public-key/signature pair for the transaction - --withdraw-authority Public key of authorized withdrawer (defaults to cli config pubkey) + --signer ... + Provide a public-key/signature pair for the transaction + + --withdraw-authority + Public key of authorized withdrawer (defaults to cli config pubkey) + ARGS: Stake account in which to set the authorized withdrawer @@ -1536,12 +1635,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ``` #### solana-stake-set-lockup @@ -1561,20 +1662,22 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase - Recover a keypair using a seed phrase and optional passphrase [possible values: keypair] - - --blockhash Use the supplied blockhash + --blockhash Use the supplied blockhash -C, --config Configuration file to use [default: ~/.config/solana/cli/config.yml] - --custodian Public key of signing custodian (defaults to cli config pubkey) - --fee-payer + --custodian + Public key of signing custodian (defaults to cli config pubkey) + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + --fee-payer Specify the fee-payer account. This may be a keypair file, the ASK keyword or the pubkey of an offline signer, provided an appropriate --signer argument is also passed. Defaults to the client keypair. - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path --lockup-date The date and time at which this account will be available for withdrawal @@ -1589,10 +1692,12 @@ OPTIONS: transaction. Nonced transactions are useful when a transaction requires a lengthy signing process. Learn more about nonced transactions at https://docs.solana.com/offline-signing/durable-nonce - --nonce-authority + --nonce-authority Provide the nonce authority keypair to use when signing a nonced transaction - --signer ... Provide a public-key/signature pair for the transaction + --signer ... + Provide a public-key/signature pair for the transaction + ARGS: Stake account for which to set Lockup @@ -1615,12 +1720,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: ... Only show stake accounts delegated to the provided vote accounts @@ -1642,12 +1749,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: Storage account pubkey @@ -1670,12 +1779,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ``` #### solana-transfer @@ -1695,29 +1806,33 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase - Recover a keypair using a seed phrase and optional passphrase [possible values: keypair] - - --blockhash Use the supplied blockhash + --blockhash Use the supplied blockhash -C, --config Configuration file to use [default: ~/.config/solana/cli/config.yml] - --fee-payer + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + --fee-payer Specify the fee-payer account. This may be a keypair file, the ASK keyword or the pubkey of an offline signer, provided an appropriate --signer argument is also passed. Defaults to the client keypair. - --from Source account of funds (if different from client local account) - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + --from + Source account of funds (if different from client local account) + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path --nonce Provide the nonce account to use when creating a nonced transaction. Nonced transactions are useful when a transaction requires a lengthy signing process. Learn more about nonced transactions at https://docs.solana.com/offline-signing/durable-nonce - --nonce-authority + --nonce-authority Provide the nonce authority keypair to use when signing a nonced transaction - --signer ... Provide a public-key/signature pair for the transaction + --signer ... + Provide a public-key/signature pair for the transaction + ARGS: The pubkey of recipient @@ -1740,12 +1855,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path SUBCOMMANDS: get Get and parse Solana Validator info @@ -1770,12 +1887,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ``` #### solana-vote-account @@ -1795,12 +1914,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: Vote account pubkey @@ -1822,12 +1943,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: Vote account in which to set the authorized voter @@ -1850,12 +1973,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: Vote account in which to set the authorized withdrawer @@ -1878,12 +2003,14 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase Recover a keypair using a seed phrase and optional passphrase [possible - values: keypair] - -C, --config Configuration file to use [default: - ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -C, --config + Configuration file to use [default: ~/.config/solana/cli/config.yml] + + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path ARGS: Vote account to update @@ -1907,15 +2034,15 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase - Recover a keypair using a seed phrase and optional passphrase [possible values: keypair] - -C, --config Configuration file to use [default: ~/.config/solana/cli/config.yml] - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path - --nonce-authority + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path + --nonce-authority Provide the nonce authority keypair to use when signing a nonced transaction @@ -1942,29 +2069,33 @@ FLAGS: -v, --verbose Show extra information header OPTIONS: - --ask-seed-phrase - Recover a keypair using a seed phrase and optional passphrase [possible values: keypair] - - --blockhash Use the supplied blockhash + --blockhash Use the supplied blockhash -C, --config Configuration file to use [default: ~/.config/solana/cli/config.yml] - --fee-payer + --derivation-path + Derivation path to use: m/44'/501'/ACCOUNT'/CHANGE'; default key is device base pubkey: m/44'/501'/0' + + --fee-payer Specify the fee-payer account. This may be a keypair file, the ASK keyword or the pubkey of an offline signer, provided an appropriate --signer argument is also passed. Defaults to the client keypair. - -u, --url JSON RPC URL for the solana cluster - -k, --keypair /path/to/id.json or usb://remote/wallet/path + -u, --url JSON RPC URL for the solana cluster + -k, --keypair /path/to/id.json or usb://remote/wallet/path --nonce Provide the nonce account to use when creating a nonced transaction. Nonced transactions are useful when a transaction requires a lengthy signing process. Learn more about nonced transactions at https://docs.solana.com/offline-signing/durable-nonce - --nonce-authority + --nonce-authority Provide the nonce authority keypair to use when signing a nonced transaction - --signer ... Provide a public-key/signature pair for the transaction - --withdraw-authority Public key of authorized withdrawer (defaults to cli config pubkey) + --signer ... + Provide a public-key/signature pair for the transaction + + --withdraw-authority + Public key of authorized withdrawer (defaults to cli config pubkey) + ARGS: Stake account from which to withdraw diff --git a/docs/src/offline-signing/README.md b/docs/src/offline-signing/README.md index abcbf9a9bf..1640a43b9f 100644 --- a/docs/src/offline-signing/README.md +++ b/docs/src/offline-signing/README.md @@ -14,9 +14,15 @@ transaction. ## Commands Supporting Offline Signing At present, the following commands support offline signing: - * [`delegate-stake`](../api-reference/cli.md#solana-delegate-stake) - * [`deactivate-stake`](../api-reference/cli.md#solana-deactivate-stake) - * [`pay`](../api-reference/cli.md#solana-pay) +* [`create-stake-account`](../cli/usage.md#solana-create-stake-account) +* [`deactivate-stake`](../cli/usage.md#solana-deactivate-stake) +* [`delegate-stake`](../cli/usage.md#solana-delegate-stake) +* [`split-stake`](../cli/usage.md#solana-split-stake) +* [`stake-authorize-staker`](../cli/usage.md#solana-stake-authorize-staker) +* [`stake-authorize-withdrawer`](../cli/usage.md#solana-stake-authorize-withdrawer) +* [`stake-set-lockup`](../cli/usage.md#solana-stake-set-lockup) +* [`transfer`](../cli/usage.md#solana-transfer) +* [`withdraw-stake`](../cli/usage.md#solana-withdraw-stake) ## Signing Transactions Offline