Skip to content

Instantly share code, notes, and snippets.

@truongnmt
Created August 28, 2018 02:58
Show Gist options
  • Save truongnmt/b4a0cf78328aca9d52c3a95b067b96cf to your computer and use it in GitHub Desktop.
Save truongnmt/b4a0cf78328aca9d52c3a95b067b96cf to your computer and use it in GitHub Desktop.
```
Forming a new transactions, choose command to add:[172/249]
1. Detach role from account (detach)
2. Add new role to account (apnd_role)
3. Create new role (crt_role)
4. Set account key/value detail (set_acc_kv)
5. Transfer Assets (tran_ast)
6. Grant permission over your account (grant_perm)
7. Subtract Assets Quantity from Account (sub_ast_qty)
8. Set Account Quorum (set_qrm)
9. Remove Signatory (rem_sign)
10. Create Domain (crt_dmn)
11. Revoke permission from account (revoke_perm)
12. Create Account (crt_acc)
13. Add Signatory to Account (add_sign)
14. Create Asset (crt_ast)
15. Add Peer to Iroha Network (add_peer)
16. Add Asset Quantity (add_ast_qty)
0. Back (b)
> : 14
Asset name: mfcoin4
Domain Id: test
Asset precision: 2
Command is formed. Choose what to do:
1. Add one more command to the transaction (add)
2. Send to Iroha peer (send)
3. Go back and start a new transaction (b)
4. Save as json file (save)
> : 2
Peer address (0.0.0.0): 65.52.164.195
Peer port (50051):
[2018-08-28 02:01:12.121059003][th:32][info] TransactionRes
ponseHandler Transaction successfully sent
Congratulation, your transaction was accepted for processin
g.
Its hash is 82555674d0df6cf0e87aef25a0a559448b6072bad9b5187
ae1ddcfc5600c970a
--------------------
Choose what to do:
1. New transaction (tx)
2. New query (qry)
3. New transaction status request (st)
> : 3
Choose action: [130/249]
1. Get status of transaction (get_tx_info)
0. Back (b)
> : 1
Requested tx hash: 82555674d0df6cf0e87aef25a0a559448b6072ba
d9b5187ae1ddcfc5600c970a
Tx hash is saved. Choose what to do:
1. Send to Iroha peer (send)
2. Save as json file (save)
0. Back (b)
> : 1
Peer address (0.0.0.0): 65.52.164.195
Peer port (50051):
Transaction has successfully passed stateless validation.
--------------------
Choose what to do:
1. New transaction (tx)
2. New query (qry)
3. New transaction status request (st)
> : 3
Choose action:
1. Get status of transaction (get_tx_info)
0. Back (b)
> : 1
Requested tx hash (82555674d0df6cf0e87aef25a0a559448b6072ba
d9b5187ae1ddcfc5600c970a):
Tx hash is saved. Choose what to do:
1. Send to Iroha peer (send)
2. Save as json file (save)
0. Back (b)
> : 1
Peer address (65.52.164.195): 13.78.38.212
Peer port (50051):
Transaction was not found in the system.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment