Last active
September 3, 2019 22:12
-
-
Save wakiyamap/4f7f9ac36dbb3d5f55c8e1b218c8d8f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tamami | |
$ lncli getinfo | |
{ | |
"identity_pubkey": "02549e77024e7494b85fa23197fdd707f859095756b49dab123d865a86e94b5617", | |
"alias": "02549e77024e7494b85f", | |
"num_pending_channels": 0, | |
"num_active_channels": 0, | |
"num_peers": 3, | |
"block_height": 1296145, | |
"block_hash": "2db1e16328a62e1f48feeb7866d15d19c6e91194544d0d3d72f3ca4631e24a88", | |
"synced_to_chain": true, | |
"testnet": false, | |
"chains": [ | |
"monacoin" | |
], | |
"uris": [ | |
], | |
"best_header_timestamp": "1523397807" | |
} | |
$ lncli walletbalance | |
{ | |
"total_balance": "10860896", | |
"confirmed_balance": "10860896", | |
"unconfirmed_balance": "0" | |
} | |
Ayame | |
$ lncli getinfo | |
{ | |
"identity_pubkey": "03aad108db2ad9e3e447f09831c1f56a45fc986b27a404021a8163d31613959c27", | |
"alias": "03aad108db2ad9e3e447", | |
"num_pending_channels": 0, | |
"num_active_channels": 0, | |
"num_peers": 3, | |
"block_height": 1296145, | |
"block_hash": "2db1e16328a62e1f48feeb7866d15d19c6e91194544d0d3d72f3ca4631e24a88", | |
"synced_to_chain": true, | |
"testnet": false, | |
"chains": [ | |
"monacoin" | |
], | |
"uris": [ | |
"03aad108db2ad9e3e447f09831c1f56a45fc986b27a404021a8163d31613959c27@160.16.125.215:9735" | |
], | |
"best_header_timestamp": "1523397807" | |
} | |
$ lncli walletbalance | |
{ | |
"total_balance": "0", | |
"confirmed_balance": "0", | |
"unconfirmed_balance": "0" | |
} | |
$ lncli listchannels | |
{ | |
"channels": [ | |
] | |
} | |
Tamami | |
$ lncli listpeers | |
{ | |
"peers": [ | |
{ | |
"pub_key": "03421d2e363756a40698f287a30068eae220fd24c779368d03b85d70a70988b43c", | |
"address": "153.126.197.243:9735", | |
"bytes_sent": "51238", | |
"bytes_recv": "55766", | |
"sat_sent": "0", | |
"sat_recv": "0", | |
"inbound": false, | |
"ping_time": "105394" | |
}, | |
{ | |
"pub_key": "02da4ea946a047779e0f8cde531d1c381f794bcf35a14ce841e62e78d674601ce1", | |
"address": "153.126.199.20:9735", | |
"bytes_sent": "47069", | |
"bytes_recv": "51569", | |
"sat_sent": "0", | |
"sat_recv": "0", | |
"inbound": false, | |
"ping_time": "83820" | |
}, | |
{ | |
"pub_key": "033858fb82f08d57aeb640bbe2dd0c1e51aa804a68170885a7e10f93f3835731b3", | |
"address": "51.15.43.0:9735", | |
"bytes_sent": "5285", | |
"bytes_recv": "9223", | |
"sat_sent": "0", | |
"sat_recv": "0", | |
"inbound": false, | |
"ping_time": "329272" | |
} | |
] | |
} | |
$ lncli connect 03aad108db2ad9e3e447f09831c1f56a45fc986b27a404021a8163d31613959c27@160.16.125.215:9735 | |
{ | |
} | |
$ lncli listpeers | |
{ | |
"peers": [ | |
{ | |
"pub_key": "033858fb82f08d57aeb640bbe2dd0c1e51aa804a68170885a7e10f93f3835731b3", | |
"address": "51.15.43.0:9735", | |
"bytes_sent": "5389", | |
"bytes_recv": "9327", | |
"sat_sent": "0", | |
"sat_recv": "0", | |
"inbound": false, | |
"ping_time": "471755" | |
}, | |
{ | |
"pub_key": "03421d2e363756a40698f287a30068eae220fd24c779368d03b85d70a70988b43c", | |
"address": "153.126.197.243:9735", | |
"bytes_sent": "51316", | |
"bytes_recv": "55844", | |
"sat_sent": "0", | |
"sat_recv": "0", | |
"inbound": false, | |
"ping_time": "88240" | |
}, | |
{ | |
"pub_key": "02da4ea946a047779e0f8cde531d1c381f794bcf35a14ce841e62e78d674601ce1", | |
"address": "153.126.199.20:9735", | |
"bytes_sent": "47173", | |
"bytes_recv": "51673", | |
"sat_sent": "0", | |
"sat_recv": "0", | |
"inbound": false, | |
"ping_time": "214757" | |
}, | |
{ | |
"pub_key": "03aad108db2ad9e3e447f09831c1f56a45fc986b27a404021a8163d31613959c27", | |
"address": "160.16.125.215:9735", | |
"bytes_sent": "6", | |
"bytes_recv": "6", | |
"sat_sent": "0", | |
"sat_recv": "0", | |
"inbound": false, | |
"ping_time": "0" | |
} | |
] | |
} | |
$ lncli openchannel --node_key=03aad108db2ad9e3e447f09831c1f56a45fc986b27a404021a8163d31613959c27 --local_amt 10000000 | |
{ | |
"funding_txid": "33ba5f75d461dc7ff57de29440b268179f945c3903d432cf17ec6a23f5bba08c" | |
} | |
$ lncli listchannels | |
{ | |
"channels": [ | |
{ | |
"active": true, | |
"remote_pubkey": "03aad108db2ad9e3e447f09831c1f56a45fc986b27a404021a8163d31613959c27", | |
"channel_point": "33ba5f75d461dc7ff57de29440b268179f945c3903d432cf17ec6a23f5bba08c:1", | |
"chan_id": "1425144090969899009", | |
"capacity": "10000000", | |
"local_balance": "9981900", | |
"remote_balance": "0", | |
"commit_fee": "18100", | |
"commit_weight": "600", | |
"fee_per_kw": "25000", | |
"unsettled_balance": "0", | |
"total_satoshis_sent": "0", | |
"total_satoshis_received": "0", | |
"num_updates": "0", | |
"pending_htlcs": [ | |
], | |
"csv_delay": 8010, | |
"private": false | |
} | |
] | |
} | |
$ lncli channelbalance | |
{ | |
"balance": "9981900", | |
"pending_open_balance": "0" | |
} | |
Ayame | |
$ lncli listchannels | |
{ | |
"channels": [ | |
{ | |
"active": true, | |
"remote_pubkey": "02549e77024e7494b85fa23197fdd707f859095756b49dab123d865a86e94b5617", | |
"channel_point": "33ba5f75d461dc7ff57de29440b268179f945c3903d432cf17ec6a23f5bba08c:1", | |
"chan_id": "1425144090969899009", | |
"capacity": "10000000", | |
"local_balance": "0", | |
"remote_balance": "9981900", | |
"commit_fee": "18100", | |
"commit_weight": "552", | |
"fee_per_kw": "25000", | |
"unsettled_balance": "0", | |
"total_satoshis_sent": "0", | |
"total_satoshis_received": "0", | |
"num_updates": "0", | |
"pending_htlcs": [ | |
], | |
"csv_delay": 8010, | |
"private": false | |
} | |
] | |
} | |
$ lncli channelbalance | |
{ | |
"balance": "0", | |
"pending_open_balance": "0" | |
} | |
$ lncli addinvoice --amt 100000 --memo wakiyama_tamamichan_kawaii | |
{ | |
"r_hash": "80cf2059d773c4d3ea13e7f528622a8b93ad91fdaffc30f2941359ec770a5d52", | |
"pay_req": "lnmona1m1pdv630vpp5sr8jqkwhw0zd86snul6jsc323wf6my0a4l7rpu55zdv7cac2t4fqdp2waskk6tev9kkzhm5v9kkzmtfvd5xzmjlddshwctfdycqz7qj605tqfkyjr7rhvgd6hlczrdu5acqqktd6jpkuwjnlrsux2qhz6zrxhwy3tl9c0jylun6nlgh58u2ktw0vvm77fy40rjgctvr9vqj3qqqjqv7n" | |
} | |
Tamami | |
$ lncli decodepayreq lnmona1m1pdv630vpp5sr8jqkwhw0zd86snul6jsc323wf6my0a4l7rpu55zdv7cac2t4fqdp2waskk6tev9kkzhm5v9kkzmtfvd5xzmjlddshwctfdycqz7qj605tqfkyjr7rhvgd6hlczrdu5acqqktd6jpkuwjnlrsux2qhz6zrxhwy3tl9c0jylun6nlgh58u2ktw0vvm77fy40rjgctvr9vqj3qqqjqv7n | |
{ | |
"destination": "03aad108db2ad9e3e447f09831c1f56a45fc986b27a404021a8163d31613959c27", | |
"payment_hash": "80cf2059d773c4d3ea13e7f528622a8b93ad91fdaffc30f2941359ec770a5d52", | |
"num_satoshis": "100000", | |
"timestamp": "1523402220", | |
"expiry": "3600", | |
"description": "wakiyama_tamamichan_kawaii", | |
"description_hash": "", | |
"fallback_addr": "", | |
"cltv_expiry": "960" | |
} | |
$ lncli sendpayment --pay_req=lnmona1m1pdv630vpp5sr8jqkwhw0zd86snul6jsc323wf6my0a4l7rpu55zdv7cac2t4fqdp2waskk6tev9kkzhm5v9kkzmtfvd5xzmjlddshwctfdycqz7qj605tqfkyjr7rhvgd6hlczrdu5acqqktd6jpkuwjnlrsux2qhz6zrxhwy3tl9c0jylun6nlgh58u2ktw0vvm77fy40rjgctvr9vqj3qqqjqv7n | |
{ | |
"payment_error": "", | |
"payment_preimage": "5e57730cfe0cbb9a7948950064a0d4534f9f068ff537b590b5663a3d1898c18f", | |
"payment_route": { | |
"total_time_lock": 1297155, | |
"total_amt": 100000, | |
"hops": [ | |
{ | |
"chan_id": 1425144090969899009, | |
"chan_capacity": 10000000, | |
"amt_to_forward": 100000, | |
"expiry": 1297155 | |
} | |
] | |
} | |
} | |
$ lncli channelbalance | |
{ | |
"balance": "9881900", | |
"pending_open_balance": "0" | |
} | |
$ lncli listchannels | |
{ | |
"channels": [ | |
{ | |
"active": true, | |
"remote_pubkey": "03aad108db2ad9e3e447f09831c1f56a45fc986b27a404021a8163d31613959c27", | |
"channel_point": "33ba5f75d461dc7ff57de29440b268179f945c3903d432cf17ec6a23f5bba08c:1", | |
"chan_id": "1425144090969899009", | |
"capacity": "10000000", | |
"local_balance": "9881900", | |
"remote_balance": "100000", | |
"commit_fee": "18100", | |
"commit_weight": "724", | |
"fee_per_kw": "25000", | |
"unsettled_balance": "0", | |
"total_satoshis_sent": "100000", | |
"total_satoshis_received": "0", | |
"num_updates": "2", | |
"pending_htlcs": [ | |
], | |
"csv_delay": 8010, | |
"private": false | |
} | |
] | |
} | |
Ayame | |
$ lncli channelbalance | |
{ | |
"balance": "100000", | |
"pending_open_balance": "0" | |
} | |
$ lncli listchannels | |
{ | |
"channels": [ | |
{ | |
"active": true, | |
"remote_pubkey": "02549e77024e7494b85fa23197fdd707f859095756b49dab123d865a86e94b5617", | |
"channel_point": "33ba5f75d461dc7ff57de29440b268179f945c3903d432cf17ec6a23f5bba08c:1", | |
"chan_id": "1425144090969899009", | |
"capacity": "10000000", | |
"local_balance": "100000", | |
"remote_balance": "9881900", | |
"commit_fee": "18100", | |
"commit_weight": "724", | |
"fee_per_kw": "25000", | |
"unsettled_balance": "0", | |
"total_satoshis_sent": "0", | |
"total_satoshis_received": "100000", | |
"num_updates": "2", | |
"pending_htlcs": [ | |
], | |
"csv_delay": 8010, | |
"private": false | |
} | |
] | |
} | |
Tamami | |
$ lncli closechannel --funding_txid=33ba5f75d461dc7ff57de29440b268179f945c3903d432cf17ec6a23f5bba08c --output_index=1 | |
{ | |
"closing_txid": "edc6d7704e5fa1181ee7018b3be075597eb7c55337879f122309102c0a71fb79" | |
} | |
$ lncli walletbalance | |
{ | |
"total_balance": "10744726", | |
"confirmed_balance": "10744726", | |
"unconfirmed_balance": "0" | |
} | |
Ayame | |
$ lncli walletbalance | |
{ | |
"total_balance": "100000", | |
"confirmed_balance": "100000", | |
"unconfirmed_balance": "0" | |
} | |
openchannel transaction | |
https://mona.chainseeker.info/tx/33ba5f75d461dc7ff57de29440b268179f945c3903d432cf17ec6a23f5bba08c | |
closechannel transaction | |
https://mona.chainseeker.info/tx/edc6d7704e5fa1181ee7018b3be075597eb7c55337879f122309102c0a71fb79 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment