Skip to content

Instantly share code, notes, and snippets.

@roderik

roderik/Abe log Secret

Last active February 18, 2016 08:05
Show Gist options
  • Save roderik/11d1d9c2f44e8d05a005 to your computer and use it in GitHub Desktop.
Save roderik/11d1d9c2f44e8d05a005 to your computer and use it in GitHub Desktop.
2016-02-18 07:53:38,656 [37:MainThread] __main__ INFO - Abe initialized.
2016-02-18 07:53:38,658 [37:MainThread] __main__ WARNING - Listening on http://0.0.0.0:2750
2016-02-18 08:00:01,382 [37:MainThread] Abe.DataStore INFO - block_tx 12 12
2016-02-18 08:00:01,385 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,390 [37:MainThread] Abe.DataStore INFO - block_tx 13 13
2016-02-18 08:00:01,391 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,396 [37:MainThread] Abe.DataStore INFO - block_tx 14 14
2016-02-18 08:00:01,398 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,402 [37:MainThread] Abe.DataStore INFO - block_tx 15 15
2016-02-18 08:00:01,404 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,409 [37:MainThread] Abe.DataStore INFO - block_tx 16 16
2016-02-18 08:00:01,411 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,416 [37:MainThread] Abe.DataStore INFO - block_tx 17 17
2016-02-18 08:00:01,421 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,435 [37:MainThread] Abe.DataStore INFO - block_tx 18 18
2016-02-18 08:00:01,436 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,447 [37:MainThread] Abe.DataStore INFO - block_tx 19 19
2016-02-18 08:00:01,448 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,452 [37:MainThread] Abe.DataStore INFO - block_tx 20 20
2016-02-18 08:00:01,454 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,461 [37:MainThread] Abe.DataStore INFO - block_tx 21 21
2016-02-18 08:00:01,463 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,474 [37:MainThread] Abe.DataStore INFO - block_tx 22 22
2016-02-18 08:00:01,478 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,483 [37:MainThread] Abe.DataStore INFO - block_tx 23 23
2016-02-18 08:00:01,485 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,492 [37:MainThread] Abe.DataStore INFO - block_tx 24 24
2016-02-18 08:00:01,494 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,499 [37:MainThread] Abe.DataStore INFO - block_tx 25 25
2016-02-18 08:00:01,500 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,506 [37:MainThread] Abe.DataStore INFO - block_tx 26 26
2016-02-18 08:00:01,508 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,517 [37:MainThread] Abe.DataStore INFO - block_tx 27 27
2016-02-18 08:00:01,520 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,527 [37:MainThread] Abe.DataStore INFO - block_tx 28 28
2016-02-18 08:00:01,529 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,536 [37:MainThread] Abe.DataStore INFO - block_tx 29 29
2016-02-18 08:00:01,538 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,544 [37:MainThread] Abe.DataStore INFO - block_tx 30 30
2016-02-18 08:00:01,546 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,550 [37:MainThread] Abe.DataStore INFO - block_tx 31 31
2016-02-18 08:00:01,552 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,561 [37:MainThread] Abe.DataStore INFO - block_tx 32 32
2016-02-18 08:00:01,564 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,570 [37:MainThread] Abe.DataStore INFO - block_tx 33 33
2016-02-18 08:00:01,574 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,581 [37:MainThread] Abe.DataStore INFO - block_tx 34 34
2016-02-18 08:00:01,583 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,589 [37:MainThread] Abe.DataStore INFO - block_tx 35 35
2016-02-18 08:00:01,591 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,596 [37:MainThread] Abe.DataStore INFO - block_tx 36 36
2016-02-18 08:00:01,599 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,609 [37:MainThread] Abe.DataStore INFO - block_tx 37 37
2016-02-18 08:00:01,611 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,618 [37:MainThread] Abe.DataStore INFO - block_tx 38 38
2016-02-18 08:00:01,622 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,627 [37:MainThread] Abe.DataStore INFO - block_tx 39 39
2016-02-18 08:00:01,629 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,633 [37:MainThread] Abe.DataStore INFO - block_tx 40 40
2016-02-18 08:00:01,635 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,640 [37:MainThread] Abe.DataStore INFO - block_tx 41 41
2016-02-18 08:00:01,641 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,652 [37:MainThread] Abe.DataStore INFO - block_tx 42 42
2016-02-18 08:00:01,657 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,665 [37:MainThread] Abe.DataStore INFO - block_tx 43 43
2016-02-18 08:00:01,670 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,678 [37:MainThread] Abe.DataStore INFO - block_tx 44 44
2016-02-18 08:00:01,680 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,686 [37:MainThread] Abe.DataStore INFO - block_tx 45 45
2016-02-18 08:00:01,689 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,717 [37:MainThread] Abe.DataStore INFO - block_tx 46 46
2016-02-18 08:00:01,722 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,748 [37:MainThread] Abe.DataStore INFO - block_tx 47 47
2016-02-18 08:00:01,751 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,763 [37:MainThread] Abe.DataStore INFO - block_tx 48 48
2016-02-18 08:00:01,765 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,769 [37:MainThread] Abe.DataStore INFO - block_tx 49 49
2016-02-18 08:00:01,771 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,777 [37:MainThread] Abe.DataStore INFO - block_tx 50 50
2016-02-18 08:00:01,780 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:01,786 [37:MainThread] Abe.DataStore INFO - block_tx 51 51
2016-02-18 08:00:01,788 [37:MainThread] Abe.DataStore DEBUG - commit
RawMemPool = {}
JSON-RPC Recent Tx = []
1. Length of sorted mempool = 0
2. Length of sorted mempool = 0
172.16.141.1 - - [18/Feb/2016 08:00:01] "GET / HTTP/1.1" 200 2495
172.16.141.1 - - [18/Feb/2016 08:00:01] "GET /css/bootstrap.min.css HTTP/1.1" 200 121260
172.16.141.1 - - [18/Feb/2016 08:00:01] "GET /css/bootstrap-theme.min.css HTTP/1.1" 200 23409
172.16.141.1 - - [18/Feb/2016 08:00:01] "GET /js/jquery-1.11.3.min.js HTTP/1.1" 200 95957
172.16.141.1 - - [18/Feb/2016 08:00:01] "GET /js/bootstrap.min.js HTTP/1.1" 200 36868
172.16.141.1 - - [18/Feb/2016 08:00:02] "GET /logo32.png HTTP/1.1" 200 1376
172.16.141.1 - - [18/Feb/2016 08:00:02] "GET /css/bootstrap.min.css.map HTTP/1.1" 200 54416
172.16.141.1 - - [18/Feb/2016 08:00:02] "GET /css/bootstrap-theme.min.css.map HTTP/1.1" 200 5532
RawMemPool = {}
JSON-RPC Recent Tx = []
1. Length of sorted mempool = 0
2. Length of sorted mempool = 0
172.16.141.1 - - [18/Feb/2016 08:00:05] "GET /MultiChain%20Dockerchain/recent HTTP/1.1" 200 142
2016-02-18 08:00:29,360 [37:MainThread] Abe.DataStore INFO - block_tx 52 52
2016-02-18 08:00:29,362 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:29,369 [37:MainThread] Abe.DataStore INFO - block_tx 53 53
2016-02-18 08:00:29,371 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:00:29,380 [37:MainThread] Abe.DataStore INFO - block_tx 54 54
2016-02-18 08:00:29,381 [37:MainThread] Abe.DataStore INFO - block_tx 54 55
2016-02-18 08:00:29,383 [37:MainThread] Abe.DataStore DEBUG - commit
RawMemPool = {}
JSON-RPC Recent Tx = []
1. Length of sorted mempool = 0
2. Length of sorted mempool = 0
172.16.141.1 - - [18/Feb/2016 08:00:29] "GET / HTTP/1.1" 200 2495
172.16.141.1 - - [18/Feb/2016 08:00:29] "GET /css/bootstrap.min.css HTTP/1.1" 200 121260
172.16.141.1 - - [18/Feb/2016 08:00:29] "GET /css/bootstrap-theme.min.css HTTP/1.1" 200 23409
172.16.141.1 - - [18/Feb/2016 08:00:29] "GET /js/jquery-1.11.3.min.js HTTP/1.1" 200 95957
172.16.141.1 - - [18/Feb/2016 08:00:29] "GET /js/bootstrap.min.js HTTP/1.1" 200 36868
172.16.141.1 - - [18/Feb/2016 08:00:29] "GET /logo32.png HTTP/1.1" 200 1376
172.16.141.1 - - [18/Feb/2016 08:00:29] "GET /css/bootstrap.min.css.map HTTP/1.1" 200 54416
172.16.141.1 - - [18/Feb/2016 08:00:29] "GET /css/bootstrap-theme.min.css.map HTTP/1.1" 200 5532
RawMemPool = {u'6d8a1bf8ff2285b8c454f15846dc8b7b3471d6b2797406c0e1043df3acedc2f8': {u'fee': 0.0, u'startingpriority': 0.0, u'height': 51, u'depends': [], u'time': 1455782435, u'currentpriority': 0.0, u'size': 263}}
JSON-RPC Recent Tx = []
1. Length of sorted mempool = 1
2. Length of sorted mempool = 1
172.16.141.1 - - [18/Feb/2016 08:00:35] "GET /MultiChain%20Dockerchain/recent HTTP/1.1" 200 314
2016-02-18 08:01:07,901 [37:MainThread] Abe.DataStore INFO - block_tx 55 56
2016-02-18 08:01:07,902 [37:MainThread] Abe.DataStore INFO - block_tx 55 57
2016-02-18 08:01:07,905 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:01:07,911 [37:MainThread] Abe.DataStore INFO - block_tx 56 58
2016-02-18 08:01:07,924 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:01:07,956 [37:MainThread] Abe.DataStore INFO - block_tx 57 59
2016-02-18 08:01:07,957 [37:MainThread] Abe.DataStore INFO - block_tx 57 60
2016-02-18 08:01:07,960 [37:MainThread] Abe.DataStore DEBUG - commit
RawMemPool = {}
JSON-RPC Recent Tx = []
1. Length of sorted mempool = 0
2. Length of sorted mempool = 0
172.16.141.1 - - [18/Feb/2016 08:01:07] "GET /MultiChain%20Dockerchain/recent HTTP/1.1" 200 142
2016-02-18 08:01:31,641 [37:MainThread] Abe.DataStore INFO - block_tx 58 61
2016-02-18 08:01:31,643 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:01:31,650 [37:MainThread] Abe.DataStore INFO - block_tx 59 62
2016-02-18 08:01:31,651 [37:MainThread] Abe.DataStore INFO - block_tx 59 63
2016-02-18 08:01:31,652 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:01:31,668 [37:MainThread] Abe.DataStore INFO - block_tx 60 64
2016-02-18 08:01:31,668 [37:MainThread] Abe.DataStore INFO - block_tx 60 65
2016-02-18 08:01:31,668 [37:MainThread] Abe.DataStore INFO - block_tx 60 66
2016-02-18 08:01:31,668 [37:MainThread] Abe.DataStore INFO - block_tx 60 67
2016-02-18 08:01:31,670 [37:MainThread] Abe.DataStore DEBUG - commit
RawMemPool = {}
JSON-RPC Recent Tx = []
1. Length of sorted mempool = 0
2. Length of sorted mempool = 0
172.16.141.1 - - [18/Feb/2016 08:01:31] "GET / HTTP/1.1" 200 2495
172.16.141.1 - - [18/Feb/2016 08:01:31] "GET /css/bootstrap.min.css HTTP/1.1" 200 121260
172.16.141.1 - - [18/Feb/2016 08:01:31] "GET /css/bootstrap-theme.min.css HTTP/1.1" 200 23409
172.16.141.1 - - [18/Feb/2016 08:01:31] "GET /js/jquery-1.11.3.min.js HTTP/1.1" 200 95957
172.16.141.1 - - [18/Feb/2016 08:01:31] "GET /js/bootstrap.min.js HTTP/1.1" 200 36868
172.16.141.1 - - [18/Feb/2016 08:01:31] "GET /logo32.png HTTP/1.1" 200 1376
172.16.141.1 - - [18/Feb/2016 08:01:35] "GET /css/bootstrap.min.css.map HTTP/1.1" 200 54416
172.16.141.1 - - [18/Feb/2016 08:01:35] "GET /css/bootstrap-theme.min.css.map HTTP/1.1" 200 5532
2016-02-18 08:01:45,876 [37:MainThread] Abe.DataStore INFO - block_tx 61 68
2016-02-18 08:01:45,880 [37:MainThread] Abe.DataStore DEBUG - commit
RawMemPool = {}
JSON-RPC Recent Tx = []
1. Length of sorted mempool = 0
2. Length of sorted mempool = 0
172.16.141.1 - - [18/Feb/2016 08:01:45] "GET /MultiChain%20Dockerchain/recent HTTP/1.1" 200 142
2016-02-18 08:02:16,786 [37:MainThread] Abe.DataStore INFO - block_tx 62 69
2016-02-18 08:02:16,788 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:02:16,793 [37:MainThread] Abe.DataStore INFO - block_tx 63 70
2016-02-18 08:02:16,796 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:02:16,800 [37:MainThread] Abe.DataStore INFO - block_tx 64 71
2016-02-18 08:02:16,804 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:02:16,808 [37:MainThread] Abe.DataStore INFO - block_tx 65 72
2016-02-18 08:02:16,810 [37:MainThread] Abe.DataStore DEBUG - commit
RawMemPool = {}
JSON-RPC Recent Tx = []
1. Length of sorted mempool = 0
2. Length of sorted mempool = 0
172.16.141.1 - - [18/Feb/2016 08:02:16] "GET /MultiChain%20Dockerchain/recent HTTP/1.1" 200 142
2016-02-18 08:02:32,360 [37:MainThread] Abe.DataStore INFO - block_tx 66 73
2016-02-18 08:02:32,363 [37:MainThread] Abe.DataStore DEBUG - commit
RawMemPool = {}
JSON-RPC Recent Tx = []
1. Length of sorted mempool = 0
2. Length of sorted mempool = 0
172.16.141.1 - - [18/Feb/2016 08:02:32] "GET / HTTP/1.1" 200 2495
172.16.141.1 - - [18/Feb/2016 08:02:32] "GET /css/bootstrap.min.css HTTP/1.1" 200 121260
172.16.141.1 - - [18/Feb/2016 08:02:32] "GET /css/bootstrap-theme.min.css HTTP/1.1" 200 23409
172.16.141.1 - - [18/Feb/2016 08:02:32] "GET /js/jquery-1.11.3.min.js HTTP/1.1" 200 95957
172.16.141.1 - - [18/Feb/2016 08:02:32] "GET /js/bootstrap.min.js HTTP/1.1" 200 36868
172.16.141.1 - - [18/Feb/2016 08:02:32] "GET /logo32.png HTTP/1.1" 200 1376
172.16.141.1 - - [18/Feb/2016 08:02:33] "GET /css/bootstrap.min.css.map HTTP/1.1" 200 54416
172.16.141.1 - - [18/Feb/2016 08:02:34] "GET /css/bootstrap-theme.min.css.map HTTP/1.1" 200 5532
2016-02-18 08:02:46,556 [37:MainThread] Abe.DataStore INFO - block_tx 67 74
2016-02-18 08:02:46,560 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:02:46,569 [37:MainThread] Abe.DataStore INFO - block_tx 68 75
2016-02-18 08:02:46,572 [37:MainThread] Abe.DataStore DEBUG - commit
RawMemPool = {}
JSON-RPC Recent Tx = []
1. Length of sorted mempool = 0
2. Length of sorted mempool = 0
172.16.141.1 - - [18/Feb/2016 08:02:46] "GET /MultiChain%20Dockerchain/recent HTTP/1.1" 200 142
2016-02-18 08:03:17,033 [37:MainThread] Abe.DataStore INFO - block_tx 69 76
2016-02-18 08:03:17,035 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:03:17,040 [37:MainThread] Abe.DataStore INFO - block_tx 70 77
2016-02-18 08:03:17,042 [37:MainThread] Abe.DataStore DEBUG - commit
2016-02-18 08:03:17,047 [37:MainThread] Abe.DataStore INFO - block_tx 71 78
2016-02-18 08:03:17,049 [37:MainThread] Abe.DataStore DEBUG - commit
RawMemPool = {}
JSON-RPC Recent Tx = []
1. Length of sorted mempool = 0
2. Length of sorted mempool = 0
172.16.141.1 - - [18/Feb/2016 08:03:17] "GET /MultiChain%20Dockerchain/recent HTTP/1.1" 200 142
+ php bin/multichain-cli create-address world
__ __ _ _ _ _ _ ____ _ ___
| \/ |_ _| | |_(_) ___| |__ __ _(_)_ __ / ___| | |_ _|
| |\/| | | | | | __| |/ __| '_ \ / _` | | '_ \ | | | | | |
| | | | |_| | | |_| | (__| | | | (_| | | | | | | |___| |___ | |
|_| |_|\__,_|_|\__|_|\___|_| |_|\__,_|_|_| |_| \____|_____|___|
create-address
==============
Create a new address and call it world
[OK] Created a new address!
---------------------------------------- ------- ---------
Addresses KYC Balance
---------------------------------------- ------- ---------
1VEfJFUqzdGtBNgDTf8VSAWc4oiJBQzAtjdpMS
1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm world
---------------------------------------- ------- ---------
+ sleep 10
+ php bin/multichain-cli issue-asset EURO max 0.01 world
__ __ _ _ _ _ _ ____ _ ___
| \/ |_ _| | |_(_) ___| |__ __ _(_)_ __ / ___| | |_ _|
| |\/| | | | | | __| |/ __| '_ \ / _` | | '_ \ | | | | | |
| | | | |_| | | |_| | (__| | | | (_| | | | | | | |___| |___ | |
|_| |_|\__,_|_|\__|_|\___|_| |_|\__,_|_|_| |_| \____|_____|___|
issue-asset
===========
Issue a new asset called EURO with a quantity of 1000000000000000 and a unit division of 0.01 in address world (1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm)
[OK] Created a new asset!
------ ----------------------- ------- ----------- ------------------------------------------------------------------
Name Quantity Units Asset Ref Holders
------ ----------------------- ------- ----------- ------------------------------------------------------------------
EURO 1,000,000,000,000,000 0.01 1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm: 1,000,000,000,000,000.00
------ ----------------------- ------- ----------- ------------------------------------------------------------------
+ sleep 10
+ php bin/multichain-cli issue-asset KUMA max 1 world
__ __ _ _ _ _ _ ____ _ ___
| \/ |_ _| | |_(_) ___| |__ __ _(_)_ __ / ___| | |_ _|
| |\/| | | | | | __| |/ __| '_ \ / _` | | '_ \ | | | | | |
| | | | |_| | | |_| | (__| | | | (_| | | | | | | |___| |___ | |
|_| |_|\__,_|_|\__|_|\___|_| |_|\__,_|_|_| |_| \____|_____|___|
issue-asset
===========
Issue a new asset called KUMA with a quantity of 1000000000000000 and a unit division of 1 in address world (1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm)
[OK] Created a new asset!
------ ----------------------- ------- -------------- ------------------------------------------------------------------
Name Quantity Units Asset Ref Holders
------ ----------------------- ------- -------------- ------------------------------------------------------------------
EURO 1,000,000,000,000,000 0.01 73-266-12751 1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm: 1,000,000,000,000,000.00
KUMA 1,000,000,000,000,000 1 1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm: 1,000,000,000,000,000.00
------ ----------------------- ------- -------------- ------------------------------------------------------------------
+ sleep 10
+ php bin/multichain-cli create-address kunstmaan
__ __ _ _ _ _ _ ____ _ ___
| \/ |_ _| | |_(_) ___| |__ __ _(_)_ __ / ___| | |_ _|
| |\/| | | | | | __| |/ __| '_ \ / _` | | '_ \ | | | | | |
| | | | |_| | | |_| | (__| | | | (_| | | | | | | |___| |___ | |
|_| |_|\__,_|_|\__|_|\___|_| |_|\__,_|_|_| |_| \____|_____|___|
create-address
==============
Create a new address and call it kunstmaan
[OK] Created a new address!
---------------------------------------- ----------- --------------------------------
Addresses KYC Balance
---------------------------------------- ----------- --------------------------------
1VEfJFUqzdGtBNgDTf8VSAWc4oiJBQzAtjdpMS
1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm world KUMA: 1,000,000,000,000,000.00
EURO: 1,000,000,000,000,000.00
1FzRCgDG8haqeQRJRXewMUYjzZ7uo7qQJ7z2Jm kunstmaan
---------------------------------------- ----------- --------------------------------
+ sleep 10
+ php bin/multichain-cli send KUMA 10000 world kunstmaan
__ __ _ _ _ _ _ ____ _ ___
| \/ |_ _| | |_(_) ___| |__ __ _(_)_ __ / ___| | |_ _|
| |\/| | | | | | __| |/ __| '_ \ / _` | | '_ \ | | | | | |
| | | | |_| | | |_| | (__| | | | (_| | | | | | | |___| |___ | |
|_| |_|\__,_|_|\__|_|\___|_| |_|\__,_|_|_| |_| \____|_____|___|
send
====
Send 10000 of KUMA from address world (1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm) to kunstmaan (1FzRCgDG8haqeQRJRXewMUYjzZ7uo7qQJ7z2Jm)
[OK] Succesfully transferred the asset!
------ ----------------------- ------- -------------- ----------------------------------------------------------------------------
Name Quantity Units Asset Ref Holders
------ ----------------------- ------- -------------- ----------------------------------------------------------------------------
EURO 1,000,000,000,000,000 0.01 73-266-12751 1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm aka world: 1,000,000,000,000,000.00
KUMA 1,000,000,000,000,000 1 75-265-11794 1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm aka world: 999,999,999,990,000.00
1FzRCgDG8haqeQRJRXewMUYjzZ7uo7qQJ7z2Jm aka kunstmaan: 10,000.00
------ ----------------------- ------- -------------- ----------------------------------------------------------------------------
---------------------------------------- ----------- --------------------------------
Addresses KYC Balance
---------------------------------------- ----------- --------------------------------
1VEfJFUqzdGtBNgDTf8VSAWc4oiJBQzAtjdpMS
1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm world EURO: 1,000,000,000,000,000.00
KUMA: 999,999,999,990,000.00
1FzRCgDG8haqeQRJRXewMUYjzZ7uo7qQJ7z2Jm kunstmaan KUMA: 10,000.00
---------------------------------------- ----------- --------------------------------
+ sleep 10
+ php bin/multichain-cli create-address roderik
__ __ _ _ _ _ _ ____ _ ___
| \/ |_ _| | |_(_) ___| |__ __ _(_)_ __ / ___| | |_ _|
| |\/| | | | | | __| |/ __| '_ \ / _` | | '_ \ | | | | | |
| | | | |_| | | |_| | (__| | | | (_| | | | | | | |___| |___ | |
|_| |_|\__,_|_|\__|_|\___|_| |_|\__,_|_|_| |_| \____|_____|___|
create-address
==============
Create a new address and call it roderik
[OK] Created a new address!
---------------------------------------- ----------- --------------------------------
Addresses KYC Balance
---------------------------------------- ----------- --------------------------------
1VEfJFUqzdGtBNgDTf8VSAWc4oiJBQzAtjdpMS
1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm world EURO: 1,000,000,000,000,000.00
KUMA: 999,999,999,990,000.00
1FzRCgDG8haqeQRJRXewMUYjzZ7uo7qQJ7z2Jm kunstmaan KUMA: 10,000.00
1WfC5W4KveCx552D7mJKZW2svMimzMz52m6Vqp roderik
---------------------------------------- ----------- --------------------------------
+ sleep 10
+ php bin/multichain-cli send EURO 1000000 world roderik
__ __ _ _ _ _ _ ____ _ ___
| \/ |_ _| | |_(_) ___| |__ __ _(_)_ __ / ___| | |_ _|
| |\/| | | | | | __| |/ __| '_ \ / _` | | '_ \ | | | | | |
| | | | |_| | | |_| | (__| | | | (_| | | | | | | |___| |___ | |
|_| |_|\__,_|_|\__|_|\___|_| |_|\__,_|_|_| |_| \____|_____|___|
send
====
Send 1000000 of EURO from address world (1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm) to roderik (1WfC5W4KveCx552D7mJKZW2svMimzMz52m6Vqp)
[OK] Succesfully transferred the asset!
------ ----------------------- ------- -------------- --------------------------------------------------------------------------
Name Quantity Units Asset Ref Holders
------ ----------------------- ------- -------------- --------------------------------------------------------------------------
EURO 1,000,000,000,000,000 0.01 73-266-12751 1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm aka world: 999,999,999,000,000.00
1WfC5W4KveCx552D7mJKZW2svMimzMz52m6Vqp aka roderik: 1,000,000.00
KUMA 1,000,000,000,000,000 1 75-265-11794 1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm aka world: 999,999,999,990,000.00
1FzRCgDG8haqeQRJRXewMUYjzZ7uo7qQJ7z2Jm aka kunstmaan: 10,000.00
------ ----------------------- ------- -------------- --------------------------------------------------------------------------
---------------------------------------- ----------- ------------------------------
Addresses KYC Balance
---------------------------------------- ----------- ------------------------------
1VEfJFUqzdGtBNgDTf8VSAWc4oiJBQzAtjdpMS
1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm world EURO: 999,999,999,000,000.00
KUMA: 999,999,999,990,000.00
1FzRCgDG8haqeQRJRXewMUYjzZ7uo7qQJ7z2Jm kunstmaan KUMA: 10,000.00
1WfC5W4KveCx552D7mJKZW2svMimzMz52m6Vqp roderik EURO: 1,000,000.00
---------------------------------------- ----------- ------------------------------
+ sleep 10
+ php bin/multichain-cli exchange KUMA 1000 kunstmaan EURO 500000 roderik
__ __ _ _ _ _ _ ____ _ ___
| \/ |_ _| | |_(_) ___| |__ __ _(_)_ __ / ___| | |_ _|
| |\/| | | | | | __| |/ __| '_ \ / _` | | '_ \ | | | | | |
| | | | |_| | | |_| | (__| | | | (_| | | | | | | |___| |___ | |
|_| |_|\__,_|_|\__|_|\___|_| |_|\__,_|_|_| |_| \____|_____|___|
exchange
========
Lock 1000 of KUMA in address kunstmaan (1FzRCgDG8haqeQRJRXewMUYjzZ7uo7qQJ7z2Jm)
Create the first side of the exchange with this lock and offer them for 500000 of EURO
Lock 500000 of EURO in address roderik (1WfC5W4KveCx552D7mJKZW2svMimzMz52m6Vqp)
Add the second side of the exchange with this second lock
Send the completed transaction to the blockchain
[OK] Succesfully exchanged the asset!
------ ----------------------- ------- -------------- --------------------------------------------------------------------------
Name Quantity Units Asset Ref Holders
------ ----------------------- ------- -------------- --------------------------------------------------------------------------
EURO 1,000,000,000,000,000 0.01 73-266-12751 1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm aka world: 999,999,999,000,000.00
1FzRCgDG8haqeQRJRXewMUYjzZ7uo7qQJ7z2Jm aka kunstmaan: 500,000.00
1WfC5W4KveCx552D7mJKZW2svMimzMz52m6Vqp aka roderik: 500,000.00
KUMA 1,000,000,000,000,000 1 75-265-11794 1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm aka world: 999,999,999,990,000.00
1FzRCgDG8haqeQRJRXewMUYjzZ7uo7qQJ7z2Jm aka kunstmaan: 9,000.00
1WfC5W4KveCx552D7mJKZW2svMimzMz52m6Vqp aka roderik: 1,000.00
------ ----------------------- ------- -------------- --------------------------------------------------------------------------
---------------------------------------- ----------- ------------------------------
Addresses KYC Balance
---------------------------------------- ----------- ------------------------------
1VEfJFUqzdGtBNgDTf8VSAWc4oiJBQzAtjdpMS
1Gpvg11AVMfRWrAFrTFWFkQ6s2pBZcgZR2CKvm world EURO: 999,999,999,000,000.00
KUMA: 999,999,999,990,000.00
1FzRCgDG8haqeQRJRXewMUYjzZ7uo7qQJ7z2Jm kunstmaan EURO: 500,000.00
KUMA: 9,000.00
1WfC5W4KveCx552D7mJKZW2svMimzMz52m6Vqp roderik KUMA: 1,000.00
EURO: 500,000.00
---------------------------------------- ----------- ------------------------------
[roderik@spectr ~/.../blockchain/multichain-demo/cli](master)$ ./runExchange.sh
+ vendor/bin/doctrine orm:schema-tool:create
ATTENTION: This operation should not be executed in a production environment.
Creating database schema...
Database schema created successfully!
+ php bin/multichain-cli create-address world
__ __ _ _ _ _ _ ____ _ ___
| \/ |_ _| | |_(_) ___| |__ __ _(_)_ __ / ___| | |_ _|
| |\/| | | | | | __| |/ __| '_ \ / _` | | '_ \ | | | | | |
| | | | |_| | | |_| | (__| | | | (_| | | | | | | |___| |___ | |
|_| |_|\__,_|_|\__|_|\___|_| |_|\__,_|_|_| |_| \____|_____|___|
create-address
==============
Create a new address and call it world
[OK] Created a new address!
---------------------------------------- ------- ---------
Addresses KYC Balance
---------------------------------------- ------- ---------
1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW world
15ZE3vx8h4BjgBy33yFrD1af3fdtCCUE6QUcxx
---------------------------------------- ------- ---------
+ sleep 10
+ php bin/multichain-cli issue-asset EURO max 0.01 world
__ __ _ _ _ _ _ ____ _ ___
| \/ |_ _| | |_(_) ___| |__ __ _(_)_ __ / ___| | |_ _|
| |\/| | | | | | __| |/ __| '_ \ / _` | | '_ \ | | | | | |
| | | | |_| | | |_| | (__| | | | (_| | | | | | | |___| |___ | |
|_| |_|\__,_|_|\__|_|\___|_| |_|\__,_|_|_| |_| \____|_____|___|
issue-asset
===========
Issue a new asset called EURO with a quantity of 1000000000000000 and a unit division of 0.01 in address world (1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW)
[OK] Created a new asset!
------ ----------------------- ------- ----------- ------------------------------------------------------------------
Name Quantity Units Asset Ref Holders
------ ----------------------- ------- ----------- ------------------------------------------------------------------
EURO 1,000,000,000,000,000 0.01 1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW: 1,000,000,000,000,000.00
------ ----------------------- ------- ----------- ------------------------------------------------------------------
+ sleep 10
+ php bin/multichain-cli issue-asset KUMA max 1 world
__ __ _ _ _ _ _ ____ _ ___
| \/ |_ _| | |_(_) ___| |__ __ _(_)_ __ / ___| | |_ _|
| |\/| | | | | | __| |/ __| '_ \ / _` | | '_ \ | | | | | |
| | | | |_| | | |_| | (__| | | | (_| | | | | | | |___| |___ | |
|_| |_|\__,_|_|\__|_|\___|_| |_|\__,_|_|_| |_| \____|_____|___|
issue-asset
===========
Issue a new asset called KUMA with a quantity of 1000000000000000 and a unit division of 1 in address world (1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW)
[OK] Created a new asset!
------ ----------------------- ------- ------------- ------------------------------------------------------------------
Name Quantity Units Asset Ref Holders
------ ----------------------- ------- ------------- ------------------------------------------------------------------
EURO 1,000,000,000,000,000 0.01 51-265-2924 1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW: 1,000,000,000,000,000.00
KUMA 1,000,000,000,000,000 1 1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW: 1,000,000,000,000,000.00
------ ----------------------- ------- ------------- ------------------------------------------------------------------
+ sleep 10
+ php bin/multichain-cli create-address kunstmaan
__ __ _ _ _ _ _ ____ _ ___
| \/ |_ _| | |_(_) ___| |__ __ _(_)_ __ / ___| | |_ _|
| |\/| | | | | | __| |/ __| '_ \ / _` | | '_ \ | | | | | |
| | | | |_| | | |_| | (__| | | | (_| | | | | | | |___| |___ | |
|_| |_|\__,_|_|\__|_|\___|_| |_|\__,_|_|_| |_| \____|_____|___|
create-address
==============
Create a new address and call it kunstmaan
[OK] Created a new address!
---------------------------------------- ----------- --------------------------------
Addresses KYC Balance
---------------------------------------- ----------- --------------------------------
1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW world EURO: 1,000,000,000,000,000.00
KUMA: 1,000,000,000,000,000.00
1V8eBFfkDS5wqw5tJgaV3d9Tmd1HR3UkNf9qAj kunstmaan
15ZE3vx8h4BjgBy33yFrD1af3fdtCCUE6QUcxx
---------------------------------------- ----------- --------------------------------
+ sleep 10
+ php bin/multichain-cli send KUMA 10000 world kunstmaan
__ __ _ _ _ _ _ ____ _ ___
| \/ |_ _| | |_(_) ___| |__ __ _(_)_ __ / ___| | |_ _|
| |\/| | | | | | __| |/ __| '_ \ / _` | | '_ \ | | | | | |
| | | | |_| | | |_| | (__| | | | (_| | | | | | | |___| |___ | |
|_| |_|\__,_|_|\__|_|\___|_| |_|\__,_|_|_| |_| \____|_____|___|
send
====
Send 10000 of KUMA from address world (1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW) to kunstmaan (1V8eBFfkDS5wqw5tJgaV3d9Tmd1HR3UkNf9qAj)
[OK] Succesfully transferred the asset!
------ ----------------------- ------- -------------- ----------------------------------------------------------------------------
Name Quantity Units Asset Ref Holders
------ ----------------------- ------- -------------- ----------------------------------------------------------------------------
EURO 1,000,000,000,000,000 0.01 51-265-2924 1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW aka world: 1,000,000,000,000,000.00
KUMA 1,000,000,000,000,000 1 52-265-35437 1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW aka world: 999,999,999,990,000.00
1V8eBFfkDS5wqw5tJgaV3d9Tmd1HR3UkNf9qAj aka kunstmaan: 10,000.00
------ ----------------------- ------- -------------- ----------------------------------------------------------------------------
---------------------------------------- ----------- --------------------------------
Addresses KYC Balance
---------------------------------------- ----------- --------------------------------
1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW world EURO: 1,000,000,000,000,000.00
KUMA: 999,999,999,990,000.00
1V8eBFfkDS5wqw5tJgaV3d9Tmd1HR3UkNf9qAj kunstmaan KUMA: 10,000.00
15ZE3vx8h4BjgBy33yFrD1af3fdtCCUE6QUcxx
---------------------------------------- ----------- --------------------------------
+ sleep 10
+ php bin/multichain-cli create-address roderik
__ __ _ _ _ _ _ ____ _ ___
| \/ |_ _| | |_(_) ___| |__ __ _(_)_ __ / ___| | |_ _|
| |\/| | | | | | __| |/ __| '_ \ / _` | | '_ \ | | | | | |
| | | | |_| | | |_| | (__| | | | (_| | | | | | | |___| |___ | |
|_| |_|\__,_|_|\__|_|\___|_| |_|\__,_|_|_| |_| \____|_____|___|
create-address
==============
Create a new address and call it roderik
[OK] Created a new address!
---------------------------------------- ----------- --------------------------------
Addresses KYC Balance
---------------------------------------- ----------- --------------------------------
1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW world EURO: 1,000,000,000,000,000.00
KUMA: 999,999,999,990,000.00
1V8eBFfkDS5wqw5tJgaV3d9Tmd1HR3UkNf9qAj kunstmaan KUMA: 10,000.00
15ZE3vx8h4BjgBy33yFrD1af3fdtCCUE6QUcxx
139HvPMKwzbR66LwzbAMAR3FCwr96uVCwMdyK7 roderik
---------------------------------------- ----------- --------------------------------
+ sleep 10
+ php bin/multichain-cli send EURO 1000000 world roderik
__ __ _ _ _ _ _ ____ _ ___
| \/ |_ _| | |_(_) ___| |__ __ _(_)_ __ / ___| | |_ _|
| |\/| | | | | | __| |/ __| '_ \ / _` | | '_ \ | | | | | |
| | | | |_| | | |_| | (__| | | | (_| | | | | | | |___| |___ | |
|_| |_|\__,_|_|\__|_|\___|_| |_|\__,_|_|_| |_| \____|_____|___|
send
====
Send 1000000 of EURO from address world (1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW) to roderik (139HvPMKwzbR66LwzbAMAR3FCwr96uVCwMdyK7)
[OK] Succesfully transferred the asset!
------ ----------------------- ------- -------------- --------------------------------------------------------------------------
Name Quantity Units Asset Ref Holders
------ ----------------------- ------- -------------- --------------------------------------------------------------------------
EURO 1,000,000,000,000,000 0.01 51-265-2924 1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW aka world: 999,999,999,000,000.00
139HvPMKwzbR66LwzbAMAR3FCwr96uVCwMdyK7 aka roderik: 1,000,000.00
KUMA 1,000,000,000,000,000 1 52-265-35437 1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW aka world: 999,999,999,990,000.00
1V8eBFfkDS5wqw5tJgaV3d9Tmd1HR3UkNf9qAj aka kunstmaan: 10,000.00
------ ----------------------- ------- -------------- --------------------------------------------------------------------------
---------------------------------------- ----------- ------------------------------
Addresses KYC Balance
---------------------------------------- ----------- ------------------------------
1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW world KUMA: 999,999,999,990,000.00
EURO: 999,999,999,000,000.00
1V8eBFfkDS5wqw5tJgaV3d9Tmd1HR3UkNf9qAj kunstmaan KUMA: 10,000.00
15ZE3vx8h4BjgBy33yFrD1af3fdtCCUE6QUcxx
139HvPMKwzbR66LwzbAMAR3FCwr96uVCwMdyK7 roderik EURO: 1,000,000.00
---------------------------------------- ----------- ------------------------------
+ sleep 10
+ php bin/multichain-cli exchange KUMA 1000 kunstmaan EURO 500000 roderik
__ __ _ _ _ _ _ ____ _ ___
| \/ |_ _| | |_(_) ___| |__ __ _(_)_ __ / ___| | |_ _|
| |\/| | | | | | __| |/ __| '_ \ / _` | | '_ \ | | | | | |
| | | | |_| | | |_| | (__| | | | (_| | | | | | | |___| |___ | |
|_| |_|\__,_|_|\__|_|\___|_| |_|\__,_|_|_| |_| \____|_____|___|
exchange
========
Lock 1000 of KUMA in address kunstmaan (1V8eBFfkDS5wqw5tJgaV3d9Tmd1HR3UkNf9qAj)
Create the first side of the exchange with this lock and offer them for 500000 of EURO
Lock 500000 of EURO in address roderik (139HvPMKwzbR66LwzbAMAR3FCwr96uVCwMdyK7)
Add the second side of the exchange with this second lock
Send the completed transaction to the blockchain
[OK] Succesfully exchanged the asset!
------ ----------------------- ------- -------------- --------------------------------------------------------------------------
Name Quantity Units Asset Ref Holders
------ ----------------------- ------- -------------- --------------------------------------------------------------------------
EURO 1,000,000,000,000,000 0.01 51-265-2924 1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW aka world: 999,999,999,000,000.00
1V8eBFfkDS5wqw5tJgaV3d9Tmd1HR3UkNf9qAj aka kunstmaan: 500,000.00
139HvPMKwzbR66LwzbAMAR3FCwr96uVCwMdyK7 aka roderik: 500,000.00
KUMA 1,000,000,000,000,000 1 52-265-35437 1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW aka world: 999,999,999,990,000.00
1V8eBFfkDS5wqw5tJgaV3d9Tmd1HR3UkNf9qAj aka kunstmaan: 9,000.00
139HvPMKwzbR66LwzbAMAR3FCwr96uVCwMdyK7 aka roderik: 1,000.00
------ ----------------------- ------- -------------- --------------------------------------------------------------------------
---------------------------------------- ----------- ------------------------------
Addresses KYC Balance
---------------------------------------- ----------- ------------------------------
1JkWGKMBzLsPy5GFgHaKuL6UVRhAVWZq8fY8VW world KUMA: 999,999,999,990,000.00
EURO: 999,999,999,000,000.00
1V8eBFfkDS5wqw5tJgaV3d9Tmd1HR3UkNf9qAj kunstmaan KUMA: 9,000.00
EURO: 500,000.00
15ZE3vx8h4BjgBy33yFrD1af3fdtCCUE6QUcxx
139HvPMKwzbR66LwzbAMAR3FCwr96uVCwMdyK7 roderik EURO: 500,000.00
KUMA: 1,000.00
---------------------------------------- ----------- ------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment