~/talk

Create 2 Patterns

Talkat Solidity Summit 2022 · on Wednesday, 2022-04-20· [smart-contracts, blockchain]
slides:none on file

Create2 is presented as the primitive that enables counterfactual wallets and address-encoded metadata by using a factory, salt and init code so addresses are deterministic; actual builds include lazy wallets (send assets before deploy), Uniswap-style deterministic pools, an L2 token-address oracle, a withdraw-via-deploy UX hack, and a proof-of-concept c2c NFT bridge repo that works but pushes complexity to withdrawals. Notes: resurrecting via self-destruct is possible but fragile, duplicate salts fail, and deposits boil down to the minimal transfer+mint pattern.

AI-written summary · about

  1. 0:00Introduction to patterns
  2. 0:50Understanding create2
  3. 2:29Technical implementation
  4. 3:24Counterfactual patterns
  5. 5:22Lazy wallet creation
  6. 7:34Encoding data in addresses
  7. 9:16Advanced composition flows
  8. 12:18Counterfactual NFT bridging
  9. 17:25Q&A and concluding thoughts
~/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.