Created
January 5, 2024 12:59
-
-
Save 1amhesus/daeb07a6207f665d861af1836bee6d5f to your computer and use it in GitHub Desktop.
run-payment-demo.sh
This file contains hidden or 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
| 1amhesus ~/lnbook/code/docker develop ● bash run-payment-demo.sh | |
| Starting Orakle Payment Demo | |
| ====================================================== | |
| Waiting for nodes to startup | |
| - Waiting for bitcoind startup... | |
| - Waiting for bitcoind mining... | |
| - Waiting for Alice startup... | |
| - Waiting for Bob startup... | |
| - Waiting for Chan startup... | |
| - Waiting for Orakle startup... | |
| All nodes have started | |
| ====================================================== | |
| Getting node IDs | |
| - Alice: 0347f448ce5d73b12a9110bd217309c5c3e1deb81ccf1088795f5aaa61f8954afe | |
| - Bob: 03934fa8862851ba9825ff40b49e21efcf5e20b2052eaff4e101cd91c4acea92c7 | |
| - Chan: 02d666908eab1856995923803920d3f1971bc3f4eed962d8bd35c935f754466452 | |
| - Orakle: 0322469ddf2733ce5c80e3fb8024e2ec38d655c15e6be045082d646c447a73d89e | |
| ====================================================== | |
| Waiting for Lightning nodes to sync the blockchain | |
| - Waiting for Alice chain sync... | |
| - Waiting for Bob chain sync... | |
| - Waiting for Chan chain sync... | |
| - Waiting for Orakle chain sync... | |
| All nodes synched to chain | |
| ====================================================== | |
| Setting up connections and channels | |
| - Alice to Bob | |
| - Open connection from Alice node to Bob's node | |
| - Create payment channel Alice->Bob | |
| Bob to Chan | |
| - Open connection from Bob's node to Chan's node | |
| - Create payment channel Bob->Chan | |
| Chan to Orakle | |
| - Open connection from Chan's node to Orakle's node | |
| - Create payment channel Chan->Orakle | |
| All channels created | |
| ====================================================== | |
| Waiting for channels to be confirmed on the blockchain | |
| - Waiting for Alice channel confirmation.......... | |
| - Alice->Bob connected | |
| - Waiting for Bob channel confirmation... | |
| - Bob->Chan connected | |
| - Waiting for Chan channel confirmation... | |
| - Chan->Orakle connected | |
| All channels confirmed | |
| ====================================================== | |
| Check Alice's route to Orakle: Alice doesn't yet have a route to Orakle | |
| Waiting for Alice graph sync. This may take a while... | |
| - Alice knows about 1 channel | |
| .......................................................................... | |
| - Alice knows about 2 channels | |
| ...................................... | |
| - Alice knows about all 3 channels! | |
| Alice knows about all the channels | |
| ====================================================== | |
| Get 10k sats invoice from Orakle | |
| - Orakle invoice: | |
| lnbcrt100u1pje060spp5nl46wksuhafwynl54egvketq4w4zh4p7l7rax74dm59d0jj2duqqdqqcqzpgxqyz5vqsp5zyln4le0jrua628qjjy6zpp33qccxg8x07q0w0qvc0ne9tfrr64s9qyyssqgt0qv893mdncv0ejrn7xs7flvgsx2qpekzacw05lfrddpwh4zm6s9lu3yvf0tnpxx0nc7l02hpkez6ye5gmvtqle5jys5468xhjv02qqdwc5wu | |
| ====================================================== | |
| Attempting payment from Alice to Orakle | |
| Successful payment! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment