forked from arcbtc/LNPoS
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathconfig.js
More file actions
108 lines (107 loc) · 1.97 KB
/
config.js
File metadata and controls
108 lines (107 loc) · 1.97 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
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 = [
{
type: "heading",
label: "Offline PoS",
},
{
name: "config_offlinepos",
value: "",
label: "String from the LNPoS extension",
type: "text",
},
{
type: "heading",
label: "Offline ATM",
},
{
name: "config_offlineatm",
value: "",
label: "String from the FOSSA extension",
type: "text",
},
{
type: "heading",
label: "Onchain addresses",
},
{
name: "config_masterkey",
value: "",
label: "Onchain Extended Public Key",
type: "text",
},
{
name: "config_mempool",
value: "https://mempool.space",
label: "Mempool.space Server, for creating a checking link",
type: "text",
},
{
type: "heading",
label: "Online PoS",
},
{
name: "config_lncurrency",
value: "USD",
label: "PoS Currency. ie: GBP, EUR",
type: "text",
},
{
name: "config_server",
value: "https://demo.lnbits.com",
label: "LNbits Server",
type: "text",
},
{
name: "config_invoice",
value: "",
label: "Wallet Invoice Key",
type: "text",
},
{
name: "config_wifi_ssid",
value: "",
label: "WiFi SSID",
type: "text",
},
{
name: "config_wifi_password",
value: "",
label: "WiFi Password",
type: "text",
},
{
type: "heading",
label: "Additional settings",
},
{
name: "config_securitypin",
value: "000000",
label: "Security pin for settings and ATM mode, 4-6 characters",
type: "text",
},
{
name: "config_fiatdecimalplaces",
value: 2,
label: "FIAT Decimal Places ie 2 for USD, 0 for YEN",
type: "text",
},
];