Hilmar X@hilmar·May 23

Web3 Devs hangout to share cool new developments

  • Denham@denham·Jul 19

    What's your favourite testnet to work with?

    Fuji has been quite a dream to dev on

    3
    • Hilmar X@hilmar·May 30

      Do you guys know EIP-2535 aka the "Diamond Pattern" for writing upgradable smart contracts?

      If not, then you should definitely check it out!

      Link to EIP: github.com/ethereum/EIPs/issues/2535

      Pros:

      • Unstructured storage pattern, e.g. no need to stick to the same storage layout like the transparent proxy pattern
      • No contract size limitation, you can add unlimited "facets" meaning you could potentially write the biggest smart contract on Ethereum
      • Compatible with Hardhat Deploy

      Cons:

      • It's more complicated for outsiders to reason about as there is not a single implementation but many facets
      • Lack of tooling, still unsupported by Etherscan, but more and more sites such as louper.dev have dedicated support.

      Check out this interview with Nick who created the standard that I did roughly a year ago:

      youtu.be/ttv4ecXykfM

      We at Gelato are heavy users of the Diamond pattern and have been building on top of it for the past year!

      Comment by @hilmar.lens
      10
      • Denham@denham·May 23

        Hi there, shadowy super coder over here 🔦

        Sharing an idea I'll probably never get around to building.

        Concept: In smart contract security when evaluating VaR (value at risk), we too often look at something like TVL as the core metric of VaR when, actually, an upgradable contract with infinite erc20 approvals and wallet holders with deep bags may indicate a much higher VaR.

        Idea 💡: Develop a tool which can calculate the VaR of a given contract for a given erc20 token.

        May dabble with this over some weekend on my path of becoming a Rustacean 🦀

        5
        • Hilmar X@hilmar·May 23

          Created a group for all shadowy super coders out there to share learnings and cool new web3 stuff!

          4