Discover Packages
github.com/Lumerin-protocol/proxy-router
module
Version:
v1.8.8-dev
Opens a new window with list of versions in this module.
Published: Dec 9, 2025
License: MIT
Opens a new window with license information.
README
README
¶
Lumerin Node Proxy-Router
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
Seller Node
Download the latest version of the Proxy-Router from the Lumerin Github for your platform
Rename to proxy-router or proxy-router.exe for Windows (this is only for simplicity in the instructions)
Linux/Mac - chmod +x proxy-router
Mac - xattr -c proxy-router
Create an .env file using the .env.min.example file as a template in the same directory as the proxy-router binary
Be sure to watch the Mainnet/Testnet settings
Start the proxy-router
Linux/Mac - ./proxy-router
Windows - proxy-router.exe
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 uptime
http://localhost:8080/config - For configuration details
http://localhost:8080/miners - To see inbound miner stats
http://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 latest release without a suffix
If you want to run on Testnet - choose the most recent *-stg release
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-wallet from 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"
Create a import an existing wallet using the mnemonic or private key of your Seller Node
When asked, make sure to RUN WITHOUT PROXY as this will be the control / manager for your Seller Node
Go to the Seller Hub
Click Create Contract
Enter Details and Clice Create Contract
Validator Node
How to register as a validator node
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:8080 or 165.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
Expand ▾
Collapse ▴
Directories
¶
internal
Package avgcounter implements a simple EMA (Exponential Moving Average) counter.
Click to show internal directories.
Click to hide internal directories.