The create_transfer CLI tool
./create_transfer
Please enter the coin or token you wish to transfer
CLC
Please enter the amount of coins or tokens to send: (eg. 23.4)
1
Please enter the receiver wallet address
CLC03f5e69936a5251ba6e1e0530a1dcac41c9d802c5b5fc6179d713dad56d4b46345
Please enter the amount for the fee: (eg. 1.09)
0.0001
The create_transfer output:
transaction: {
"txtype": 2,
"timestamp": 1711298197,
"value": 100000000,
"coin": "CLC ",
"sender": "CLC024317262f00570608aabfcdacebc0fe9def7b6529f072b7a5e3a2b68136c984a7",
"receiver": "CLC03f5e69936a5251ba6e1e0530a1dcac41c9d802c5b5fc6179d713dad56d4b46345",
"txfee": 10000,
"hash": "2aa4b45a9efc61413f4ebea26a38f9f654171cb7e1fe17fbee7b051c223437a9",
"signature": "d39f69ebc0a6807a83812ab5329fa59c553433e6860e5a00ee9c8c29a9e23e5504171f25dfba018ac19148382848078ae682d0ffcf3afd822807b87fcc1a6ef8"
}
Output is also saved to transactions:
ls transactions/
2aa4b45a9efc61413f4ebea26a38f9f654171cb7e1fe17fbee7b051c223437a9.json
To broadcast transaction after creating simply issue:
./broadcast_transaction ./transactions/2aa4b45a9efc61413f4ebea26a38f9f654171cb7e1fe17fbee7b051c223437a9.json