From 1154d632a296ebac6ceea2383e6574362ae97c9c Mon Sep 17 00:00:00 2001 From: Eneko Illarramendi Date: Sun, 19 Apr 2020 23:36:57 +0200 Subject: [PATCH] chore: update currencies list from OpenNode --- .../extensions/tpos/templates/tpos/index.html | 91 ++----------------- .../withdraw/templates/withdraw/_lnurl.html | 8 +- 2 files changed, 13 insertions(+), 86 deletions(-) diff --git a/lnbits/extensions/tpos/templates/tpos/index.html b/lnbits/extensions/tpos/templates/tpos/index.html index df622c5e..66dc3a6a 100644 --- a/lnbits/extensions/tpos/templates/tpos/index.html +++ b/lnbits/extensions/tpos/templates/tpos/index.html @@ -79,8 +79,7 @@ label="Info"> -
Tiago's Point of Sale
-

Is an instant and secure point of sale terminal. A merchant can use the PoS to accept payments to their LNbits wallet, without having to expose the wallet itself, which means it can even be shared with others.

+

Tiago's Point of Sale is an instant and secure point of sale terminal. A merchant can use the PoS to accept payments to their LNbits wallet, without having to expose the wallet itself, which means it can even be shared with others.

For example, a merchant could setup multiple TPoSs for each one of their colleagues, and use TPoS to track which colleague has taken sales. The terminal is optimized for mobile use, and is easily shared as a QR code, via the "#" share function on the TPoS.

