optimism

📁 hairyf/blockchain-master 📅 1 day ago
0
总安装量
1
周安装量
安装命令
npx skills add https://github.com/hairyf/blockchain-master --skill optimism

Agent 安装分布

mcpjam 1
claude-code 1
replit 1
junie 1
windsurf 1
zencoder 1

Skill 文档

Skill based on OP Stack specs (ethereum-optimism/specs), generated from sources/optimism. Doc path: sources/optimism/specs/.

The OP Stack is the software stack powering Optimism (OP Mainnet), Base, and other L2s. It defines how the L2 chain is derived from L1, how deposits and withdrawals work, standard predeploys/precompiles, fault proof components, and system configuration. Use this skill when building or debugging L2 nodes, batchers, bridges, withdrawal tooling, or contract integrations.

Core References

Topic Description Reference
Protocol overview Architecture, L1/L2 contracts, rollup node, derivation loop, Engine API core-overview
Derivation Sequencing window, batch/channel format, pipeline, payload attributes, Engine API versions core-derivation
Bridges and messaging Standard bridges, deposits (0x7E), withdrawals (prove/finalize), cross-domain messengers core-bridges-and-messaging

Features

Topic Description Reference
Predeploys and precompiles L2 predeploy addresses and interfaces; P256VERIFY and other precompiles features-predeploys-precompiles
Fault proof Program, VM, dispute game, pre-image oracle, L1 dispute contracts features-fault-proof
Batcher and SystemConfig Batch submitter loop; SystemConfig (batch inbox, batcher hash, fee scalars) features-batcher-and-system-config

Best Practices

Topic Description Reference
Deposits and withdrawals Address aliasing on deposits, no aliasing on withdrawals, using l2Sender() on L1 best-practices-deposits-withdrawals