Getting Started with Hydrix Chain
Welcome to the Hydrix Chain developer documentation. This guide will introduce you to the network, show you how to connect to the RPC endpoints, and help you deploy your first smart contract on the Hydrix ecosystem.
Hydrix Chain is an EVM-compatible, Polygon Edge–based, Proof of Authority (PoA) Layer 1 blockchain with a fixed 1 gwei gas price and fast block finality.
If you already build for Ethereum, Polygon, or BSC — your code will work here too.
What You Can Build Today
Hydrix currently supports:
- Full EVM smart contract development
- dApps, wallets, bots, or backend services
- Reading/writing blockchain data via RPC
- Running a full node
- Interacting with the testnet through multiple trusted validator endpoints
- Integrating with the Hydrix Mining App (read access)
- Querying chain state via Chainfree RPC
RPC Endpoints (Testnet)
Hydrix exposes four public RPC endpoints — each one a separate trusted validator:
- https://chainfree.info:5010/validator/1
- https://chainfree.info:5010/validator/2
- https://chainfree.info:5010/validator/3
- https://chainfree.info:5010/validator/4
These are all standard Ethereum-compatible RPC interfaces supporting JSON-RPC 2.0.
Network Configuration
Use the following settings in MetaMask, Hardhat, Foundry, or any EVM tool:
Network Name: Hydrix Testnet
RPC URL: Any of the endpoints above
Chain ID: 1337
Currency Symbol: HYX
Block Explorer: https://www.hydrix.online
Gas Price: Fixed at 1 gwei
Connect in MetaMask
- Open MetaMask
- Go to Settings → Networks → Add Network Manually
- Enter the Hydrix Testnet configuration
- Save — you're connected
You can now deploy smart contracts, send transactions, or read chain state directly.
Deploy Your First Contract (Hardhat)
Below is a minimal example using Hardhat.
Make sure you have Node.js ≥ 20 installed.
1. Install Hardhat
npm install --save-dev hardhat
npx hardhat init
2. Install ethers
npm install --save ethers
3. Configure Hardhat
Add this inside hardhat.config.js:
module.exports = {
solidity: "0.8.20",
networks: {
hydrix: {
url: "https://chainfree.info:5010/validator/1",
accounts: ["YOUR_PRIVATE_KEY"]
}
}
}:
4. Create A Contract
Create contracts/HelloHydrix.sol:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
contract HelloHydrix {
string public message = "Hello from the Hydrix Chain!";
}
5. Deploy
Create scripts/deploy.js:
async function main() {
const factory = await ethers.deployContract("HelloHydrix");
await factory.waitForDeployment();
console.log("Contract deployed to:", factory.target);
}
main().catch((e) => {
console.error(e);
process.exit(1);
});
Deploy it:
npx hardhat run scripts/deploy.js --network hydrix
Your contract is now live on Hydrix Chain.