forked from lnbits/lnpos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
94 lines (93 loc) · 1.62 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
export const addressesAndFiles = [
{
address: "0x1000",
fileName: "lnpos.ino.bootloader.bin",
},
{
address: "0x8000",
fileName: "lnpos.ino.partitions.bin",
},
{
address: "0xE000",
fileName: "boot_app0.bin",
},
{
address: "0x10000",
fileName: "lnpos.ino.bin",
},
];
export const configPath = "elements.json";
export const elements = [
{
name: "config_lnurlpos",
value: "",
label: "LNURLPoS string from LNURLDevices extension",
type: "text",
},
{
name: "config_lnurlatm",
value: "",
label: "LNURL ATM",
type: "text",
},
{
name: "config_password",
value: "",
label: "Device Password",
type: "text",
},
{
name: "config_masterkey",
value: "",
label: "Onchain Master Public Key",
type: "text",
},
{
name: "config_server",
value: "",
label: "LNbits Server",
type: "text",
},
{
name: "config_invoice",
value: "",
label: "Wallet Invoice Key",
type: "text",
},
{
name: "config_lncurrency",
value: "",
label: "PoS Currency. ie: EUR",
type: "text",
},
{
name: "config_lnurlatmms",
value: "",
label: "Mempool.space Server",
type: "text",
},
{
name: "config_lnurlatmpin",
value: "",
label: "LNURLATM pin String",
type: "text",
},
{
name: "config_decimalplaces",
value: 2,
label: "FIAT Decimal Places",
type: "text",
},
{
name: "config_wifi_ssid",
value: "",
label: "WiFi SSID",
type: "text",
},
{
name: "config_wifi_password",
value: "",
label: "WiFi Password",
type: "text",
},
];