~singpolyma/sgx-jmp

ref: 53d08945b8bf88df86c34929255f765797aa4ad4 sgx-jmp/config.dhall.sample -rw-r--r-- 1.5 KiB
53d08945Stephen Paul Weber hotfix 2 years ago
                                                                                
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
{
	component = {
		jid = "component.localhost",
		secret = "secret"
	},
	server = {
		host = "localhost",
		port = 5347
	},
	sgx = "component2.localhost",
	creds = {
		account = "00000",
		username = "dashboard user",
		password = "dashboard password"
	},
	catapult = {
		user = "",
		token = "",
		secret = "",
		application_id = "",
		domain = "",
		sip_host = ""
	},
	web_register = {
		to = "cheogram",
		from = "jmp-register@localhost"
	},
	bandwidth_site = "",
	bandwidth_peer = "",
	braintree = {
		environment = "sandbox",
		merchant_id = "",
		public_key = "",
		private_key = "",
		merchant_accounts = {
			USD = "",
			CAD = ""
		}
	},
	xep0157 = [
		{ var = "support-addresses", value = "xmpp:+14169938000@cheogram.com" }
	],
	notify_admin = "muc@example.com",
	sip_host = "sip.jmp.chat",
	plans = [
		{
			name = "plan_name",
			currency = < CAD | USD >.USD,
			monthly_price = 29900,
			minutes = <
				unlimited |
				limited: { included: Natural, price: Natural }
			>.limited { included = 120, price = 87 },
			messages = <
				unlimited |
				limited: { included: Natural, price: Natural }
			>.unlimited
		}
	],
	electrum = {
		rpc_uri = "",
		rpc_username = "",
		rpc_password = ""
	},
	oxr_app_id = "",
	activation_amount = 15,
	credit_card_url = \(jid: Text) -> \(customer_id: Text) ->
		"https://pay.jmp.chat/${jid}/credit_cards?customer_id=${customer_id}",
	electrum_notify_url = \(address: Text) -> \(customer_id: Text) ->
		"https://pay.jmp.chat/electrum_notify?address=${address}&customer_id=${customer_id}",
	adr = "",
	interac = "",
	payable = ""
}