Hydrix Chain — Nodes & Validators
Hydrix Chain operates with a Proof of Authority (PoA) consensus model.
Validators maintain the blockchain’s integrity, produce blocks, and expose standard RPC endpoints for developers, apps, and users.
In addition, lightweight nodes can run on mobile devices to help monitor network health and relay reads.
Validators
Validators are trusted authorities approved by the Hydrix governance structure.
Each validator:
- Produces blocks under the PoA consensus mechanism
- Confirms transactions and maintains finality
- Exposes a standard JSON-RPC endpoint
- Participates in network health and security
Current Validator RPC Endpoints:
| Validator | RPC Port |
|---|---|
| Validator 1 | 8545 |
| Validator 2 | 8546 |
| Validator 3 | 8547 |
| Validator 4 | 8548 |
Notes:
- All validator endpoints provide identical functionality
- If one is slow or temporarily offline, you can use another
- Validators handle deterministic block production, near-instant finality, and minimal risk of reorgs
Switching Validators Example (Ethers.js)
If one validator is under heavy load or temporarily unavailable, developers can automatically switch to another endpoint using Ethers.js:
const { ethers } = require("ethers");
// List of validator RPC endpoints
const validators = [
"https://chainfree.info:5010/validator/1",
"https://chainfree.info:5010/validator/2",
"https://chainfree.info:5010/validator/3",
"https://chainfree.info:5010/validator/4"
];
// Function to get a provider from a validator
function getProvider(index = 0) {
return new ethers.JsonRpcProvider(validators[index]);
}
// Example: switch validator if one is slow
async function getLatestBlock() {
let providerIndex = 0;
let blockNumber;
while (providerIndex < validators.length) {
try {
const provider = getProvider(providerIndex);
blockNumber = await provider.getBlockNumber();
console.log("Latest block from Validator", providerIndex + 1, ":", blockNumber);
break; // success, exit loop
} catch (err) {
console.warn("Validator", providerIndex + 1, "failed, trying next...");
providerIndex++;
}
}
if (blockNumber === undefined) {
console.error("All validators are unavailable");
}
}
getLatestBlock();
Node Connectivity
All nodes and validators connect to the network via standard peer-to-peer protocols.
Lightweight nodes interact primarily with validators for:
- Chain state queries
- Block headers and receipts
- Mining app validation sync
- RPC read relay (future feature)
Adding a Node
To run your own node:
- Download the client: https://hydrixapp.online
- Install the app (mobile or desktop)
- The node will automatically connect to validator endpoints
- Optional: participate in distributed read operations
Running your own node enhances decentralization and ensures real-time network visibility.
Node & Validator Summary
- Validators: Authority nodes producing blocks (ports 8545–8548)
- Lightweight / mobile nodes: Monitor network, relay reads, minimal resource usage
- Consensus: PoA, near-instant finality, no gas spikes
- RPC Access: All endpoints standard JSON-RPC, compatible with Ethereum tools
Next Steps
After understanding nodes and validators, developers can:
- Connect wallets and dApps to Hydrix RPC endpoints
- Deploy smart contracts via Hardhat, Foundry, or Remix
- Explore advanced node participation for monitoring and read relays
- Move to the Smart Contracts section to begin deploying on-chain