Hardhat
Full Hardhat support. Just add the network config and deploy.
Foundry
Works with forge and cast. Same workflow you know.
ethers.js / viem
All major Web3 libraries work out of the box.
Block Explorer
Full transaction and contract explorer at explorer.22z.io
Network Configuration
| Network | RPC URL | Chain ID | Status |
|---|---|---|---|
| Testnet | https://testnet.22z.io | 2222 | Live |
| Mainnet | https://rpc.22z.io | 22 | Coming Soon |
QUICK START
Deploy in 3 Steps
1
Add 22Z Network
// Add to your hardhat.config.js
networks: {
"22z-testnet": {
url: "https://testnet.22z.io",
chainId: 2222,
accounts: [process.env.PRIVATE_KEY]
}
}2
Deploy Your Contract
npx hardhat run scripts/deploy.js --network 22z-testnet3
Interact with ethers.js
import { ethers } from 'ethers';
const provider = new ethers.JsonRpcProvider(
'https://testnet.22z.io'
);
const contract = new ethers.Contract(
contractAddress,
abi,
signer
);
// Transactions confirm in ~100ms!
const tx = await contract.myFunction();
await tx.wait();