I've been away but almost everything ran smoothly on V4Vapp and Podping

If you run a Dapp on Hive and want to accept ⚡️Lightning, receiving it as Hive or HBD make sure you read down to Next steps.

For the first time in over 2 years I went on holiday with my family. This was a pretty huge trip for us and our first time out of Israel since the summer before Covid. I had been away in May to help set things up for this longer trip and I'll post about it separately though @apshamilton did hint about it in his post the other day and I spent the best part of a month on a catamaran sailing along the coast from southern France to Italy.

Brian steers the ship

V4VApp

Day to day operations

Fortunately I had very solid internet (thanks mostly to Starlink) throughout our trip so I was able to monitor all the services of v4v.app. Just before I went away I put into place a bunch of code changes and did a whole lot of testing. I also finished moving all the infrastructure away from my home and onto cloud servers (split between @privex for most of my code and Voltage for the LND stuff). Feel free to use my @brianoflondon account as a referral code if you want a server from @privex.

Starlink Dishy bolted to the boat

While I was away almost everything ran completely smoothly from a user point of view.

Only one issue cropped up which I'll explain below as it's an interesting learning case.

The case of the very small payments

The streaming sats part of the Value 4 Value model can result in very small payments of as little as 1 sat being sent. In practical terms payments this small over Lightning aren't a great idea as they can result in fees that take the whole payment. However if two nodes which have a channel between them send single sats, there are no fees and there are some zero fee paths through the Lightning network for small sums.

While I was away, one particular 3speak Podcast by @criptomonedastv started receiving a series of ultra small payments via the Fountain App. Normally that app batches up and only sends 100 sat minimums but for some reason this podcast received a number of tiny transfers. Ordinarily I'd pass these on as HBD with a message like the following:

You got 2 sats from @user2158797157869056 by boost listening on Fountain
        to criptomonedastv 3Speak Podcast, ep Hablando de #Bitcoin y #Criptomonedas - Julio 19, 2022 at time 0:32:36
        - GO PODCASTING! Value for Value v4v.app
        - https://fountain.fm/episode/9053210313 - vYv7mYPuao

Unfortunately 2 sats is currently below 0.001 HBD and below 0.001 Hive making it completely impossible to pass on that amount as a message on Hive.

  "conversion": {
    "conv_from": "sats",
    "sats": 2,
    "HIVE": 0.000956,
    "HBD": 0.000462,
    "USD": 0.0005
  }

I also didn't have in place a check for trying to send a zero value transfer and behind the scenes, the message you get from Hive's API servers when you try to send a zero (or negative) transfer is this:

{
  "UnhandledRPCError": "Assert Exception:amount.amount > 0: Cannot transfer a negative amount (aka: stealing)"
}

Monaco sunset

My code went a bit wild over those, resulting in a notification on my phone every minute as it kept trying to pay the impossible amount. I figured out a way to cancel the transactions behind the scenes but I wasn't confident enough to fix my code on my laptop from a boat floating at anchor just outside Monaco so I waited until this morning at home.

I will need to figure out what to do with these dust amounts but at present I believe I owe @criptomonedastv around 16 sats.

Next steps

Hive and HBD denominated Lightning Invoices

Privex Invoice with added ⚡️Lightning

My overarching goal is documentation and packaging the main service to be shared and run by others. However.... I've realised I must ofer a way for Hive Dapps to ask for and receive a specific amount of Hive or HBD with the conversion from Sats locked in. Right now my code tends to work in Sats as the main currency and so I have a bit of work to do to.

Once that is done any Hive Dapp will have the ability to EASILY accept Lightning payments. For example, a site like @privex, which already accepts Hive, HBD and a few other cryptos, would be able to add a Lightning Invoice alongside all their other payment methods and the fees would be tiny! Lightning is also pretty good for privacy on its own and my service adds another level of obscurity. If you think this would be useful, perhaps let @someguy123 know.

And if you run a Dapp on Hive and this sounds useful, get in touch and help me get this working. You'll be able to use my API to get a ⚡️Lightning invoice QR code. When paid (within 10 mins) you'll receive a Hive transfer as an exact amount in Hive or HBD and you'll be able to specify any unique code you need in the accompanying message.

When you include projects like Get Alby which puts a Lightning wallet in the browser, payments from OUTSIDE the Hive ecosystem can be made with the lowest friction we've ever had on the wider Internet.

Podping

Podping is working beautifully and the Live Item Tag (LIT) is starting to get attention.

Now that I'm back home I really have to get @ddrfr33k and @chiren over at @vimm to look seriously at adding Podping Live item support. I'm tagging them so they know I'm back and looking to talk!


Support Proposal 222 on PeakD
Support Proposal 222 with Hivesigner
Support Proposal 222 on Ecency


Send Lightning to Me!

Sort:  

Wow am pretty sure you had a lot to fun in your outing which is pretty nice and thanks for sharing.

Well deserved break, glad you enjoyed time away.

Thanks for ongoing work developing and testing!

@tipu curate


The rewards earned on this comment will go directly to the people( @joanstewart ) sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.

A nice vacation on a sailing trip is beautiful. I shall look at this privex site, it has lot to offer !

Hey @brianoflondon,
I was already wondering where you are since I hadn’t heard of you for weeks. But sailing ⛵️ is a very good excuse and the systems obviously are running without you! Excellent. 👍🏻

Welcome back and many greetings
🙋🏼‍♂️ Thomas

However if two nodes which have a channel between them send single sats, there are no fees and there are some zero fee paths through the Lightning network for small sums.

It looks really nice and good. Hope everything will run more smoothly in V4Vapp and Podping.

You know how to find me! Let's sit down one of these days and have a chat, just the three of us!

Nice! 😊😎🤙 chillin', drinkin the beer..

u said 'starlink', but in my head i read stark link and thought u were on Tony Stark's wifi.. :P

I hope this really starts kicking in brutally at some point, it's such a great innovation what you're building there. Makes me really wonder...

Congratulations @brianoflondon! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):

You distributed more than 120000 upvotes.
Your next target is to reach 125000 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Welcome back! 👍

Good day Sir
Please how do I get some upvote from you.
Thanks

I heard you talk about the boat on Cryptomaniacs. Do you have any more pics/info on it?

See you at Hivefest.

!BEER


Hey @brianoflondon, here is a little bit of BEER from @steevc for you. Enjoy it!

Did you know that you can use BEER at dCity game to **buy dCity NFT cards** to rule the world.

La verdad disfrutar de unas vacaciones , siempre hace bien, te dejo mi voto y te sigo, saludos.