UnamSanctam / UnamWebPanel

MIT License
164 stars 61 forks source link

Any Configuration Templates? #289

Closed LostMySpirit closed 8 months ago

LostMySpirit commented 8 months ago

Hey are here any configuration templates for json cofig

UnamSanctam commented 8 months ago

Either you can get them in the miner builder by pressing the "JSON" tab inside a miner, or you can find them on the wiki: https://github.com/UnamSanctam/SilentCryptoMiner/wiki/ETH-Miner#remote-configuration, https://github.com/UnamSanctam/SilentCryptoMiner/wiki/XMR-Miner#remote-configuration.

The configuration format and settings are the same as the "Remote Configuration".

LostMySpirit commented 8 months ago

grafik okey another question so remote config means that i can remote configurate it via pastebin and webpannel right? what can i exactly setup with api endpoint?

UnamSanctam commented 8 months ago

Yes that's partly correct, the "Remote Configuration" is some "document" like Pastebin or other paste sites (or any site that lets you upload text and can be shown "raw"). But the "API Endpoint URL" is for the web panel URL. You can also add multiple URLs by separating them with a comma, so it's possible to have multiple backup "Remote Configurations" and also multiple backup "API Endpoint URLs" (web panel URLs).

LostMySpirit commented 8 months ago

so for example if i want to add my webpannel to the api endpoint i add the ip webadress to the endpoint url and incase it get banned i add , and my mining pool right?

UnamSanctam commented 8 months ago

If you connect to the webpanel using an IP then you add that yes, like so (example): http://123.123.123.123/api/endpoint.php (or https if you have an SSL certificate). Though you shouldn't add your mining pool, the comma is for backup URLs if you have any like so: http://123.123.123.123/api/endpoint.php,http://124.124.124.124/api/endpoint.php,http://125.125.125.125/api/endpoint.php

LostMySpirit commented 8 months ago

okey got it ty.

btw do i need to configure the pool in the miner or is it enough when i add the pastebin config

UnamSanctam commented 8 months ago

It's always good to do that in the miner too so that there's a backup/fallback if anything ever happens to your pastebin and/or web panel. Preferably the pool configuration in the miner should be considered your "final stand", so that if for some reason all the external things like the "Remote Configuration" or web panel stops working then the miner will still mine due to the configuration you entered when you built it.

LostMySpirit commented 8 months ago

grafik so i configurate it like that but it doesnt appear in the pool and pannel

UnamSanctam commented 8 months ago

Do you have an SSL certificate for your web panel site? If not use http and not https. The miner should appear in the pool once it finds a share and the pool statistics update: https://github.com/UnamSanctam/SilentCryptoMiner/wiki#why-is-my-miner-not-showing-up-on-the-pool-even-though-its-mining

LostMySpirit commented 8 months ago

idk for some reason i cant see the miners in the pannel

UnamSanctam commented 8 months ago

And you changed it to http? If you copy the URL in the checker and enter it in your browser are you able to see the page?

LostMySpirit commented 8 months ago

yea in browser its working

i set it up via xampp on apache idk is there anything i need to change

UnamSanctam commented 8 months ago

Can you reach the page from the computer that you're running the miner on?

LostMySpirit commented 8 months ago

yea im am testing it on my main pc i see my pc in the pool but not in that pannel

UnamSanctam commented 8 months ago

Are you hosting the site on the same computer as you're running the miner? Since in that case you might need to use the local IP (127.0.0.1) when connecting on that computer. And can you try saving a "Configuration" on the web panel? To make sure that the database is writable.

LostMySpirit commented 8 months ago

okey i found the error i set the xampp server on port 84 so i needed to enter the link like 123.123.123.123;84/api/endpoint.php

thank you!