Skip to main content

Synopsis

Behavior

  1. Load the private key using key auto-discovery.
  2. Build a Transfer transaction sending amount CBY to the --to address.
  3. The amount is specified in CBY and converted internally (1 CBY = 10^9 wei).
  4. Sign and submit the transaction.
  5. Print the transaction hash.

Flags

Example

Edge Cases

  • If the sender has insufficient balance, the transaction will be rejected by the chain.
  • If the recipient address doesn’t exist on-chain, the chain creates a new account.
  • Amount must be a positive integer.