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