<oembed><type>rich</type><version>1.0</version><title>Yaacov Akiba Slama [ARCHIVE] wrote</title><author_name>Yaacov Akiba Slama [ARCHIVE] (npub1z0…at6uz)</author_name><author_url>https://yabu.me/npub1z07sgdx84scq77jx3fddj3jt0w2w3vpa0t5gyk0nmcaggs3gyt7s6at6uz</author_url><provider_name>njump</provider_name><provider_url>https://yabu.me</provider_url><html>📅 Original date posted:2019-11-08&#xA;📝 Original message:&#xA;Hi Rusty.&#xA;&#xA;On 08/11/2019 05:09, Rusty Russell wrote:&#xA;&gt; Hi Yaacov,&#xA;&gt;          I&#39;ve been pondering this since reading your comment on the PR!&#xA;&gt;&#xA;&gt;          As a fan of standards, I am attracted to UBL (I&#39;ve chaired an&#xA;&gt; OASIS TC in the past and have great respect for them); as a fan of&#xA;&gt; simplicity I am not.  Forcing UBL implementation on wallet providers is&#xA;&gt; simply not going to happen, whatever I were to propose.&#xA;&#xA;In fact, using UBL in LN specification is simpler than trying to &#xA;understand the semantic of each field needed by businesses. You are &#xA;right that using such a standard put the burden into wallet providers &#xA;instead of LN developers, but as a wallet (breez) provider, I can say that:&#xA;&#xA;1) Most money transactions (currently in fiat) are between users and &#xA;companies and not between two users. If we want to replace FIAT by &#xA;bitcoin, we need to create an infrastructure which can be used by &#xA;businesses. That means that LN needs to be able to be integrated easily &#xA;into POS systems. So, as a wallet provider who want to help the &#xA;transition from fiat to bitcoin, I need to be able to support standards &#xA;even if that means that I have to implement using/parsing big and &#xA;complicated standards.&#xA;&#xA;For simple user to user transaction, the wallet can decide to use only a &#xA;subset of the fields defined by the standard.&#xA;&#xA;2) From a technical point of view, it seems that there are already UBL &#xA;libraries in java and c#. I don&#39;t think such library is hard to write in &#xA;go, rust.., so every wallet implementation can use them.&#xA;&#xA;&gt;&#xA;&gt; &#x9;We also don&#39;t want duplication; what if the &#34;UBL field&#34; were to&#xA;&gt; say I were selling you a bridge for $1 and the description and amount&#xA;&gt; fields actually said I was selling you a coffee for $3?&#xA;&gt;&#xA;&gt; &#x9;However, since invoices/offers and UBL are both structures, we&#xA;&gt; should have an explicit mapping between the two.  What fields should&#xA;&gt; have their own existence in the invoice/offer and what should be in a&#xA;&gt; general UBL field is a question we have to think on further.&#xA;I agree that we don&#39;t want duplication. This is the reason, I propose to &#xA;use only ubl structure and add in the ln standard invoice an ubl &#xA;&#34;opaque&#34; field which will be self-contained and only add in the &#xA;invoice/offer/.. the fields specific to ln.&#xA;&gt;          Anyway, you&#39;ll have to bear with me as I read this 172 page&#xA;&gt; standard...&#xA;&#xA;Sure :-)&#xA;&#xA;BTW, Thanks a lot for your all your work. LN would not have been where &#xA;it is without your push.</html></oembed>