<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <updated></updated>
  <generator>https://nostr.ae</generator>

  <title>Nostr notes by </title>
  <author>
    <name></name>
  </author>
  <link rel="self" type="application/atom+xml" href="https://nostr.ae/npub17kxcmv2v95tlmhupv768wal5ukzwycqeewc8nq5ghyp6ys7a466qrkudlg.rss" />
  <link href="https://nostr.ae/npub17kxcmv2v95tlmhupv768wal5ukzwycqeewc8nq5ghyp6ys7a466qrkudlg" />
  <id>https://nostr.ae/npub17kxcmv2v95tlmhupv768wal5ukzwycqeewc8nq5ghyp6ys7a466qrkudlg</id>
  <icon></icon>
  <logo></logo>




  <entry>
    <id>https://nostr.ae/nevent1qqsv7nkyxw0a9ayqyj6pm572m30xp28e8laxh84cunu5yng79he0c4qzyr6cmrd3fsk30lwls9nmgamh7njcfcnqr89mq7vz3zus8gjrmkhtgn4uatr</id>
    
      <title type="html">📅 Original date posted:2022-02-02 📝 Original message: Hi ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsv7nkyxw0a9ayqyj6pm572m30xp28e8laxh84cunu5yng79he0c4qzyr6cmrd3fsk30lwls9nmgamh7njcfcnqr89mq7vz3zus8gjrmkhtgn4uatr" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs8sseh3n04dhmfad6ujmgdgft2jvtsrjkdpxsnxvqt85namg8drtcjsnypj&#39;&gt;nevent1q…nypj&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-02-02&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi folks, Danny (on the TrelisDev email) and I have built out an MVP for an&lt;br/&gt;invoicing tool that issues an LN invoice and then pays it out to a&lt;br/&gt;merchant&amp;#39;s BTC account.&lt;br/&gt;&lt;br/&gt;A few things I&amp;#39;m looking to get input on right now. Your assistance - or&lt;br/&gt;tips on people to talk to - would be greatly appreciated:&lt;br/&gt;&lt;br/&gt;*1. Lightning to Bitcoin Cash-out*&lt;br/&gt;The reason for taking this approach is that it was difficult to find a way&lt;br/&gt;to support lightning to lightning payments in a non-custodial way. The&lt;br/&gt;options we saw were:&lt;br/&gt;1. Trampoline node (like Phoenix) - requiring management of liquidity for&lt;br/&gt;our node, which is a pain (and may or may not be custodial?)&lt;br/&gt;2. LN bits approach - which is custodial.&lt;br/&gt;&lt;br/&gt;Obviously cashing LN out to BTC isn&amp;#39;t ideal (due to LN fees &#43; Boltz 0.5%&lt;br/&gt;swap fee &#43; Bitcoin on-chain fee), particularly because of the on-chain fee,&lt;br/&gt;but at least we can do it more non-custodially.&lt;br/&gt;&lt;br/&gt;I am interested in better technical approaches. Ideally, we&amp;#39;d like to&lt;br/&gt;non-custodially facilitate lightning invoice generation (without the&lt;br/&gt;merchant having to set up a node with a BTC pay server type approach = too&lt;br/&gt;complicated for most merchants imo).&lt;br/&gt;&lt;br/&gt;*3. Bitcoin Price Volatility*&lt;br/&gt;Generally, I&amp;#39;m skeptical a tool like this can get a lot of adoption because&lt;br/&gt;Bitcoin price right now is too volatile to be useful to customers and&lt;br/&gt;merchants. I guess there is a bounty for building contracts for difference&lt;br/&gt;(illegal in the US) that would support a dollar-pegged asset in lightning&lt;br/&gt;channels, but I&amp;#39;m guessing that&amp;#39;s 6-12 months away from being usable.&lt;br/&gt;&lt;br/&gt;Ideas on approaches for addressing this would be appreciated.&lt;br/&gt;&lt;br/&gt;Cheers, Ronan&lt;br/&gt;~~~&lt;br/&gt;P.S. I have two less technical things I&amp;#39;m thinking about. I know this is a&lt;br/&gt;dev thread, but if anyone has reccs or folks to talk to that would be much&lt;br/&gt;appreciated.&lt;br/&gt;&lt;br/&gt;*a. Regulatory Status*&lt;br/&gt;I would like to understand whether merchants making use of Trelis software&lt;br/&gt;to build a payments page brings Trelis under regulation, and what options&lt;br/&gt;there are for handling this in the case of:&lt;br/&gt;a) just for providing the software&lt;br/&gt;b) specifically with our current implementation, where the merchant uses&lt;br/&gt;our api to have Boltz.exchange create a bitcoin lightning invoice that&lt;br/&gt;swaps to a bitcoin payment to the merchant&amp;#39;s wallet.&lt;br/&gt;&lt;br/&gt;*b. Mitigating Fraud*&lt;br/&gt;I am concerned both about fraudulent merchants creating payment links&lt;br/&gt;*and* about&lt;br/&gt;the image/brand of Trelis vis-a-vis the merchants that it serves. Broadly,&lt;br/&gt;I see two extremes for the approach Trelis could take:&lt;br/&gt;&lt;br/&gt;1) No Verification&lt;br/&gt;~ in which case there is probably an adverse selection problem for the&lt;br/&gt;types of merchant that would use Trelis.&lt;br/&gt;&lt;br/&gt;2) Use Verification:&lt;br/&gt;~ in which case Trelis needs to make moral judgements around what types of&lt;br/&gt;businesses to support. To a degree, we already have a layer of this by&lt;br/&gt;requiring login with gmail, and could progressively build on this.&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20220202/f09bf3c8/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20220202/f09bf3c8/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:05:06&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqst2qgy4hhycyjrewxwuc3j3nq5rs92qfdmpawhhz528qd23lyv9xczyr6cmrd3fsk30lwls9nmgamh7njcfcnqr89mq7vz3zus8gjrmkhtgdcqz0f</id>
    
      <title type="html">📅 Original date posted:2021-12-17 📝 Original message: Hi ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqst2qgy4hhycyjrewxwuc3j3nq5rs92qfdmpawhhz528qd23lyv9xczyr6cmrd3fsk30lwls9nmgamh7njcfcnqr89mq7vz3zus8gjrmkhtgdcqz0f" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsfd3g0slx2mx48q3m5azkxkpekxskw0c4snyutq0tt73j437jgdvchcy8vs&#39;&gt;nevent1q…y8vs&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-12-17&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi ZmnSCPxj,&lt;br/&gt;&lt;br/&gt;So, are you saying there needs to be a new command &amp;#34;signfakeinvoice&amp;#34; at the&lt;br/&gt;protocol level?&lt;br/&gt;&lt;br/&gt;If that was there, how much work/hours would it be to build the poor man&amp;#39;s&lt;br/&gt;rendez-vous at the application level?&lt;br/&gt;&lt;br/&gt;If the above were to be implemented, when the payer pays the invoice, it&amp;#39;s&lt;br/&gt;then automatically split and sent to two (or more) recipients?&lt;br/&gt;&lt;br/&gt;Lastly, would it make more sense to have split payments at the protocol&lt;br/&gt;level?&lt;br/&gt;&lt;br/&gt;Thanks, Ronan&lt;br/&gt;&lt;br/&gt;On Thu, Dec 16, 2021 at 11:44 PM ZmnSCPxj &amp;lt;ZmnSCPxj at protonmail.com&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Good morning William,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; Has anyone coded up a &amp;#39;Poor man&amp;#39;s rendez-vous&amp;#39; demo yet? How hard would&lt;br/&gt;&amp;gt; &amp;gt; it be, could it be done with a clightning plugin perhaps?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Probably not *yet*; it needs each intermediate payee (i.e. the one that is&lt;br/&gt;&amp;gt; not the last one) to sign an invoice for which it does not know the&lt;br/&gt;&amp;gt; preimage.&lt;br/&gt;&amp;gt; Maybe call such a command `signfakeinvoice`.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; However, if a command to do the above is implemented (it would have to&lt;br/&gt;&amp;gt; generate and sign the invoice, but not insert it into the database at all),&lt;br/&gt;&amp;gt; then intermediate payees can use `htlc_accepted` hook for the &amp;#34;rendez-vous&amp;#34;.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; So to generate the invoice:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; * Arrange the payees in some agreed fixed order.&lt;br/&gt;&amp;gt; * Last payee generates a normal invoice.&lt;br/&gt;&amp;gt; * From last payee to second, each one:&lt;br/&gt;&amp;gt;   * Passes its invoice to the previous payee.&lt;br/&gt;&amp;gt;   * The previous payee then creates its own signed invoice with&lt;br/&gt;&amp;gt; `signfakeinvoice` to itself, adding its payout plus a fee budget, as well&lt;br/&gt;&amp;gt; as adding its own delay budget.&lt;br/&gt;&amp;gt;   * The previous payee plugin stores the next-payee invoice and the&lt;br/&gt;&amp;gt; details of its own invoice to db, such as by `datastore` command.&lt;br/&gt;&amp;gt; * The first payee sends the sender the invoice.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; On payment:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; * The sender sends the payment to the first hop.&lt;br/&gt;&amp;gt; * From first payee to second-to-last:&lt;br/&gt;&amp;gt;   * Triggers `htlc_accepted` hook, and plugin checks if the incoming&lt;br/&gt;&amp;gt; payment has a hash that is in this scheme stored in the database.&lt;br/&gt;&amp;gt;   * The plugin gathers `htlc_accepted` hook invocations until they sum up&lt;br/&gt;&amp;gt; to the expected amount (this handles multipath between payees).&lt;br/&gt;&amp;gt;   * The plugin marks that it has gathered all `htlc_accepted` hooks for&lt;br/&gt;&amp;gt; that hash in durable storage a.k.a. `datastore` (this handles a race&lt;br/&gt;&amp;gt; condition where the plugin is able to respond to some `htlc_accepted`&lt;br/&gt;&amp;gt; hooks, but the node is restarted before all of them were able to be&lt;br/&gt;&amp;gt; recorded by C-Lightning in its own database --- this makes the plugin skip&lt;br/&gt;&amp;gt; the &amp;#34;gathering&amp;#34; step above, once it has already gathered them all before).&lt;br/&gt;&amp;gt;   * The plugin checks if there is already an outgoing payment for that&lt;br/&gt;&amp;gt; hash (this handles the case where our node gets restarted in the meantime&lt;br/&gt;&amp;gt; --- C-Lightning will reissue `htlc_accepted` on startup)&lt;br/&gt;&amp;gt;     * If the outgoing payment exists and is pending, wait for it to&lt;br/&gt;&amp;gt; resolve to either success or failure.&lt;br/&gt;&amp;gt;     * If the outgoing payment exists and succeeded, resolve all the&lt;br/&gt;&amp;gt; gathered `htlc_accepted` hooks.&lt;br/&gt;&amp;gt;     * If the outgoing payment exists and failed, fail all the gathered&lt;br/&gt;&amp;gt; `htlc_accepted` hooks.&lt;br/&gt;&amp;gt;     * Otherwise, perform a `pay`, giving `maxfeepercent` and `maxdelay`&lt;br/&gt;&amp;gt; based on its fee budget and delay budget.&lt;br/&gt;&amp;gt;       When the `pay` succeeds or fails, propagate it to the gathered&lt;br/&gt;&amp;gt; `htlc_accepted` hooks.&lt;br/&gt;&amp;gt; * The last payee just receives a normal payment using the normal&lt;br/&gt;&amp;gt; invoice-receive scheme.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Regards,&lt;br/&gt;&amp;gt; ZmnSCPxj&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20211217/f105a9e5/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20211217/f105a9e5/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:04:51&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsxjl5ekhg3r72cr04kkv8xeppw34wpunchypfh8q326gqq27r8jnqzyr6cmrd3fsk30lwls9nmgamh7njcfcnqr89mq7vz3zus8gjrmkhtgwruh53</id>
    
      <title type="html">📅 Original date posted:2021-12-15 📝 Original message: Hi ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsxjl5ekhg3r72cr04kkv8xeppw34wpunchypfh8q326gqq27r8jnqzyr6cmrd3fsk30lwls9nmgamh7njcfcnqr89mq7vz3zus8gjrmkhtgwruh53" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsgccncd9xqr7kwdq9efxra7m4xy5fyktcuel93vadtrhymrdmlm4qvcemzt&#39;&gt;nevent1q…emzt&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-12-15&lt;br/&gt;📝 Original message:&lt;br/&gt;Hi folks, I&amp;#39;m Ronan - based in Dublin and building Trelis.com (simple&lt;br/&gt;payment links to accept Lightning).&lt;br/&gt;&lt;br/&gt;I&amp;#39;m wondering if there is a way to create an invoice that splits the&lt;br/&gt;payment to two lightning addresses?&lt;br/&gt;&lt;br/&gt;If not, what would be required to develop this?&lt;br/&gt;* A protocol change?&lt;br/&gt;* Could it be built with the current protocol (I see an app on LN Bits to&lt;br/&gt;split but it doesn&amp;#39;t seem to work).&lt;br/&gt;&lt;br/&gt;Many thanks, Ronan&lt;br/&gt;&lt;br/&gt;Ronan McGovern&lt;br/&gt;www.Trelis.com&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20211215/accda31a/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20211215/accda31a/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-09T15:04:49&#43;02:00</updated>
  </entry>

</feed>