Skip to content
View karmacoma-eth's full-sized avatar

Organizations

@ethernautdao

Block or report karmacoma-eth

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. smol-evm smol-evm Public archive

    Python 210 26

  2. Sending Ether Cheat Sheet Sending Ether Cheat Sheet
    1
    # Sending Ether Cheat Sheet
    2
    
                  
    3
    ## TLDR
    4
    
                  
    5
    🥇 Instead of sending Ether, use the [withdrawal pattern](https://docs.soliditylang.org/en/v0.8.8/common-patterns.html#withdrawal-from-contracts)
  3. solidity-one-liners solidity-one-liners Public

    Poor man's Solidity REPL

    Shell 61 2

  4. EVM quine EVM quine
    1
    # quine.etk
    2
    # ⬜ => ⬜
    3
    # A quine is a computer program which takes no input and produces a copy of its own source code as its only output.
    4
    
                  
    5
    # 0x80...f3 is the compiled code excluding the push16 instruction (from dup1 to return)
  5. reverse calldata in chunks of 32 bytes reverse calldata in chunks of 32 bytes
    1
    // Reverse bytes received in calldata (abcd -> dcba)
    2
    // https://twitter.com/huff_language/status/1583894073487654913
    3
    // code length 206
    4
    
                  
    5
    /// @author Philippe Dumonet <[email protected]> -- https://twitter.com/real_philogy/status/1584304102418223104