-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.h.template
75 lines (65 loc) · 2.45 KB
/
config.h.template
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
// Copyright 2019 Bonsai Software, Inc. All Rights Reserved.
String cfg_title[] = { " Lightning", "Pay Station" };
// The prefix is prepended to the lightning item description.
//
String cfg_prefix = "Acme: ";
// List WIFI SSID and password pairs, terminal will loop forever until
// it finds one that works.
//
wifi_conf_t cfg_wifi_confs[] = {
{ "MyFirstSSID", "somepasswd" },
{ "AnotherSSID", "something" },
{ "YetAnotherSSID", "sesame" }
};
// Define presets with prices for the 4 letter buttons. An item with
// a price of 0.00 will prompt the user to enter a price on the
// keypad.
//
preset_t cfg_presets[] = {
{ "T-Shirt", 25.00 },
{ "CD", 20.00 },
{ "LP", 10.00 },
{ "Other", 0.00 }
};
// Select a BTC/fiat exchange rate data source:
// "OPN" - OpenNode
// "BTP" - BTCPay
// "CMC" - CoinMarketCap
//
String cfg_rate_feed = "OPN";
// Select a invoice api:
// "OPN" - OpenNode
// "BTP" - BTCPay
// "LND" - Direct LND connection
//
String cfg_invoice_api = "OPN";
// Create an account at OpenNode, put the invoice API key here.
//
String cfg_opn_apikey = "YOUR-OPENNODE-INVOICE-API-KEY";
String cfg_opn_currency = "BTCUSD"; // ie BTCUSD, BTCEUR, etc
String cfg_opn_fingerprint =
"a427768fe0266ed577cbee43a1573671b01e2f3e8a41b852d4fb2a1f76580306";
// BTCPay Config
String cfg_btp_currency = "USD";
String cfg_btp_host = "btcpay.host.com";
int cfg_btp_port = 443;
String cfg_btp_apikey =
"MGRFTUMwZGI3TUVrN0VxxxxxxxxPV1cwSEJIa0NrZEdrRWRDMGlDTGRXUQ==";
String cfg_btp_storeid = "BGrT9u6h545xxxxxxxxjadMEkjbW3dcwogaDNoGD9Wfr";
String cfg_btp_fingerprint =
"fac69ecdeb5c3de28b653712a366e11ab500ed5db2aff5a3f239ce05c2c73118";
// Create an account at CoinMarketCap, put API key here.
//
String cfg_cmc_currency = "USD";
String cfg_cmc_apikey = "YOUR-COINMARKETCAP-API-KEY";
String cfg_cmc_fingerprint =
"24ba0ee0fff0a44fb8daa4fd03e915796aef12f1808d3099cb2b6217fd84939d";
// LND REST connection
String cfg_lnd_host = "yourhostname.com";
int cfg_lnd_port = 8080;
String cfg_lnd_inv_macaroon =
"0201036C6E64022F030A101XXXXXXXXXX210ADD76475453B05A3E41201301A170A08696E766F696365731204726561641205777269746500000620800B29AD748844BE14BFE4C8A17DCD30E56C5B878F88DFDF771E2BE7C675B1B9";
// openssl x509 -noout -fingerprint -sha256 -inform pem -in tls.cert | \
// sed 's/://g' | tr '[:upper:]' '[:lower:]'
String cfg_lnd_fingerprint =
"b88975acaf33085e87eb5c2d6f5bbe91d5c5deae11a865493c24e317de66a32e";