Janus
(Htmlcoin adapter to Ethereum JSON RPC)
Install go > 1.19
wget https://go.dev/dl/go1.19.4.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.19.4.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
git clone https://github.com/HTMLCOIN/janus.git
cd janus
go get github.com/htmlcoin/janus
./go/bin/go run `pwd`/main.go --htmlcoin-rpc=http://USERNAME:PASSWORD@0.0.0.0:4889 --htmlcoin-network=main --bind=0.0.0.0 --port=24889 --log-file=janusLogs.txt --dev --https-key https/key.pem --https-cert https/cert.pem
sudo nano /etc/nginx/sites-available/default
location /api/ {
proxy_pass http://localhost:24889/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}