Optimism: Ethereum Layer 2 Scaling Solution
Layer 2 blockchain that scales Ethereum using optimistic rollup technology and the open-source OP Stack framework.
Learn more about Optimism
Optimism is a Layer 2 blockchain that scales Ethereum using optimistic rollup technology. It bundles multiple transactions into batches and submits them to Ethereum mainnet, assuming transactions are valid by default and using fraud proofs to challenge invalid ones. The system is built on the OP Stack, a modular development stack that includes consensus clients, batch submitters, smart contracts, and fault proof systems. Optimism serves as the foundation for multiple blockchains including OP Mainnet and Base.
OP Stack Framework
Provides a complete modular development stack for building Layer 2 blockchains. Includes rollup consensus clients, batch processing, smart contracts, and dispute resolution components.
Optimistic Rollups
Uses optimistic execution with fraud proofs to achieve scalability while maintaining Ethereum security. Transactions are assumed valid by default with challenge periods for dispute resolution.
Fault Proof System
Implements onchain MIPS instruction emulation and dispute games for verifiable transaction validation. Includes specialized components like op-challenger and op-program for proof generation and verification.
import { ethers } from 'ethers';
// Connect to Optimism Mainnet
const provider = new ethers.JsonRpcProvider('https://mainnet.optimism.io');
async function checkOptimismBalance() {
try {
// Get the latest block number
const blockNumber = await provider.getBlockNumber();
console.log('Current Optimism block:', blockNumber);
// Check ETH balance for an address
const address = '0x742d35Cc6634C0532925a3b8D4C2C2C8C2C2C8C2';
const balance = await provider.getBalance(address);
const balanceInEth = ethers.formatEther(balance);
console.log(`Balance: ${balanceInEth} ETH`);
// Get network information
const network = await provider.getNetwork();
console.log('Network:', network.name, 'Chain ID:', network.chainId);
} catch (error) {
console.error('Error connecting to Optimism:', error);
}
}
checkOptimismBalance();This is a minor release of op-dispute-mon that includes bug fixes. It is a required upgrade for all users.
- –Remove support for asterisc, asterisc-kona and super-asterisc trace types.
- –Improve reporting for proposals with large block numbers.
- –https://us-docker.pkg.dev/oplabs-tools-artifacts/images/op-dispute-mon/v1.5.0
This is a minor release of op-challenger that includes important bug fixes. It is a required upgrade for all users.
- –Ensure games with zero bonds are closed.
- –Apply timeouts to RPC requests.
- –Remove support for asterisc, asterisc-kona and super-asterisc trace types.
- –Improve handling of a number of corner cases.
- –https://us-docker.pkg.dev/oplabs-tools-artifacts/images/op-challenger:v1.9.0
op-deployer/v0.6.0-rc.3: 79f8ed110b29db79a85b882d3eed5c2b8570eff4 feat(op-deployer): Update for op-contracts/v6.0.0-rc.2
- –79f8ed110b29db79a85b882d3eed5c2b8570eff4 feat(op-deployer): Update for op-contracts/v6.0.0-rc.2
See how people are using Optimism
Related Repositories
Discover similar tools and frameworks used by developers
Go Ethereum
Golang execution layer implementation of the Ethereum protocol, providing the geth client and developer tools.
Electrum
A lightweight Bitcoin wallet client written in Python that supports Lightning Network transactions.
BFGMiner
Multi-threaded cryptocurrency miner supporting ASIC, FPGA, GPU, and CPU hardware with dynamic clocking and monitoring.
OpenZeppelin Contracts
A library of audited Solidity components for secure smart contract development on Ethereum and EVM-compatible chains.
Solady
Collection of gas-optimized Solidity smart contract implementations for Ethereum development.