1
0
mirror of https://github.com/Bytom/bytom-spanner.git synced 2020-06-03 17:14:59 +00:00
bytom-spanner/btmsender
2020-04-24 18:17:24 +08:00
..
__init__.py refactor(Project Entrance): add btmspanner.py as project entrance 2018-06-25 16:25:01 +08:00
btm.txt Time Range and Use Unconfirmed UTXO (#4) 2018-09-28 12:32:15 +08:00
btmsender.py feat(asset): support transaction asset is not BTM 2020-04-24 18:17:24 +08:00
const.py feat(asset): support transaction asset is not BTM 2020-04-24 18:17:24 +08:00
httprequest.py feat(spanner): support vapor 2020-04-13 20:18:28 +08:00
README.md feat(asset): support transaction asset is not BTM 2020-04-24 18:17:24 +08:00
transaction.py feat(asset): support transaction asset is not BTM 2020-04-24 18:17:24 +08:00
validation.py feat(asset): support transaction asset is not BTM 2020-04-24 18:17:24 +08:00

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