Discover Packages
github.com/Lumerin-protocol/proxy-router
module
Version:
v1.7.0
Opens a new window with list of versions in this module.
Published: Feb 21, 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
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.