Hemi POP Miner VPS Setup
Overview:
- The Hemi Network represents a different way of thinking about Layer-2 scaling, by approaching Bitcoin and Ethereum as components of a supernetwork.
- This modular protocol aims to scale these networks and maximize their utility, creating a more connected and efficient blockchain ecosystem.
- Through features such as the hVM, Hemi equips developers with robust tools for building next-generation dApps with Bitcoin and Ethereum interoperability.
DYOR-Explore the Hemi Network:
Begin by familiarizing yourself with some of the key Hemi network terms and features.
- What is Proof-of-Proof (PoP)?
- Learn about PoP Consensus and Bitcoin Finality
- An overview of PoP mining and mining rewards
⭐Before we jump into the step-by-step guide, feel free to follow me on Medium and my social media platforms for more valuable insights on node farming.
➡️Telegram: https://t.me/cryptonodehindi
➡️Youtube: https://www.youtube.com/@CryptonodesHindi
1. Let’s set the Hemi POP miner:
- Execute the automation script I created below. (WSL/Oracle/AWS user must use SUDO SU).
wget -q https://raw.githubusercontent.com/CryptonodesHindi/Automated_script/refs/heads/main/CNHhemi.sh&& chmod +x CNHhemi.sh&& ./CNHhemi.sh
- Now create a screen for HEMI.
screen -S hemi
- Go to the hemi dir.
cd heminetwork_v0.8.0_linux*
2. Verify Configuration Success
- To verify that you have downloaded the correct binaries and can execute them, run the command below:
./popmd --help
3. Generate Your Public Key
- If you are updating it, you can skip this steps.
./keygen -secp256k1 -json -net="testnet" > ~/popm-address.json
- If you already have a Hemi wallet, simply edit your details using the Nano editor. Once you make the edits, press CTRL+X, then type Y, and press Enter to save the changes.
nano ~/popm-address.json
- To Verify your credentials :
cat ~/popm-address.json
- Private key: EVM
- pubkey_hash : BTC address for faucet
4. Now, it’s time to Fund your POP Miner wallet.
- To find your wallet address, check the popm-address.json file. The pubkey_hash is your Bitcoin address.
- Go the Discord and get the faucet: Hemi Discord
- The free faucet on Discord is no longer available. You now need to purchase the faucet from AltQuick if you want to run it.
AltQuick:
- Choose Litecoin as the deposit coin and Bitcoin Testnet3 as the receiving coin. Provide your Hemi public key as the receiving tBTC address.
- Once processed, you will be provided with a Litecoin deposit address. Simply send the Litecoin to this address and wait for confirmation. After the confirmation, the BTC faucet will be sent to your Hemi address.
- You can check the transaction and your faucet balance here: https://mempool.space/testnet
5. Set Variables
- In your console, execute the following commands:
- replacing <private_key> with the value found in the JSON from Step 3
- replacing <fee_per_vB_integer> with the fee in sat/vB you want to pay (go with the 500)
export POPM_BTC_PRIVKEY=<private_key>
export POPM_STATIC_FEE=<fee_per_vB_integer>
export POPM_BFG_URL=wss://testnet.rpc.hemi.network/v1/ws/public
6. Run the Miner
./popmd
- Now you can exit from that screen. CTRL A+D (to detach from that screen)
- To reneter to that screen execute the below command.
screen -r hemi
Now you can monitor your transactions status here. Just put your BTC address.
- You have successfully deployed the Hemi POP miner.
Error:
- If you encounter this error, you need to deposit tBTC faucet into your wallet.
❤️Thank You for Reading!
I appreciate you taking the time to read this article. If you found it helpful, give it a clap and share it with others who might benefit from it.
For more insightful content on Crypto node, don’t forget to follow me on Medium and connect with me on my social media channels:
- ➡️Telegram: https://t.me/cryptonodehindi
- ➡️Youtube: https://www.youtube.com/@CryptonodeHindi