-
Notifications
You must be signed in to change notification settings - Fork 58
/
coins.php
137 lines (121 loc) · 3.94 KB
/
coins.php
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<?php
return [
/**
* List of coins supported by this market
* Mapped in the implementations
*
* 'btc' => RPCWrapper
* 'xmr' => Monero
* 'stb' => Stub coin
*/
'coin_list' => [
'btc' => \App\Marketplace\Payment\BitcoinPayment::class,
// 'btcm' => \App\Marketplace\Payment\BitcoinMutlisig::class, // bitcoin multisig
'xmr' => \App\Marketplace\Payment\MoneroPayment::class,
'stb' => \App\Marketplace\Payment\StubCoin::class,
// 'pivx' => \App\Marketplace\Payment\PivxCoin::class,
// 'ltc' => \App\Marketplace\Payment\LitecoinPayment::class,
// 'dash' => \App\Marketplace\Payment\DashPayment::class,
// 'bch' => \App\Marketplace\Payment\BitcoinCashPayment::class,
// 'xvg' => \App\Marketplace\Payment\VergeCoin::class,
],
/**
* RPCWrapper settings
*
* Uses data from .env file
*/
'bitcoin' => [
'host' => env('BITCOIND_HOST', 'localhost'),
'username' => env('BITCOIND_USERNAME', 'myuser'),
'password' => env('BITCOIND_PASSWORD', 'mypassword'),
'port' => env('BITCOIND_PORT', 18332),
'minconfirmations' => env('BITCOIND_MINCONFIRMATIONS', 1),
],
/**
* Monero settings
*
* Uses data from .env file
*/
'monero' => [
'host' => env('MONERO_HOST','127.0.0.1'),
'port' => intval(env('MONERO_PORT',28091)),
'username' => env('MONERO_USERNAME','testwallet'),
'password' => env('MONERO_PASSWORD','testwallet')
],
/**
* PIVX settings
*/
'pivx' => [
'host' => env('PIVX_HOST','127.0.0.1'),
'port' => intval(env('PIVX_PORT',51475)),
'username' => env('PIVX_USERNAME','username'),
'password' => env('PIVX_PASSWORD','password')
],
/**
* Litecoin settings
*/
'litecoin' => [
'host' => env('LITECOIN_HOST','127.0.0.1'),
'port' => intval(env('LITECOIN_PORT',19332)),
'username' => env('LITECOIN_USERNAME','myuser'),
'password' => env('LITECOIN_PASSWORD','mypassword')
],
/**
* DASH settings
*/
'dash' => [
'host' => env('DASH_HOST','127.0.0.1'),
'port' => intval(env('DASH_PORT',19998)),
'username' => env('DASH_USERNAME','myuser'),
'password' => env('DASH_PASSWORD','mypassword')
],
/**
* Bitcoin Cash settings
*/
'bictoin_cash' => [
'host' => env('BITCOIN_CASH_HOST','127.0.0.1'),
'port' => intval(env('BITCOIN_CASH_PORT',18332)),
'username' => env('BITCOIN_CASH_USERNAME','myuser'),
'password' => env('BITCOIN_CASH_PASSWORD','mypassword')
],
/**
* VergeCurrency settings
*/
'xvg' => [
'host' => env('VERGE_HOST','127.0.0.1'),
'port' => intval(env('VERGE_PORT',21102)),
'username' => env('VERGE_USERNAME','myuser'),
'password' => env('VERGE_PASSWORD','mypassword')
],
/**
* Refreshing cache for RPCWrapper price loading
*/
'caching_price_interval' => 20,
/**
* Leave empty array if you want to keep the funds on the purchase addresses
*
* Market addresses, funds from fee will be sent to one random address from this array
*/
'market_addresses' => [
'btc' => [ // list of btc addresses
'02a017c9869f8378303f02310b9b719e6cb6bea37f87f95d89e187546d09b22b1c'
],
'pivx' => [ // list of pivx addresses
'xyQ7EsNzUUBMwyihUwgQ76E2Ac7FevEcQ4'
],
'dash' => [
'yQgr9ix7L7JuA5NeZdj3yux7sNXCX3H843'
],
'xmr' => [
'45ry3PiKunpfk1mmacicjohiSjp3TSPg5iVJAfmiYWGoBJH8T3U2MpG1sHfiYkVKo8MTZiiY22JKbG3YaKagujYBQPCHX5G'
],
'stb' => [
'marketSTB',
'market2STB'
]
],
'multisig' => [
'balance_api' => 'https://testnet.blockchain.info/balance?active=',
'unspent_api' => 'https://testnet.blockchain.info/unspent?active=',
],
];