Introduction
Gritex Layer 2 is a next‑generation scaling solution for Ethereum, built on the OP Stack. It
combines sub‑3s finality, ultra‑low fees (<$0.01), and full EVM compatibility while inheriting
Ethereum’s security guarantees.
This whitepaper presents Gritex’s design goals, modular architecture, developer experience, token
economics, roadmap, and security posture. Our vision is to enable production‑grade, globally
scalable applications without sacrificing decentralization.
- High Throughput: Optimistic rollup pipeline scales to
thousands of TPS with predictable latency.
- Ultra‑Low Fees: Batch compression keeps gas fees under one
cent for most transactions.
- Ethereum‑Grade Security: State commitments and data are
finalized on Ethereum L1.
- EVM Compatibility: Deploy existing Solidity contracts; use
Hardhat, Foundry, Remix, Ethers.js with no code changes.
- Native Bridge: Standard L1/L2 bridges for ETH & ERC‑20
with clear finalization windows.
- Open SDKs & APIs: JavaScript/TypeScript SDKs and REST
endpoints for wallets, dApps, and indexers.
Architecture Overview (OP Stack)
Gritex follows the OP Stack modular design with distinct responsibilities:
- Execution (EVM): Processes transactions and maintains L2
state in a fully EVM‑compatible VM.
- Sequencing & Derivation: Orders transactions, builds
L2 blocks, and derives batches for L1 submission.
- Data Availability & Settlement (Ethereum L1): Stores
batch data and finalizes state roots; enables fraud‑proof challenges.
Fraud proofs ensure that any invalid state transition can be challenged within the L1 window. This
preserves permissionless integrity while keeping user costs low.
Gritex Testnet Access
The public Gritex Testnet is live and open for developers and early users.
- Network Name: Gritex Testnet
- Default RPC URL:
"https://testnet.gritex.net/rpc" "https://testnet.gritex.net/rpc"
- Chain ID: 89172
- Symbol: ETH
- Explorer:
"https://testnet.gritex.net" "https://testnet.gritex.net"
- Bridge:
"https://testnet-bridge.gritex.net" "https://testnet-bridge.gritex.net"
- Sepolia Faucet:
"https://faucet.gritex.net" "https://faucet.gritex.net"
import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider("https://testnet.gritex.net/rpc");
const chainId = 89172; // Gritex Testnet
const wallet = new ethers.Wallet(process.env.PRIVATE_KEY, provider);
Built for Developers
Gritex is designed to minimize developer friction and time‑to‑mainnet. Everything that works on
Ethereum works on Gritex.
- Tooling Support: Hardhat, Foundry, Truffle, Remix,
Ethers.js, Web3.js, OpenZeppelin.
- Local → Testnet → Mainnet Parity: Deterministic behavior
across environments with identical EVM semantics.
- Public RPCs & Endpoints: High‑throughput RPC designed
for production workloads.
- Indexer‑Friendly Events: Clean logs and ABI‑stable
interfaces for subgraphs and analytics.
- Bridging Primitives: Programmatic L1↔L2 messaging for
deposits, withdrawals, and cross‑domain calls.
Quick start examples:
npm i --save ethers
node -e "
const { ethers } = require('ethers');
(async () =; {
const provider = new ethers.JsonRpcProvider('https://testnet.gritex.net/rpc');
const chainId = await provider.getNetwork();
console.log(chainId);
})();
"
npx hardhat run scripts/deploy.ts --network gritexTestnet
// hardhat.config.ts
networks: {
gritexTestnet: {
url: "https://testnet.gritex.net/rpc",
chainId: 89172,
accounts: [process.env.PRIVATE_KEY]
}
}
forge create src/Contract.sol:Contract \
--rpc-url https://testnet.gritex.net/rpc \
--private-key $PRIVATE_KEY
Tokenomics (GRX)
| Allocation |
Percentage |
Purpose |
| Liquidity Pool |
60% |
AMM & DEX liquidity provisioning |
| Community |
10% |
Airdrops, incentives, governance |
| Foundation & Team |
10% |
Core protocol development |
| Marketing & Operations |
10% |
Ecosystem growth & partnerships |
| Ecosystem & Exchange |
10% |
Listings, liquidity, integrations |