Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Conversation

@MarvinJanssen
Copy link
Member

@MarvinJanssen MarvinJanssen commented Nov 30, 2021

Adds the send-stx command. It allows the user to send STX to an address. An unsigned transaction is created by the CLI and then sent to the Ryder via signing request.

Send STX to a specified principal.

USAGE
  $ ryder-cli-proto send-stx

OPTIONS
  -D, --debug
  -R, --ryder_port=ryder_port          (required) port of ryder device to connect to
  -h, --help                           show CLI help
  --account=account                    (required) The account number to send from
  --amount=amount                      (required) The amount in mSTX
  --broadcast=(yes|no)                 (required) Broadcast the transaction to the network
  --fee=fee                            The fee in mSTX
  --memo=memo                          Memo
  --network=(mainnet|testnet|mocknet)  (required)
  --nonce=nonce                        The account nonce
  --recipient=recipient                (required) The principal to transfer the STX to

Example:

send-stx -R /dev/ryder-device --amount 123 --account 0 --recipient SP.... --broadcast no --network mainnet

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants