<div class="pull-right">  Image by <a href="https://pixabay.com/users/ronberg-3029970/?utm_source=link-attribution&utm_medium=referral&utm_campaign=image&utm_content=1625550" class="keychainify-checked">Ron van den Berg</a> from <a href="https://pixabay.com/?utm_source=link-attribution&utm_medium=referral&utm_campaign=image&utm_content=1625550" class="keychainify-checked">Pixabay</a> </div> It took me 3 specific tries over 6 months to figure this out. It could have been easy but Lightning's docs are not what they should be and I just couldn't find any solid code out on the net that actually does what I was trying to do. Jump to the end if you want to actually see Python code. This wasn't a core part of what I'm building, mostly I needed it to TEST what I've built. The Podcasting 2.0 Value 4 Value system is built on something called Keysend Payments within Lightning. These were a bolt on cludge that was added in the last year and a half. They are vital because they are the only thing which allows UNSOLICITED funds to be sent via the Lightning network. ## Normal Lightning The normal way of operating in Lightning (and this is counter to all your regular experience with other crypto payment systems) is this: 1. Receiver's Node Creates an Invoice (with a unique key) -> 2. Receiver's Node sends or shows invoice (QR code) -> 3. Payer sees and pays invoice -> 4. Payer's node tries to find a path to send sats via channels to the Receiver's node -> 5. Path is found and time locked agreements made with all the channels in the path to transfer on an encrypted payment (sometimes taking fees along the way) -> 6. Payment is sent and the Receiver unwraps it to verify that keys and hashes match and sats (payment) has moved to the Receiver's node in the channel it came in on. I've seen payments I send take 5 hops to get to a destination. And we're done. But that involves generating an invoice. In fact steps 1 & 2 are what happens when you [click on a link to send someone Lightning and get shown a QR Code like this link](https://lnd.v4v.app/hive/get/HIVE/@brianoflondon/3333/Thank%20you%20for%20clicking%20on%20the%20link!%20Send%20me%203333%20sats%20as%20Hive%20if%20you%20want!) ## Keysend is different The difference with how Keysend works for us in streaming sats payments is that steps 1 to 3 don't happen. Instead, the Payer's node comes up with a secret on its own. It wraps that up in a special payload section and then tries to find a path to the receiver's node. 1. Payer's node creates a secret token 2. Payer's node tries to find a payment path to the Receiver's node address 3. If that path is found it sends the payment with a the secret hidden inside and a SHA256 Hash of the secret visible to all the nodes passing the payment. 4. The Receiver's node gets the payment and can verify the hash and the secret match. The practical upshot of this is that Lightning the payment system does actually resemble lightning the physical phenomena. ]Lightning strikes do feature a path of ionized air being formed milliseconds before the main bolt of electricity moves from the ground up](https://www.youtube.com/watch?v=qQKhIK4pvYo). And I can see this when I receive payments: this is the log of watching for new invoices to come in when I get a Keysend payment: ```log 2022-03-24T07:49:05+0000 : New invoice received: Value: 24 | Timer: 265.371702 2022-03-24T07:49:05+0000 : Invoice has no htlcs: | Timer: 265.372052 2022-03-24T07:49:05+0000 : New invoice received: Value: 24 | Timer: 265.373830 ``` As you can see, the same invoices is registered twice, my code ignores the first one (which is missing 'htlcs') because only when the second notification occurs does the useful information come in. This bit tells me which podcast was being listened to and which Hive address I should pass the payment on to. As you can see 0.002s passes between these two points. Mostly this is just an artefact of the way the LND software (which I'm using for my Lightning node) operates, but I thought it was interesting. ## Python I first got some help in this [discussion thread on Github](https://github.com/lightningnetwork/lnd/discussions/6357#discussioncomment-2424350) and I've now submitted the following text to the official documentation. I'm not sure they'll like my chatty style. ### Sending a Keysend Payment in Python with `lnd`'s REST API endpoint This document is born out of some personal frustration: I found it particularlly hard to find working examples of using the LND Rest API (specifically on an Umbrel) from Python. I will present here some working code examples to send a Keysend payment from Python. At first you'd think this was trivial considering how easy it is with `lncli`: `lncli sendpayment -d 0266ad2656c7a19a219d37e82b280046660f4d7f3ae0c00b64a1629de4ea567668 -a 1948 --keysend --data 818818=627269616e6f666c6f6e646f6e --json` That will send 1948 sats to the public key `0266ad2656c7a19a219d37e82b280046660f4d7f3ae0c00b64a1629de4ea567668` and add a special key of `818818` which passes the Hive address of `brianoflondon` as Hex: `627269616e6f666c6f6e646f6e` To find this Hex value in Python: ``` >>> a = "brianoflondon" >>> a.encode().hex() '627269616e6f666c6f6e646f6e' ``` ## How to do that with Python: Actually getting this working and figuring out all the correct combinations of base64 and Hex encoding had me tearing my hair out. When it worked after I think I tried almost every possible combingation of `.encode()` `hex()` and `base64.b64encode(plain_str.encode()).decode()` left me feeling like the head of a team of monkeys which had just finished the last page typing out The Complete Works of William Shakespear. I'm going to assume you've successfully managed to get a connection up and running to your LND API. If you haven't perhaps that needs to be better explained somewhere in these docs. Perhaps I can be persuaded. I've documented this code and whilst its a bit different from what I'm actually using (I'm working on streaming value 4 value payments in podcasting so I'm sending quite a bit more information encoded in the `dest_custom_records` field but the method is exactly the same as I've shown here for the `818818` field). [You can learn more about these Podcasting specific fields here](https://github.com/satoshisstream/satoshis.stream/blob/main/TLV_registry.md). ```python import base64 import codecs import json import os from hashlib import sha256 from secrets import token_hex from typing import Tuple import httpx def get_lnd_headers_cert( admin: bool = False, local: bool = False, node: str = None ) -> Tuple[dict, str]: """Return the headers and certificate for connecting, if macaroon passed as string does not return a certificate (Voltage)""" if not node: node = Config.LOCAL_LND_NODE_ADDRESS # maintain option to work with local macaroon and umbrel macaroon_folder = ".macaroon" if not admin: macaroon_file = "invoices.macaroon" else: macaroon_file = "admin.macaroon" macaroon_path = os.path.join(macaroon_folder, macaroon_file) cert = os.path.join(macaroon_folder, "tls.cert") macaroon = codecs.encode(open(macaroon_path, "rb").read(), "hex") headers = {"Grpc-Metadata-macaroon": macaroon} return headers, cert def b64_hex_transform(plain_str: str) -> str: """Returns the b64 transformed version of a hex string""" a_string = bytes.fromhex(plain_str) return base64.b64encode(a_string).decode() def b64_transform(plain_str: str) -> str: """Returns the b64 transformed version of a string""" return base64.b64encode(plain_str.encode()).decode() def send_keysend( amt: int, dest_pubkey: str = "", hive_accname: str = "brianoflondon", ) -> dict: """Pay a keysend invoice using the chosen node""" node = "https://umbrel.local:8080/" headers, cert = get_lnd_headers_cert(admin=True, node=node) if not dest_pubkey: dest_pubkey = my_voltage_public_key # Base 64 encoded destination bytes dest = b64_hex_transform(dest_pubkey) # We generate a random 32 byte Hex pre_image here. pre_image = token_hex(32) # This is the hash of the pre-image payment_hash = sha256(bytes.fromhex(pre_image)) # The record 5482373484 is special: it carries the pre_image # to the destination so it can be compared with the hash we # pass via the payment_hash dest_custom_records = { 5482373484: b64_hex_transform(pre_image), 818818: b64_transform(hive_accname), } url = f"{node}v1/channels/transactions" data = { "dest": dest, "amt": amt, "payment_hash": b64_hex_transform(payment_hash.hexdigest()), "dest_custom_records": dest_custom_records, } response = httpx.post( url=url, headers=headers, data=json.dumps(data), verify=cert ) print(json.dumps(response.json(), indent=2)) return json.dumps(response.json(), indent=2) ``` This explanation of what is going on here is pretty useful too: >Since you're not paying an invoice, the receiver doesn't know the preimage for the given payment's hash. You need to add the preimage to your custom records. The number is 5482373484. > >It also looks like you need to actually set the payment's hash (payment_hash=sha256(preimage)) of the payment. > >See https://github.com/lightningnetwork/lnd/blob/master/cmd/lncli/cmd_payments.go#L358 on how it's done on the RPC level (what's behind the --keysend flag of lndcli sendpayment). If you still have question, find me @brianoflondon pretty much anywhere online and I'll help if I can. ------- **[Support Proposal 201 on PeakD](https://peakd.com/me/proposals/201) [Support Proposal 201 with Hivesigner](https://hivesigner.com/sign/update-proposal-votes?proposal_ids=%5B201%5D&approve=true) [Support Proposal 201 on Ecency](https://ecency.com/proposals/201)** -------  - [Vote for APSHamilton's Witness KeyChain or HiveSigner](https://vote.hive.uno/@apshamilton) - [Vote for APSHamilton's Witness direct with HiveSigner](https://hivesigner.com/sign/account-witness-vote?witness=apshamilton&approve=1) - [Get Brave](https://brave.com/bri740) - [Use my referral link for crypto.com](https://platinum.crypto.com/r/wkva2kezch) to sign up and we both get $25 USD - [Sign up for BlockFi](https://blockfi.com/?ref=96f858b3) - [Find my videos on 3speak](https://3speak.online/user/brianoflondon) - [Join the JPBLiberty Class Action law suit](https://jpbliberty.formstack.com/forms/class_member_signup?Referral=brianoflondon) - [Verify my ID and Send me a direct message on Keybase](https://keybase.io/brianoflondon)
author | brianoflondon |
---|---|
permlink | lightning-keysend-is-strange-and-how-to-send-keysend-payment-in-lightning-with-the-lnd-rest-api-via-python |
category | hive-110369 |
json_metadata | "{"app":"peakd/2022.03.7","format":"markdown","description":"A short explanation and then some real code","tags":["development","python","lightning","leofinance","proofofbrain","stemgeeks","podcasting2","v4vapp"],"users":["brianoflondon","apshamilton"],"image":["https://files.peakd.com/file/peakd-hive/brianoflondon/Eo1wSwZBvrJ8mKxwoVg99dFMDosnnaYRmsoiLiQJVaU5G1jgSNppSY3CFtJ7KH5Y97V.jpg","https://files.peakd.com/file/peakd-hive/brianoflondon/fIN9elzs-brianoflondon20hive20footer.png"]}" |
created | 2022-03-24 08:46:27 |
last_update | 2022-03-24 15:59:12 |
depth | 0 |
children | 11 |
last_payout | 2022-03-31 08:46:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 24.008 HBD |
curator_payout_value | 23.902 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 11,002 |
author_reputation | 760,626,613,375,672 |
root_title | "Lightning Keysend is strange and how to send Keysend Payment in Lightning with the LND REST API via Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 111,641,304 |
net_rshares | 33,568,569,237,826 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
schro | 0 | 2,094,942,262 | 100% | ||
mammasitta | 0 | 1,020,586,345 | 0.3% | ||
gerber | 0 | 33,935,406,662 | 21% | ||
daan | 0 | 51,437,870,431 | 8% | ||
ezzy | 0 | 1,301,793,934 | 21% | ||
ausbitbank | 0 | 94,128,766,785 | 10.8% | ||
arcange | 0 | 685,243,002,539 | 5% | ||
exyle | 0 | 182,961,538,163 | 21% | ||
raphaelle | 0 | 6,142,855,728 | 5% | ||
drbec | 0 | 145,886,944 | 100% | ||
stevescoins | 0 | 1,336,374,833 | 13.5% | ||
mattclarke | 0 | 158,295,653,417 | 25% | ||
daveks | 0 | 1,342,862,012,556 | 21% | ||
wakeupnd | 0 | 90,741,528,711 | 50% | ||
tftproject | 0 | 692,367,859 | 4.05% | ||
jimbobbill | 0 | 3,298,142,342 | 15% | ||
ebargains | 0 | 1,694,615,226 | 5.25% | ||
ura-soul | 0 | 17,215,687,412 | 13.5% | ||
ancolie | 0 | 662,088,949 | 0.61% | ||
walterjay | 0 | 9,940,327,961 | 0.87% | ||
v4vapid | 0 | 5,307,886,512,940 | 33% | ||
voter | 0 | 27,356,189,120 | 100% | ||
steemitboard | 0 | 20,525,889,379 | 3% | ||
freebornsociety | 0 | 1,142,002,341 | 8% | ||
lizanomadsoul | 0 | 1,169,819,862 | 2% | ||
frankydoodle | 0 | 807,979,522 | 6.75% | ||
arnel | 0 | 538,308,376 | 100% | ||
iansart | 0 | 74,401,891,209 | 21% | ||
stackin | 0 | 691,424,721 | 10% | ||
schro.one | 0 | 153,565,564 | 100% | ||
rt395 | 0 | 18,147,341,646 | 25% | ||
stevelivingston | 0 | 271,960,270,697 | 75% | ||
truthforce | 0 | 1,594,466,879 | 27% | ||
joeyarnoldvn | 0 | 1,517,611,634 | 4.26% | ||
felt.buzz | 0 | 7,977,869,058 | 0.87% | ||
shitsignals | 0 | 1,052,019,425 | 21% | ||
nathanmars | 0 | 108,899,152,639 | 51% | ||
jasonbu | 0 | 1,557,069,851 | 2.5% | ||
jeanlucsr | 0 | 1,264,294,565 | 2.1% | ||
felander | 0 | 112,898,639,198 | 21% | ||
parejan | 0 | 2,900,477,291 | 100% | ||
artonmysleeve | 0 | 1,086,073,186 | 10.5% | ||
yogacoach | 0 | 22,121,819,091 | 21% | ||
fatman | 0 | 7,059,597,006 | 2% | ||
yangyanje | 0 | 158,589,849,293 | 100% | ||
insanityisfree | 0 | 505,881,311 | 27% | ||
risemultiversity | 0 | 1,895,038,944 | 13.5% | ||
dagger212 | 0 | 530,121,241,894 | 80% | ||
afterglow | 0 | 846,939,188 | 2.5% | ||
informationwar | 0 | 181,664,723,421 | 27% | ||
mightpossibly | 0 | 136,854,722,205 | 100% | ||
quekery | 0 | 167,243,369,468 | 100% | ||
kaniz | 0 | 2,509,910,267 | 100% | ||
smooms | 0 | 133,838,080,066 | 100% | ||
dmwh | 0 | 13,402,589,429 | 13.5% | ||
elbrava | 0 | 3,875,648,797 | 50% | ||
daltono | 0 | 239,001,675,509 | 10% | ||
manncpt | 0 | 1,993,351,320 | 2% | ||
empress-eremmy | 0 | 17,118,351,514 | 13.5% | ||
rbm | 0 | 2,700,600,679 | 50% | ||
gustavoadolfodca | 0 | 926,847,568 | 40% | ||
unconditionalove | 0 | 1,428,898,345 | 10.5% | ||
atma-yoga | 0 | 525,933,857 | 50% | ||
upfundme | 0 | 528,677,230 | 2.25% | ||
mamun123456 | 0 | 11,208,783,539 | 100% | ||
reazuliqbal | 0 | 101,052,939,624 | 21% | ||
bestboom | 0 | 5,842,662,521 | 21% | ||
manniman | 0 | 652,428,326,544 | 100% | ||
mariuszkarowski | 0 | 86,507,032 | 10% | ||
roshansuares | 0 | 9,897,141,321 | 100% | ||
mary-me | 0 | 197,319,187,631 | 100% | ||
themightyvolcano | 0 | 8,313,873,867 | 21% | ||
achimmertens | 0 | 10,668,108,550 | 2.5% | ||
ifunnymemes | 0 | 650,705,259 | 10.5% | ||
meanbees | 0 | 4,888,590,142 | 2.1% | ||
globalschool | 0 | 927,020,100 | 1% | ||
fitnessgourmet | 0 | 507,568,780 | 50% | ||
jancharlest | 0 | 1,314,353,813 | 100% | ||
fw206 | 0 | 2,697,755,927,339 | 100% | ||
steem.services | 0 | 12,791,819,662 | 5.25% | ||
commonlaw | 0 | 4,541,813,080 | 35% | ||
haccolong | 0 | 4,897,045,442 | 6.75% | ||
apshamilton | 0 | 1,719,045,635,262 | 100% | ||
newsnownorthwest | 0 | 650,315,767 | 13.5% | ||
amnlive | 0 | 4,489,511,520 | 13.5% | ||
heros | 0 | 4,007,600,354 | 100% | ||
nutritree | 0 | 4,050,499,839 | 8.1% | ||
filterfield | 0 | 4,209,591,760 | 100% | ||
richestroomba | 0 | 1,613,657,147 | 100% | ||
scribdbloat | 0 | 69,498,848 | 100% | ||
updatedanthology | 0 | 72,297,880 | 100% | ||
amphora | 0 | 822,543,753 | 100% | ||
expectantfig | 0 | 1,163,588,390 | 100% | ||
hamismsf | 0 | 631,484,490,168 | 100% | ||
zuerich | 0 | 556,450,477,547 | 10% | ||
hoaithu | 0 | 1,816,485,187 | 5.73% | ||
yaelg | 0 | 62,841,234,952 | 90% | ||
deepdives | 0 | 211,036,611,881 | 27% | ||
dlike | 0 | 95,114,402,799 | 21% | ||
anhvu | 0 | 1,189,433,584 | 5.4% | ||
pboulet | 0 | 2,005,385,493 | 1.4% | ||
bobby.madagascar | 0 | 6,328,943,289 | 21% | ||
ynwa.andree | 0 | 46,055,060,268 | 50% | ||
voter001 | 0 | 27,007,222,445 | 34.7% | ||
riskneutral | 0 | 3,089,630,525 | 27% | ||
steempope | 0 | 657,651,534 | 100% | ||
kristall97 | 0 | 68,497,281,549 | 100% | ||
cakemonster | 0 | 9,708,942,952 | 10.5% | ||
jpbliberty | 0 | 575,140,858,641 | 100% | ||
shainemata | 0 | 931,836,157 | 2.5% | ||
primeradue | 0 | 509,786,594 | 33% | ||
determine | 0 | 1,277,985,176 | 21% | ||
permaculturedude | 0 | 677,206,179 | 21% | ||
fortrussnews | 0 | 835,660,246 | 13.5% | ||
dknkyz | 0 | 11,386,112,055 | 35% | ||
hungryharish | 0 | 23,385,099,231 | 100% | ||
maxsieg | 0 | 3,294,363,324 | 27% | ||
hungryanu | 0 | 3,719,857,749 | 50% | ||
mfblack | 0 | 2,939,026,919 | 19.95% | ||
tommyrobinson | 0 | 1,980,517,075 | 100% | ||
poliwalt10 | 0 | 583,550,535 | 2.62% | ||
clownworld | 0 | 1,198,676,446 | 13.5% | ||
firefuture | 0 | 1,512,040,841 | 10.5% | ||
steemindian | 0 | 4,290,299,244 | 100% | ||
kaeptn-iglo | 0 | 41,621,368,876 | 100% | ||
milu-the-dog | 0 | 3,800,249,128 | 21% | ||
ozraeliavi | 0 | 68,993,395,144 | 100% | ||
triplea.bot | 0 | 4,979,148,404 | 21% | ||
steem.leo | 0 | 24,575,184,173 | 21% | ||
bearjohn | 0 | 1,349,302,120 | 75% | ||
mktmaker | 0 | 655,187,602 | 72.75% | ||
babytarazkp | 0 | 3,635,953,923 | 40% | ||
abh12345.stem | 0 | 1,536,746,149 | 100% | ||
beta500 | 0 | 22,917,801,529 | 21% | ||
blocktvnews | 0 | 2,769,112,024 | 100% | ||
pjansen.leo | 0 | 196,713,842 | 100% | ||
invest2learn | 0 | 522,049,213 | 21% | ||
bpcvoter | 0 | 999,308,927 | 100% | ||
ribary | 0 | 7,427,217,593 | 10.5% | ||
inigo-montoya-jr | 0 | 2,478,203,799 | 22.95% | ||
atma.love | 0 | 27,673,540,194 | 5.4% | ||
mice-k | 0 | 1,962,841,867 | 21% | ||
achim03.leo | 0 | 1,854,821,015 | 100% | ||
dpend.active | 0 | 1,473,206,256 | 4.2% | ||
fengchao | 0 | 50,772,739,578 | 5% | ||
hivebuzz | 0 | 6,973,720,670 | 2% | ||
laruche | 0 | 82,141,724,345 | 1.75% | ||
hiq | 0 | 587,872,284,789 | 100% | ||
behiver | 0 | 201,015,169,116 | 100% | ||
dcityrewards | 0 | 678,607,033,714 | 21% | ||
sketching | 0 | 990,198,775 | 10.5% | ||
schmidi | 0 | 578,321,619 | 1% | ||
jelly13 | 0 | 783,121,632 | 10.5% | ||
gohive | 0 | 43,675,487,528 | 100% | ||
discohedge | 0 | 787,860,164 | 3% | ||
brettpullen | 0 | 4,367,158,168,610 | 100% | ||
prometheus1881 | 0 | 1,043,448,276 | 100% | ||
carmate | 0 | 11,849,552,813 | 100% | ||
patriamcaritatis | 0 | 7,087,637,139 | 100% | ||
rslsaku | 0 | 2,975,208,344 | 100% | ||
damus-nostra | 0 | 91,977,535,361 | 100% | ||
zeitgeisthelden | 0 | 3,743,641,221 | 100% | ||
dknkyz.leo | 0 | 805,549,089 | 50% | ||
abenteurer-dan | 0 | 5,732,459,292 | 100% | ||
officialhisha | 0 | 325,078,441 | 100% | ||
hiq.redaktion | 0 | 49,672,518,410 | 100% | ||
beebay.office | 0 | 3,868,546,384 | 100% | ||
n0m0refak3n3ws | 0 | 628,176,053 | 13.5% | ||
hivechat | 0 | 1,099,781,423 | 10.5% | ||
jmsansan.leo | 0 | 517,461,080 | 50% | ||
dcrops | 0 | 75,208,484,944 | 10.5% | ||
ctpsb.leo | 0 | 661,886,154 | 100% | ||
eldritchspig | 0 | 906,888,912 | 13.5% | ||
kriszrokk | 0 | 4,339,094,412 | 100% | ||
liotes.leo | 0 | 612,053,649 | 100% | ||
brofi | 0 | 72,553,319,992 | 3% | ||
drricksanchez | 0 | 45,300,987,348 | 10% | ||
curatingunicorn | 0 | 7,248,062,755 | 70% | ||
luna1999 | 0 | 387,701,039 | 100% | ||
shanhenry | 0 | 4,940,520,937 | 100% | ||
holovision.stem | 0 | 83,836,629 | 50% | ||
wochenblick | 0 | 27,563,569,576 | 100% | ||
hivehydra | 0 | 4,643,250,233 | 100% | ||
fehlerbeheber | 0 | 2,362,846,403 | 100% | ||
borsengelaber | 0 | 33,997,132,768 | 100% | ||
delver | 0 | 10,774,207,379 | 27% | ||
r0nny | 0 | 106,684,092,555 | 100% | ||
ebike-adventure | 0 | 1,990,817,757 | 100% | ||
olympicdragon | 0 | 1,173,105,272 | 100% | ||
hiq.magazine | 0 | 4,957,225,622 | 100% | ||
elitsa.r96 | 0 | 2,699,359,642 | 100% | ||
sunshineee | 0 | 204,666,560 | 8% | ||
investinfreedom | 0 | 10,110,507,349 | 27% | ||
techlhab | 0 | 5,001,204,144 | 100% | ||
martinevu | 0 | 0 | 100% | ||
resonator | 0 | 8,621,289,757,257 | 27% | ||
zedamna2022 | 0 | 1,103,572,979 | 10% |
#### <div class="phishy">WARNING - The message you received from @cve3 is a CONFIRMED SCAM!</div> **DO NOT FOLLOW** any instruction and **DO NOT CLICK** on any link in the comment!
author | arcange |
---|---|
permlink | notify-brianoflondon-20220324154550 |
category | hive-110369 |
json_metadata | {"image":["https://i.imgur.com/2auxMll.png"]} |
created | 2022-03-24 15:45:51 |
last_update | 2022-03-24 15:45:51 |
depth | 1 |
children | 0 |
last_payout | 2022-03-31 15:45:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 180 |
author_reputation | 1,146,616,139,479,238 |
root_title | "Lightning Keysend is strange and how to send Keysend Payment in Lightning with the LND REST API via Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 111,650,931 |
net_rshares | 0 |
Great information and tutorial and Python rules! Easy to use, does the job faster than in other languages and you have everything laid down in the post...what else could somebody want? :)) Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@behiver/re-brianoflondon-q3ybq)
author | behiver |
---|---|
permlink | re-brianoflondon-q3ybq |
category | hive-110369 |
json_metadata | {"app":"leofinance/0.2","format":"markdown","tags":["hive-110369","leofinance","hive-167922"],"canonical_url":"https://leofinance.io/@behiver/re-brianoflondon-q3ybq"} |
created | 2022-03-24 13:35:54 |
last_update | 2022-03-24 13:35:54 |
depth | 1 |
children | 0 |
last_payout | 2022-03-31 13:35:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 286 |
author_reputation | 567,890,467,975,745 |
root_title | "Lightning Keysend is strange and how to send Keysend Payment in Lightning with the LND REST API via Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 111,647,308 |
net_rshares | 0 |
Nice keep it up. if you haven't receive 300 HIVE and 200 LEO than vote **LeoFinance** for witness LeoFinance is a well known and great project so i am vouching for it Vote for LeoFinance and get 300 HIVE and 200 LEO now [CLICK HERE TO VOTE NOW](https://54896-78481.live/19205)
author | cve3 |
---|---|
permlink | r98sh8 |
category | hive-110369 |
json_metadata | {"links":["https://54896-78481.live/19205"],"app":"hiveblog/0.1"} |
created | 2022-03-24 09:17:39 |
last_update | 2022-03-24 09:17:39 |
depth | 1 |
children | 3 |
last_payout | 2022-03-31 09:17:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 277 |
author_reputation | 51,667,871,453,708 |
root_title | "Lightning Keysend is strange and how to send Keysend Payment in Lightning with the LND REST API via Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 111,641,968 |
net_rshares | -2,061,957,742,150 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
jersteemit | 0 | -1,175,601,621 | -100% | ||
fw206 | 0 | -30,747,360,332 | -1% | ||
brianoflondon | 0 | -2,030,034,780,197 | -100% |
Pls beware of this link. It highly possible to be a scam❗❗❗❗.
author | techlhab |
---|---|
permlink | re-cve3-r98x82 |
category | hive-110369 |
json_metadata | {"tags":["hive-110369"],"app":"peakd/2022.03.7"} |
created | 2022-03-24 11:00:12 |
last_update | 2022-03-24 11:00:12 |
depth | 2 |
children | 2 |
last_payout | 2022-03-31 11:00:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 1.453 HBD |
curator_payout_value | 1.454 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 61 |
author_reputation | 11,066,014,147,515 |
root_title | "Lightning Keysend is strange and how to send Keysend Payment in Lightning with the LND REST API via Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 111,644,040 |
net_rshares | 2,030,034,780,197 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
brianoflondon | 0 | 2,030,034,780,197 | 100% |
Thanks, I've muted that in this community.
author | brianoflondon |
---|---|
permlink | re-techlhab-r992p8 |
category | hive-110369 |
json_metadata | {"tags":["hive-110369"],"app":"peakd/2022.03.7"} |
created | 2022-03-24 12:58:21 |
last_update | 2022-03-24 12:58:21 |
depth | 3 |
children | 0 |
last_payout | 2022-03-31 12:58:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 42 |
author_reputation | 760,626,613,375,672 |
root_title | "Lightning Keysend is strange and how to send Keysend Payment in Lightning with the LND REST API via Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 111,646,599 |
net_rshares | 0 |
It's already a confirmed scam. Thanks for helping the community avoid clicking that scam link. !PIZZA
author | savvyplayer |
---|---|
permlink | re-techlhab-2022324t192220440z |
category | hive-110369 |
json_metadata | {"tags":["hive-110369"],"app":"ecency/3.0.22-vision","format":"markdown+html"} |
created | 2022-03-24 11:22:18 |
last_update | 2022-03-24 11:22:18 |
depth | 3 |
children | 0 |
last_payout | 2022-03-31 11:22:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 103 |
author_reputation | 21,811,125,531,217 |
root_title | "Lightning Keysend is strange and how to send Keysend Payment in Lightning with the LND REST API via Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 111,644,560 |
net_rshares | -16,996,456,631,832 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
spaminator | 0 | -2,760,298,060 | -0.1% | ||
azircon | 0 | -18,983,143,516,176 | -100% | ||
brianoflondon | 0 | 1,989,447,182,404 | 100% |
This is really nice and helpful which I appreciate a lot, keep up the good work moving
author | emeka4 |
---|---|
permlink | r98ram |
category | hive-110369 |
json_metadata | {"app":"hiveblog/0.1"} |
created | 2022-03-24 08:52:06 |
last_update | 2022-03-24 08:52:06 |
depth | 1 |
children | 0 |
last_payout | 2022-03-31 08:52:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 86 |
author_reputation | 234,166,618,016,346 |
root_title | "Lightning Keysend is strange and how to send Keysend Payment in Lightning with the LND REST API via Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 111,641,388 |
net_rshares | 0 |
Thanks for sharing.it was a great one
author | heskay |
---|---|
permlink | re-brianoflondon-2022324t11933461z |
category | hive-110369 |
json_metadata | {"tags":["development","python","lightning","leofinance","proofofbrain","stemgeeks","podcasting2","v4vapp"],"app":"ecency/3.0.22-vision","format":"markdown+html"} |
created | 2022-03-24 10:11:30 |
last_update | 2022-03-24 10:11:30 |
depth | 1 |
children | 0 |
last_payout | 2022-03-31 10:11:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 37 |
author_reputation | 81,253,609,298,220 |
root_title | "Lightning Keysend is strange and how to send Keysend Payment in Lightning with the LND REST API via Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 111,643,168 |
net_rshares | 0 |
This is great. Now you have keysend payment. It's so innovative. It only took you few months to worked this out. This is going to be really useful !
author | olympicdragon |
---|---|
permlink | re-brianoflondon-2022324t1718479z |
category | hive-110369 |
json_metadata | {"tags":["hive-110369","development","python","lightning","leofinance","proofofbrain","stemgeeks","podcasting2","v4vapp"],"app":"ecency/3.0.27-mobile","format":"markdown+html"} |
created | 2022-03-24 09:18:06 |
last_update | 2022-03-24 09:18:06 |
depth | 1 |
children | 0 |
last_payout | 2022-03-31 09:18:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 148 |
author_reputation | 34,659,922,596,582 |
root_title | "Lightning Keysend is strange and how to send Keysend Payment in Lightning with the LND REST API via Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 111,641,978 |
net_rshares | 0 |
<center>PIZZA! PIZZA Holders sent <strong>$PIZZA</strong> tips in this post's comments: @savvyplayer<sub>(5/10)</sub> tipped @techlhab (x1) <sub>Learn more at https://hive.pizza.</sub></center>
author | pizzabot |
---|---|
permlink | re-lightning-keysend-is-strange-and-how-to-send-keysend-payment-in-lightning-with-the-lnd-rest-api-via-python-20220324t112325z |
category | hive-110369 |
json_metadata | "{"app": "beem/0.24.26"}" |
created | 2022-03-24 11:23:27 |
last_update | 2022-03-24 11:23:27 |
depth | 1 |
children | 0 |
last_payout | 2022-03-31 11:23:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 198 |
author_reputation | 7,539,280,605,993 |
root_title | "Lightning Keysend is strange and how to send Keysend Payment in Lightning with the LND REST API via Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 111,644,591 |
net_rshares | 0 |
Nice post @brianoflondon. I so much love it when I see python been utilized in building amazing solutions and softwares. I use python alot too. And it happens to be the first language I stared with in my software and programming career. Weldone 👍.
author | techlhab |
---|---|
permlink | re-brianoflondon-r98xjo |
category | hive-110369 |
json_metadata | {"tags":["hive-110369"],"app":"peakd/2022.03.7"} |
created | 2022-03-24 11:07:09 |
last_update | 2022-03-24 11:07:09 |
depth | 1 |
children | 0 |
last_payout | 2022-03-31 11:07:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 1.395 HBD |
curator_payout_value | 1.396 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 249 |
author_reputation | 11,066,014,147,515 |
root_title | "Lightning Keysend is strange and how to send Keysend Payment in Lightning with the LND REST API via Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 111,644,180 |
net_rshares | 1,949,713,630,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
brianoflondon | 0 | 1,949,713,630,000 | 100% |