Deploy BTCPayServer with Althash support
Docker Images also available

2) Deploy NBXplorer

screen -t nbxplorer

git clone https://github.com/dgarage/NBXplorer

cd NBXplorer/

cd NBXplorer.Client/

dotnet build -c Release

sudo nano ~/.nbxplorer/Main/settings.config

Scroll down and comment out the currently active options. Paste these options in and edit as needed:

html.rpc.url=http://127.0.0.1:4889/

html.rpc.auth=htmlcoinuser:htmlcoinpassword

html.node.endpoint=127.0.0.1:4888

html.startheight=1600000

chains=html

verbose=1

bind=127.0.0.1

mainnet=1

finally

cd ..

./build.sh

sudo ./run.sh

CTRL a CTRL d to exit screen


3) Deply BTCPayServer with Althash support

screen -t btcpayserver

git clone https://github.com/btcpayserver/btcpayserver


sudo mkdir ~/.btcpayserver
sudo mkdir ~/.btcpayserver/Main/
sudo nano ~/.btcpayserver/Main/settings.config

Scroll down and uncomment and edit these lines to match your configuration:

network=mainnet

chains=html

sqlitefile=sqlite.db

HTML.explorer.url=http://127.0.0.1:24444/

HTML.explorer.cookiefile=/home/USER/.nbxplorer/Main/.cookie

finally

dotnet build -c Altcoins-Release BTCPayServer/BTCPayServer.csproj


sudo dotnet run --no-launch-profile --no-build -c Altcoins-Release -p "BTCPayServer/BTCPayServer.csproj"

CTRL a CTRL d to exit screen session

BTCPayServer with Althash support located at http://localhost:23000

Nginx sites-avail config:

root /home/USER/btcpayserver/BTCPayServer/wwwroot;


location / {

proxy_pass http://127.0.0.1:23000;

proxy_bind 127.0.0.1;

proxy_http_version 1.1;

proxy_set_header Connection $http_connection;

proxy_pass_request_headers on;

proxy_cache_bypass $http_upgrade;

proxy_set_header Host $host;

proxy_set_header X-Forwarded-Proto $scheme;

proxy_set_header X-Real-IP $remote_addr;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_set_header Upgrade $http_upgrade;

}