Created by Tiago Vasconcelos.
@@ -136,85 +135,15 @@ return { tposs: [], currencyOptions: [ - {value: 'USD', label: 'USD - United States Dollars'}, - {value: 'EUR', label: 'EUR - Euro'}, - {value: 'GBP', label: 'GBP - United Kingdom Pounds'}, - {value: 'DZD', label: 'DZD - Algeria Dinars'}, - {value: 'ARP', label: 'ARP - Argentina Pesos'}, - {value: 'AUD', label: 'AUD - Australia Dollars'}, - {value: 'ATS', label: 'ATS - Austria Schillings'}, - {value: 'BSD', label: 'BSD - Bahamas Dollars'}, - {value: 'BBD', label: 'BBD - Barbados Dollars'}, - {value: 'BEF', label: 'BEF - Belgium Francs'}, - {value: 'BMD', label: 'BMD - Bermuda Dollars'}, - {value: 'BRL', label: 'BRL - Brazil Real'}, - {value: 'BGL', label: 'BGL - Bulgaria Lev'}, - {value: 'CAD', label: 'CAD - Canada Dollars'}, - {value: 'CLP', label: 'CLP - Chile Pesos'}, - {value: 'CNY', label: 'CNY - China Yuan Renmimbi'}, - {value: 'CYP', label: 'CYP - Cyprus Pounds'}, - {value: 'CSK', label: 'CSK - Czech Republic Koruna'}, - {value: 'DKK', label: 'DKK - Denmark Kroner'}, - {value: 'NLG', label: 'NLG - Dutch Guilders'}, - {value: 'XCD', label: 'XCD - Eastern Caribbean Dollars'}, - {value: 'EGP', label: 'EGP - Egypt Pounds'}, - {value: 'FJD', label: 'FJD - Fiji Dollars'}, - {value: 'FIM', label: 'FIM - Finland Markka'}, - {value: 'FRF', label: 'FRF - France Francs'}, - {value: 'DEM', label: 'DEM - Germany Deutsche Marks'}, - {value: 'XAU', label: 'XAU - Gold Ounces'}, - {value: 'GRD', label: 'GRD - Greece Drachmas'}, - {value: 'HKD', label: 'HKD - Hong Kong Dollars'}, - {value: 'HUF', label: 'HUF - Hungary Forint'}, - {value: 'ISK', label: 'ISK - Iceland Krona'}, - {value: 'INR', label: 'INR - India Rupees'}, - {value: 'IDR', label: 'IDR - Indonesia Rupiah'}, - {value: 'IEP', label: 'IEP - Ireland Punt'}, - {value: 'ILS', label: 'ILS - Israel New Shekels'}, - {value: 'ITL', label: 'ITL - Italy Lira'}, - {value: 'JMD', label: 'JMD - Jamaica Dollars'}, - {value: 'JPY', label: 'JPY - Japan Yen'}, - {value: 'JOD', label: 'JOD - Jordan Dinar'}, - {value: 'KRW', label: 'KRW - Korea (South) Won'}, - {value: 'LBP', label: 'LBP - Lebanon Pounds'}, - {value: 'LUF', label: 'LUF - Luxembourg Francs'}, - {value: 'MYR', label: 'MYR - Malaysia Ringgit'}, - {value: 'MXP', label: 'MXP - Mexico Pesos'}, - {value: 'NLG', label: 'NLG - Netherlands Guilders'}, - {value: 'NZD', label: 'NZD - New Zealand Dollars'}, - {value: 'NOK', label: 'NOK - Norway Kroner'}, - {value: 'PKR', label: 'PKR - Pakistan Rupees'}, - {value: 'XPD', label: 'XPD - Palladium Ounces'}, - {value: 'PHP', label: 'PHP - Philippines Pesos'}, - {value: 'XPT', label: 'XPT - Platinum Ounces'}, - {value: 'PLZ', label: 'PLZ - Poland Zloty'}, - {value: 'PTE', label: 'PTE - Portugal Escudo'}, - {value: 'ROL', label: 'ROL - Romania Leu'}, - {value: 'RUR', label: 'RUR - Russia Rubles'}, - {value: 'SAR', label: 'SAR - Saudi Arabia Riyal'}, - {value: 'XAG', label: 'XAG - Silver Ounces'}, - {value: 'SGD', label: 'SGD - Singapore Dollars'}, - {value: 'SKK', label: 'SKK - Slovakia Koruna'}, - {value: 'ZAR', label: 'ZAR - South Africa Rand'}, - {value: 'KRW', label: 'KRW - South Korea Won'}, - {value: 'ESP', label: 'ESP - Spain Pesetas'}, - {value: 'XDR', label: 'XDR - Special Drawing Right (IMF)'}, - {value: 'SDD', label: 'SDD - Sudan Dinar'}, - {value: 'SEK', label: 'SEK - Sweden Krona'}, - {value: 'CHF', label: 'CHF - Switzerland Francs'}, - {value: 'TWD', label: 'TWD - Taiwan Dollars'}, - {value: 'THB', label: 'THB - Thailand Baht'}, - {value: 'TTD', label: 'TTD - Trinidad and Tobago Dollars'}, - {value: 'TRL', label: 'TRL - Turkey Lira'}, - {value: 'VEB', label: 'VEB - Venezuela Bolivar'}, - {value: 'ZMK', label: 'ZMK - Zambia Kwacha'}, - {value: 'EUR', label: 'EUR - Euro'}, - {value: 'XCD', label: 'XCD - Eastern Caribbean Dollars'}, - {value: 'XDR', label: 'XDR - Special Drawing Right (IMF)'}, - {value: 'XAG', label: 'XAG - Silver Ounces'}, - {value: 'XAU', label: 'XAU - Gold Ounces'}, - {value: 'XPD', label: 'XPD - Palladium Ounces'}, - {value: 'XPT', label: 'XPT - Platinum Ounces'} + 'USD','EUR','GBP','AED','AFN','ALL','AMD','ANG','AOA','ARS','AUD','AWG','AZN','BAM','BBD','BDT','BGN','BHD', + 'BIF','BMD','BND','BOB','BRL','BSD','BTN','BWP','BYN','BZD','CAD','CDF','CHF','CLF','CLP','CNH','CNY','COP', + 'CRC','CUC','CUP','CVE','CZK','DJF','DKK','DOP','DZD','EGP','ERN','ETB','EUR','FJD','FKP','GBP','GEL','GGP', + 'GHS','GIP','GMD','GNF','GTQ','GYD','HKD','HNL','HRK','HTG','HUF','IDR','ILS','IMP','INR','IQD','IRR','ISK', + 'JEP','JMD','JOD','JPY','KES','KGS','KHR','KMF','KPW','KRW','KWD','KYD','KZT','LAK','LBP','LKR','LRD','LSL', + 'LYD','MAD','MDL','MGA','MKD','MMK','MNT','MOP','MRO','MUR','MVR','MWK','MXN','MYR','MZN','NAD','NGN','NIO','NOK','NPR','NZD','OMR','PAB','PEN','PGK','PHP','PKR','PLN','PYG','QAR','RON','RSD','RUB','RWF','SAR','SBD', + 'SCR','SDG','SEK','SGD','SHP','SLL','SOS','SRD','SSP','STD','SVC','SYP','SZL','THB','TJS','TMT','TND','TOP', + 'TRY','TTD','TWD','TZS','UAH','UGX','USD','UYU','UZS','VEF','VES','VND','VUV','WST','XAF','XAG','XAU','XCD', + 'XDR','XOF','XPD','XPF','XPT','YER','ZAR','ZMW','ZWL' ], tpossTable: { columns: [ diff --git a/lnbits/extensions/withdraw/templates/withdraw/_lnurl.html b/lnbits/extensions/withdraw/templates/withdraw/_lnurl.html index 24934e85..221797db 100644 --- a/lnbits/extensions/withdraw/templates/withdraw/_lnurl.html +++ b/lnbits/extensions/withdraw/templates/withdraw/_lnurl.html @@ -4,11 +4,9 @@ label="Powered by LNURL"> - LNURL is a range of lightning-network standards that allow us to use lightning-network differently. An LNURL withdraw is the permission for someone to pull a certain amount of funds from a lightning wallet. In this extension time is also added - an amount can be withdraw over a period of time. A typical use case for an LNURL withdraw is a faucet, although it is a very powerful technology, with much further reaching implications. For example, an LNURL withdraw could be minted to pay for a subscription service. -

- Exploring LNURL and finding use cases, is really helping inform lightning protocol development, rather than the protocol dictating how lightning-network should be engaged with. -

- For further information about LNURL https://github.com/fiatjaf/awesome-lnurl +

LNURL is a range of lightning-network standards that allow us to use lightning-network differently. An LNURL withdraw is the permission for someone to pull a certain amount of funds from a lightning wallet. In this extension time is also added - an amount can be withdraw over a period of time. A typical use case for an LNURL withdraw is a faucet, although it is a very powerful technology, with much further reaching implications. For example, an LNURL withdraw could be minted to pay for a subscription service.

+

Exploring LNURL and finding use cases, is really helping inform lightning protocol development, rather than the protocol dictating how lightning-network should be engaged with.

+ Check Awesome LNURL for further information.