Hashrouter node that can route inbound hashrate to default Seller pool destination or, when contracts are purchased, to the Buyer pool destination.
The Proxy-Router can be utilized in three different modes:
- As a Seller of hashrate
- As a Buyer of hashrate
- As a Validator of hashrate from the Web Based Marketplace
For full details, start here: Lumerin Gitbook
- Download the latest version of the Proxy-Router from the Lumerin Github for your platform
- Rename to
proxy-routerorproxy-router.exefor Windows (this is only for simplicity in the instructions) - Linux/Mac -
chmod +x proxy-router - Mac -
xattr -c proxy-router
- Rename to
- Create an .env file using the
.env.min.examplefile as a template in the same directory as theproxy-routerbinary- Be sure to watch the Mainnet/Testnet settings
- Start the proxy-router
- Linux/Mac -
./proxy-router - Windows -
proxy-router.exe
- Linux/Mac -
- The proxy-router will start
- Redirect your ASICS to the proxy-router's IP address and port (default 3333)
- The proxy-router will now route un-contracted hashrate to the default Seller pool destination configured in the .env file
- To view the proxy-router's status, use the API Endpoints:
http://localhost:8080/healthcheck- For version and uptimehttp://localhost:8080/config- For configuration detailshttp://localhost:8080/miners- To see inbound miner statshttp://localhost:8080/contracts-v2- To see contract stats and logs
- Setup Contracts
- Download the Lumerin Desktop Wallet file for your platform
- If you want to run on Mainnet - choose
latestrelease without a suffix - If you want to run on Testnet - choose the most recent
*-stgrelease - Mac -
- Download the arm64.dmg (for Apple Silicon) or x64.dmg (for Intel) file
- Open the .dmg file and drag the Lumerin Wallet to the Applications folder
- Open the Lumerin Wallet from the Applications folder
- Linux -
- Download the .deb file
- Run
sudo dpkg -i lumerin-wallet-*.deb - Run
lumerin-walletfrom the terminal
- Windows -
- Download the .exe file
- Run the .exe file
- Defender may complain, so you may need to click on "More Info" and "Run Anyway"
- If you want to run on Mainnet - choose
- Create a import an existing wallet using the mnemonic or private key of your Seller Node
- When asked, make sure to
RUN WITHOUT PROXYas this will be the control / manager for your Seller Node
- When asked, make sure to
- Go to the Seller Hub
- Click Create Contract
- Enter Details and Clice Create Contract
- Download the Lumerin Desktop Wallet file for your platform
For full details, visit the Lumerin Gitbook
- Download the latest version of the Proxy-Router from the Lumerin Github
- Enter your validator node wallet private key as WALLET_PRIVATE_KEY environment variable
- Run the Proxy-Router with the following command to generate compressed public key
./proxy-router pubkey
- Fill in the rest of configuration in .env file and start the validator node with the following command
./proxy-router
- Open the validator registry smart-contract
- Click on the "Write as Proxy" tab and click on the "validatorRegister" function
- Enter your stake, pubKeyYparity, pubKeyX (generated in previous steps) and the host where the validator is running as
hostname:port(example:my-validator.com:8080or165.122.1.1:3333) - Make sure you have enough ETH to pay tx fees, enough LMR to stake and LMR is approved for the contract for the stake amount
- Click on "Write" and confirm the transaction