optimism
optimism copied to clipboard
da: use bitcoin as DA layer
Overview
This PR makes Bitcoin available as a DA layer.
op-batcher
and op-node
are updated to use Bitcoin as a DA layer, reading and writing from it.
Settlement still happens on ethereum, only the data is posted as a bitcoin taproot transaction instead of calldata on ethereum. The corresponding bitcoin transaction hash and output index are posted as calldata to ethereum.
Checklist
- [ ] New and updated code has appropriate documentation
- [ ] New and updated code has new and/or updated testing
- [ ] Required CI checks are passing
- [ ] Visual proof for any user facing features like CLI or documentation updates
- [ ] Linked issues closed with keywords