Skip to content

gitnull-dev/gitchain-l2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitchain-l2

EVM-compatible Layer-2 blockchain optimized for developer workflows — the network powering the GitNull protocol.

License: MIT EVM Compatible Network Platform

gitnull.xyz/network · Explorer · Docs


Overview

gitchain-l2 is an optimistic rollup built on Ethereum, purpose-built for the GitNull developer ecosystem. It provides:

  • Low gas costs — developer transactions (merge proofs, bounty settlements) cost a fraction of Ethereum mainnet
  • Fast finality — 2-second block times, 7-day fraud proof window
  • Full EVM compatibility — deploy any Solidity contract without modifications
  • Native $GNULL integration — the protocol token is the native gas token on L2

Network Details

Property Value
Network Name gitchain-l2
Chain ID 7472
RPC URL https://rpc.gitchain-l2.xyz
WebSocket wss://ws.gitchain-l2.xyz
Block Explorer https://explorer.gitchain-l2.xyz
Native Token $GNULL
Block Time ~2 seconds
Consensus Optimistic Rollup (fraud proofs)
DA Layer Ethereum mainnet

Add to MetaMask / Wallet

{
  "chainId": "0x1D30",
  "chainName": "gitchain-l2",
  "nativeCurrency": { "name": "GNULL", "symbol": "GNULL", "decimals": 18 },
  "rpcUrls": ["https://rpc.gitchain-l2.xyz"],
  "blockExplorerUrls": ["https://explorer.gitchain-l2.xyz"]
}

Or visit gitnull.xyz/network and click "Add to Wallet".


Deployed Protocol Contracts

Contract Address
RepoRegistry 0x1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b
ContribLedger 0x5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f
BountyEscrow 0x9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d
GovernanceDAO 0x3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b
GNULL Token 0x7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c

Connect via ethers.js

import { ethers } from 'ethers';

const provider = new ethers.JsonRpcProvider('https://rpc.gitchain-l2.xyz');
const network = await provider.getNetwork();
console.log(network.chainId); // 7472n

// Connect ContribLedger
const contribLedger = new ethers.Contract(
  '0x5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f',
  CONTRIB_LEDGER_ABI,
  provider
);

// Get contributions for a wallet
const contribs = await contribLedger.getContributions('0xYourWallet');

Connect via viem

import { createPublicClient, http } from 'viem';
import { defineChain } from 'viem';

export const gitchainL2 = defineChain({
  id: 7472,
  name: 'gitchain-l2',
  nativeCurrency: { decimals: 18, name: 'GNULL', symbol: 'GNULL' },
  rpcUrls: {
    default: { http: ['https://rpc.gitchain-l2.xyz'] },
  },
  blockExplorers: {
    default: { name: 'gitchain explorer', url: 'https://explorer.gitchain-l2.xyz' },
  },
});

const client = createPublicClient({ chain: gitchainL2, transport: http() });

Architecture

gitchain-l2 uses the OP Stack (Optimism) with custom modifications for developer-workflow primitives:

  • Sequencer: GitNull Protocol Labs (decentralizing Q3 2026)
  • Proposer: Posts state roots to Ethereum L1 every 4 hours
  • Challenger: Anyone can submit fraud proofs during the 7-day window
  • Bridge: Standard OP Stack bridge — deposit/withdraw via gitnull.xyz/network

Live Network Status

View real-time node status, block height, and transaction throughput at gitnull.xyz/network.

Track all ContribLedger events (merge proofs, bounty settlements) at gitnull.xyz/explorer.


License

MIT © GitNull Protocol Labs

About

EVM-compatible Layer-2 optimized for developer workflows — low gas, fast finality, powering the GitNull protocol

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors