# Hemi Network Node Setup

<figure><img src="/files/FtsStkN8gp9odMhUM5HR" alt=""><figcaption></figcaption></figure>

#### Server Advisor : <a href="#server-advisor" id="server-advisor"></a>

⭐⭐⭐ Contabo : <https://bit.ly/contabourl>

PQ : <https://pq.hosting/?from=627713>

Hetzner : <https://hetzner.cloud/?ref=ASjlHtRt2swV>

Digital Ocean : <https://digitalocean.pxf.io/q465nn>

### Update :&#x20;

```
sudo apt update -y && sudo apt upgrade -y
```

```
sudo apt install ca-certificates zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev tmux iptables curl nvme-cli git wget make jq libleveldb-dev build-essential pkg-config ncdu tar clang bsdmainutils lsb-release libssl-dev libreadline-dev libffi-dev jq gcc screen unzip lz4 -y
```

### Install Hemi Network Cli-Miner :&#x20;

```
curl -L -O https://github.com/hemilabs/heminetwork/releases/download/v0.8.0/heminetwork_v0.8.0_linux_amd64.tar.gz
```

```
tar xvf heminetwork_v0.8.0_linux_amd64.tar.gz && cd heminetwork_v0.8.0_linux_amd64
```

### Crate Wallet :&#x20;

```
./keygen -secp256k1 -json -net="testnet" > ~/popm-address.json
```

### View Your Wallet İnfo :&#x20;

```
cat $HOME/popm-address.json
```

ethereum\_address, network, private\_key, public\_key, pubkey\_hash

#### Save Your Wallet Details !

### Faucet :&#x20;

### Discord :&#x20;

Link : <https://discord.com/invite/hemixyz>

<figure><img src="/files/3yJcpcJMyeCOkm1xblLo" alt=""><figcaption></figcaption></figure>

Faucet Command : /tbtc-faucet your-pubkey\_hash

#### +Faucet : <https://coinfaucet.eu/en/btc-testnet/>

### Screen :&#x20;

```
screen -S hemi
```

### Echo -  Change "YOUR PRIVATE KEY" :

```
echo 'export POPM_BTC_PRIVKEY=YOUR PRIVATE KEY' >> ~/.bashrc
echo 'export POPM_STATIC_FEE=50' >> ~/.bashrc
echo 'export POPM_BFG_URL=wss://testnet.rpc.hemi.network/v1/ws/public' >> ~/.bashrc
source ~/.bashrc
```

### 3-2-1 GO :&#x20;

```
./popmd
```

### Logs  :&#x20;

```

2024-09-18 13:43:36 INFO popm popm.go:358 Mining an L2 keystone at height 1546325...
2024-09-18 13:43:38 INFO popm popm.go:426 Broadcasting PoP transaction to Bitcoin testnet3...
2024-09-18 13:43:40 INFO popm popm.go:438 Successfully broadcast PoP transaction to Bitcoin testnet3 with TX hash f2ca40b9cac97b264836541d60d392cad3c3711f8dad07d6cc042fe3ba6676b6
2024-09-18 13:43:40 INFO popm popm.go:358 Mining an L2 keystone at height 1546300...
2024-09-18 13:43:46 INFO popm popm.go:426 Broadcasting PoP transaction to Bitcoin testnet3...
2024-09-18 13:43:47 INFO popm popm.go:438 Successfully broadcast PoP transaction to Bitcoin testnet3 with TX hash c35d6a72d9e867631ea0cc76dca4281cb2e5695ed2f7a0f732362319a34d500b
2024-09-18 13:43:47 INFO popm popm.go:358 Mining an L2 keystone at height 1546275...
2024-09-18 13:43:49 INFO popm popm.go:426 Broadcasting PoP transaction to Bitcoin testnet3...
2024-09-18 13:43:50 INFO popm popm.go:438 Successfully broadcast PoP transaction to Bitcoin testnet3 with TX hash 7e0bffe54c78e8fa0e97a59be8174334dcf83674b7fb25ba4ee4f25b829cae87
2024-09-18 13:44:04 INFO popm popm.go:358 Mining an L2 keystone at height 1546350...
2024-09-18 13:44:12 INFO popm popm.go:426 Broadcasting PoP transaction to Bitcoin testnet3...
2024-09-18 13:44:14 INFO popm popm.go:438 Successfully broadcast PoP transaction to Bitcoin testnet3 with TX hash 0fa8e483f4f7cffcd358bc1c673055b7a97513349dd8a8b344278a2fb7bccc9a
```

### Exit the Screen :&#x20;

### CTRL A + D&#x20;

Check : <https://testnet.popstats.hemi.network/pubkey/your-pub-key-adress.html>

Change : your-pub-key-adress

<figure><img src="/files/P8teS5QPRUIRh7yELopW" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://services.rpcdot.com/hemi-network/hemi-network-node-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
