~/talk

Tips and Tricks to Deploy L1 Smart Contracts on Optimism

Talkat Smart Contract Summit #1 2021 · 2021-08-05..08-07· [smart-contracts]
links:none on file
slides:none on file

Builds a working Synthetics dApp on Optimism (see Quentin.oh) by reusing existing Solidity code compiled with an OVM transpiler (Solc fork), connecting L1 escrow + bridge to an L2 sequencer and relayer, and handling deposits/mints and withdrawals with a one-week withdrawal delay. Tests include unit tests, L1 integration, L2 integration (Optimism Docker sequencer/geth fork) and full cross-layer deposit/withdraw flows. Notes: contract-size bloat from transpiler, L2 sees L1 block timestamps, and gas encoding yields values like gas price 0.015.

AI-written summary · about

  1. 0:00Intro
  2. 0:39WHERE ARE WE?
  3. 1:30WHY DOES SYNTHETIX NEED ANOTHER LAYER?
  4. 2:45SO WHY OPTIMISM?
  5. 3:48OPTIMISM IN A NUTSHELL
  6. 5:17EXTENDING SYNTHETIX ACROSS LAYER 2
  7. 6:31MESSAGING: DEPOSITS
  8. 7:36MESSAGING: WITHDRAWALS
  9. 8:57POLYMORPHIC APPROACH
  10. 10:42GOTCHAS
  11. 11:37DEPLOYMENT
  12. 13:32TESTING: UNIT
  13. 13:56TESTING: INTEGRATION
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.