You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

starwels-tx.1 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
  2. .TH STARWELS-TX "1" "September 2017" "starwels-tx v0.15.0.1" "User Commands"
  3. .SH NAME
  4. starwels-tx \- manual page for starwels-tx v0.15.0.1
  5. .SH DESCRIPTION
  6. Starwels starwels\-tx utility version v0.15.0.1\-dirty
  7. .SS "Usage:"
  8. .TP
  9. starwels\-tx [options] <hex\-tx> [commands]
  10. Update hex\-encoded starwels transaction
  11. .TP
  12. starwels\-tx [options] \fB\-create\fR [commands]
  13. Create hex\-encoded starwels transaction
  14. .SH OPTIONS
  15. .HP
  16. \-?
  17. .IP
  18. This help message
  19. .HP
  20. \fB\-create\fR
  21. .IP
  22. Create new, empty TX.
  23. .HP
  24. \fB\-json\fR
  25. .IP
  26. Select JSON output
  27. .HP
  28. \fB\-txid\fR
  29. .IP
  30. Output only the hex\-encoded transaction id of the resultant transaction.
  31. .PP
  32. Chain selection options:
  33. .HP
  34. \fB\-testnet\fR
  35. .IP
  36. Use the test chain
  37. .HP
  38. \fB\-regtest\fR
  39. .IP
  40. Enter regression test mode, which uses a special chain in which blocks
  41. can be solved instantly. This is intended for regression testing
  42. tools and app development.
  43. .PP
  44. Commands:
  45. .IP
  46. delin=N
  47. .IP
  48. Delete input N from TX
  49. .IP
  50. delout=N
  51. .IP
  52. Delete output N from TX
  53. .IP
  54. in=TXID:VOUT(:SEQUENCE_NUMBER)
  55. .IP
  56. Add input to TX
  57. .IP
  58. locktime=N
  59. .IP
  60. Set TX lock time to N
  61. .IP
  62. nversion=N
  63. .IP
  64. Set TX version to N
  65. .IP
  66. replaceable(=N)
  67. .IP
  68. Set RBF opt\-in sequence number for input N (if not provided, opt\-in all
  69. available inputs)
  70. .IP
  71. outaddr=VALUE:ADDRESS
  72. .IP
  73. Add address\-based output to TX
  74. .IP
  75. outpubkey=VALUE:PUBKEY[:FLAGS]
  76. .IP
  77. Add pay\-to\-pubkey output to TX. Optionally add the "W" flag to produce a
  78. pay\-to\-witness\-pubkey\-hash output. Optionally add the "S" flag to
  79. wrap the output in a pay\-to\-script\-hash.
  80. .IP
  81. outdata=[VALUE:]DATA
  82. .IP
  83. Add data\-based output to TX
  84. .IP
  85. outscript=VALUE:SCRIPT[:FLAGS]
  86. .IP
  87. Add raw script output to TX. Optionally add the "W" flag to produce a
  88. pay\-to\-witness\-script\-hash output. Optionally add the "S" flag to
  89. wrap the output in a pay\-to\-script\-hash.
  90. .IP
  91. outmultisig=VALUE:REQUIRED:PUBKEYS:PUBKEY1:PUBKEY2:....[:FLAGS]
  92. .IP
  93. Add Pay To n\-of\-m Multi\-sig output to TX. n = REQUIRED, m = PUBKEYS.
  94. Optionally add the "W" flag to produce a
  95. pay\-to\-witness\-script\-hash output. Optionally add the "S" flag to
  96. wrap the output in a pay\-to\-script\-hash.
  97. .IP
  98. sign=SIGHASH\-FLAGS
  99. .IP
  100. Add zero or more signatures to transaction. This command requires JSON
  101. registers:prevtxs=JSON object, privatekeys=JSON object. See
  102. signrawtransaction docs for format of sighash flags, JSON
  103. objects.
  104. .PP
  105. Register Commands:
  106. .IP
  107. load=NAME:FILENAME
  108. .IP
  109. Load JSON file FILENAME into register NAME
  110. .IP
  111. set=NAME:JSON\-STRING
  112. .IP
  113. Set register NAME to given JSON\-STRING
  114. .SH COPYRIGHT
  115. Copyright (C) 2009-2017 The Starwels developers
  116. Please contribute if you find Starwels useful. Visit
  117. <https://github.com/starwels> for further information about the software.
  118. The source code is available from <https://github.com/starwels/starwels>.
  119. This is experimental software.
  120. Distributed under the MIT software license, see the accompanying file COPYING
  121. or <https://opensource.org/licenses/MIT>
  122. This product includes software developed by the OpenSSL Project for use in the
  123. OpenSSL Toolkit <https://www.openssl.org> and cryptographic software written by
  124. Eric Young and UPnP software written by Thomas Bernard.