mirror of
https://github.com/kevachat/webapp.git
synced 2025-03-13 05:51:23 +00:00
update mining links
This commit is contained in:
parent
92ce322ed3
commit
fafda8954f
3
.env
3
.env
@ -38,7 +38,8 @@ APP_KEVACOIN_NAMESPACE=EDIT_ME
|
||||
APP_KEVACOIN_ADDRESS=EDIT_ME
|
||||
|
||||
# Share with other some mining pool to get coins
|
||||
APP_KEVACOIN_POOL_URL=https://kevacoin.hashvault.pro
|
||||
APP_KEVACOIN_MINE_POOL_URL=https://miningpoolstats.stream/kevacoin
|
||||
APP_KEVACOIN_MINE_SOLO_URL=https://kevacoin.org/tutorial_solo_mining.html
|
||||
|
||||
# Allow remotes to create new rooms (namespaces)
|
||||
APP_ADD_ROOM_REMOTE_IP_REGEX=/.*/
|
||||
|
@ -14,7 +14,8 @@ parameters:
|
||||
app.kevacoin.password: '%env(APP_KEVACOIN_PASSWORD)%'
|
||||
app.kevacoin.namespace: '%env(APP_KEVACOIN_NAMESPACE)%'
|
||||
app.kevacoin.address: '%env(APP_KEVACOIN_ADDRESS)%'
|
||||
app.kevacoin.pool.url: '%env(APP_KEVACOIN_POOL_URL)%'
|
||||
app.kevacoin.mine.pool.url: '%env(APP_KEVACOIN_MINE_POOL_URL)%'
|
||||
app.kevacoin.mine.solo.url: '%env(APP_KEVACOIN_MINE_SOLO_URL)%'
|
||||
|
||||
services:
|
||||
# default configuration for services in *this* file
|
||||
|
@ -11,7 +11,7 @@
|
||||
color-scheme: light dark;
|
||||
|
||||
/* vars */
|
||||
--container-max-width: 740px;
|
||||
--container-max-width: 768px;
|
||||
}
|
||||
|
||||
*::placeholder
|
||||
|
@ -29,8 +29,16 @@ class ModuleController extends AbstractController
|
||||
'block' => (int) $client->getBlockCount(),
|
||||
'address' => $this->getParameter('app.kevacoin.address')
|
||||
],
|
||||
'pool' => [
|
||||
'url' => $this->getParameter('app.kevacoin.pool.url')
|
||||
'mine' =>
|
||||
[
|
||||
'pool' =>
|
||||
[
|
||||
'url' => $this->getParameter('app.kevacoin.mine.pool.url')
|
||||
],
|
||||
'solo' =>
|
||||
[
|
||||
'url' => $this->getParameter('app.kevacoin.mine.solo.url')
|
||||
]
|
||||
]
|
||||
]
|
||||
);
|
||||
|
@ -4,11 +4,18 @@
|
||||
{{ 'balance:' | trans }} {{ wallet.balance }}
|
||||
{% if wallet.address %}
|
||||
/
|
||||
{% if pool.url %}
|
||||
<a href="{{ pool.url }}" target="_blank">{{ 'charge' | trans }}</a>:
|
||||
{% else %}
|
||||
{{ 'charge:' | trans }}
|
||||
{% endif %}
|
||||
{{ 'charge:' | trans }}
|
||||
<pre>{{ wallet.address }}</pre>
|
||||
{% endif %}
|
||||
{% if mine.pool %}
|
||||
/
|
||||
{{ 'mine:' | trans }}
|
||||
{% if mine.pool.url %}
|
||||
<a href="{{ mine.pool.url }}" target="_blank">{{ 'pool' | trans }}</a>
|
||||
{% endif %}
|
||||
{% if mine.solo.url %}
|
||||
|
|
||||
<a href="{{ mine.solo.url }}" target="_blank">{{ 'solo' | trans }}</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
Loading…
x
Reference in New Issue
Block a user