Discord : https://discord.gg/hemixyz
sudo apt update
sudo apt install git make
cd
git clone https://github.com/hemilabs/heminetwork.git
cd heminetwork
make deps
make install
cd bin
./keygen -secp256k1 -json -net="testnet" > ~/popm-address.json
nano ~/popm-address.json
sudo tee /etc/systemd/system/popmd.service <<EOF
[Unit]
Description=Popmd Service
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/root/heminetwork
ExecStart=/root/heminetwork/bin/popmd
Environment="POPM_BTC_PRIVKEY=private yaz"
Environment="POPM_STATIC_FEE=50"
Environment="POPM_BFG_URL=wss://testnet.rpc.hemi.network/v1/ws/public"
Restart=always
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable popmd
sudo systemctl start popmd
sudo journalctl -u popmd -fo cat