mirror of
https://github.com/Bytom/bytom-spanner.git
synced 2020-06-03 17:14:59 +00:00
.. | ||
__init__.py | ||
btm.txt | ||
btmsender.py | ||
const.py | ||
httprequest.py | ||
README.md | ||
transaction.py | ||
validation.py |
btm-sender
Usage:
spanner.py btmsender [options]
Options:
-h, --help show this help message and exit
-n node bytomd or vapord node address
-i input transaction txt file
-a account wallet account id
-s asset_id transaction asset id
-c count transaction output count
-u use unconfirmed UTXO build transaction
-t time_range the transaction will not be submitted into block after this height
Example:
spanner.py btmsender -i btmsender/btm.txt -a 0F0BV1OLG0A04 -s d50a426bdaaf1458d161aba4d8c3ebdd095eac7e1bbeb4a0252a3737ccf2d492 -p 123456 -c 1000 -u -t 96310
Transaction txt file format:
bm1qqn5mrdcaz00d0rvqd0zuuh6z4u4a860qfquwys,265024793
bm1qufvnqamhyjwl2c58n0t4ej27kr0xzpm4r94578,296430573
bm1qyenrv6thy5pl2jhz08xqj7ukg3kcyn2j3mfc7n,266596998
bm1qkkwln4xwgxfl4j838ykudecqehxes6szxmy4fl,366249088
bm1qhsk20pnxu2yudxrucmx5pccltgew3z0e3wfqv4,225333795