Generate your lightning node wallet address root@docker-s-6vcpu-16gb-nyc3-01:~# lightning-cli newaddr { "address" : "3Dx1XCcBsTtUQmWW6KD8PfMx6fB9saejYM" } Wait for 6 confirms, then check balance root@docker-s-6vcpu-16gb-nyc3-01:~# lightning-cli listfunds { "outputs" :
Find a node from the website, like SLEEPYARK root@docker-s-6vcpu-16gb-nyc3-01:~# lightning-cli connect 02f6725f9c1c40333b67faea92fd211c183050f28df32cac3f9d69685fe9665432 104.198.32.198 9735 { "id" : "02f6725f9c1c40333b67faea92fd211c183050f28df32cac3f9d69685fe9665432" } And now you should be GOSSIPING with the node root@docker-s-6vcpu-16gb-nyc3-01:~# lightning-cli getpeers { "peers" :
Decode your BOLT11 payment string root@docker-s-6vcpu-16gb-nyc3-01:~# lightning-cli decodepay lnbc1712393610p1pdx8n8mpp5c72tc40vzyf9deqm5lzn76404heejady02l494ykke3vm3x44y8qdy2gfkx7cmtwd68yetpd5azqv339cunvgz42dzzqen0wgsyymr0vd4hxarjv4sk6gznv96x2mrvd96x2grnw35kx6m9wgs8sgp5ypskuepqf35kw6r5de5kueeqwd6xjcmtv4ezq7pqxvcqpggq86huylgdcd4st0d8thgdlw67tefjkhrnssyf8zk2s9cu37hdanwm6q96llg5zgjckwe7jamsmxnp4vy4q7vyulv57d9yg0wm7df0cpgwgu2m { "currency" : "bc", "timestamp" : 1516489979, "expiry" : 3600, "payee" : "02f6725f9c1c40333b67faea92fd211c183050f28df32cac3f9d69685fe9665432", "msatoshi" : 171239361, "description" : "Blockstream: 21.96 USD for Blockstream Satellite sticker x 4 and Lightning sticker x 3", "payment_hash" : "c794bc55ec111256e41ba7c53f6aafadf39975a47abf52d496b662cdc4d5a90e", "signature" : "30440220400fabf09f4370dac16f69d77437eed79794cad71ce10224e2b2a05c723ebb7b0220376f402ebff45048962cecfa5ddc366986ac2541e6139f653cd2910f76fcd4bf" }
Find a route to the node root@docker-s-6vcpu-16gb-nyc3-01:~# lightning-cli getroute 02f6725f9c1c40333b67faea92fd211c183050f28df32cac3f9d69685fe9665432 200000000 0 { "route" : [ { "id" : "02f6725f9c1c40333b67faea92fd211c183050f28df32cac3f9d69685fe9665432", "channel" : "505231:2001:1", "msatoshi" : 200000000, "delay" : 9 } ] } Pay the BOLT11 address
SL Oracle Usage Activation To activate the SL Oracle the user needs to include the following event in their smart contract