{"id":13729536,"url":"https://github.com/0xKitsune/EVM-Book","last_synced_at":"2025-05-08T01:32:53.210Z","repository":{"id":41552614,"uuid":"465773894","full_name":"0xKitsune/EVM-Book","owner":"0xKitsune","description":"A collection of EVM related information.","archived":false,"fork":false,"pushed_at":"2023-02-02T15:59:58.000Z","size":56,"stargazers_count":319,"open_issues_count":0,"forks_count":30,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-04T02:08:48.384Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xKitsune.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-03T15:23:38.000Z","updated_at":"2024-07-14T15:58:53.000Z","dependencies_parsed_at":"2023-02-17T21:46:15.230Z","dependency_job_id":null,"html_url":"https://github.com/0xKitsune/EVM-Book","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xKitsune%2FEVM-Book","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xKitsune%2FEVM-Book/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xKitsune%2FEVM-Book/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xKitsune%2FEVM-Book/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xKitsune","download_url":"https://codeload.github.com/0xKitsune/EVM-Book/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224689026,"owners_count":17353311,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T02:01:01.879Z","updated_at":"2024-11-14T20:30:56.249Z","avatar_url":"https://github.com/0xKitsune.png","language":null,"funding_links":[],"categories":["EVM"],"sub_categories":["Cairo"],"readme":"# EVM-Book\nA collection of EVM related information. This is a repo that I created for myself to keep track of all the useful links/information I have come across related to the EVM and put it in one place. I made it public in case anyone else wants to use it to explore specific EVM related topics. This document is a work in progess and will continually be updated.\n\n\n\n\u003cbr\u003e\n\n## Low Level EVM Info\n[Every EVM Opcode and cost](https://www.evm.codes/)\n\n[Solidity -\u003e Bytecode -\u003e Opcodes](https://noxx.substack.com/p/evm-deep-dives-the-path-to-shadowy?s=r)\n\n[Memory Deep Dive](https://noxx.substack.com/p/evm-deep-dives-the-path-to-shadowy-d6b?s=r)\n\n[The EVM chapter in the Ethereum Book](https://github.com/ethereumbook/ethereumbook/blob/develop/13evm.asciidoc)\n\n[EVM Puzzles: Use calldata, calvalues and opcodes to solve EVM challenges](https://github.com/fvictorio/evm-puzzles)\n\n[Huff's EVM Tutorial](https://docs.huff.sh/tutorial/evm-basics/#technical)\n\n\u003cbr\u003e\n\n\n## Tooling / Testing\n\n[Foundry](https://onbjerg.github.io/foundry-book/)\n\n[Hardhat](https://hardhat.org/) (for when the task is outside of the bounds of Foundry)\n\n[Tenderly: Block explorer that provides very detailed transaction info.](https://dashboard.tenderly.co/explorer?utm_source=homepage)\n\n[DethCode: While browsing smart contract code on Etherscan, change URL from `.io` to `.deth.net`. This will open Visual Studio Code instance and fetch the verified code using Etherscan API.](https://twitter.com/dethcrypto/status/1471173109998882819)\n\n\n\u003cbr\u003e\n\n\n## Security \n\n[Smart contract security - key principles](https://consensys.github.io/smart-contract-best-practices/general-philosophy/)\n\n[Comprehensive list of known attack vectors and common anti-patterns](https://blog.sigmaprime.io/solidity-security.html)\n\n[Smart Contract Programmer's Hack Solidity Playlist](https://www.youtube.com/watch?v=4Mm3BCyHtDY\u0026list=PLO5VPQH6OWdWsCgXJT9UuzgbC8SPvTRi5)\n\n[Smartbugs: A curated dataset of vulnerable solidity smart contracts](https://github.com/smartbugs/smartbugs/tree/master/dataset)\n\nUse [Slither](https://github.com/crytic/slither) AND [Mythril](https://github.com/ConsenSys/mythril) together for automated vunerability testing. This does not replace an audit. This is like scanning a contract at a high level and only picks up [~37% of vunerabilities accurately](https://soliditydeveloper.com/smart-contract-security-analyzers)\n\n[List of all up to date Solidity compiler bugs](https://github.com/ethereum/solidity/blob/develop/docs/bugs.json)\n\n[Damn Vulnerabile Defi: Smart contract offensive security challenges](https://www.damnvulnerabledefi.xyz/) (Or try the [Foundry Version)](https://github.com/nicolasgarcia214/damn-vulnerable-defi-foundry)\n\n[Solcurity: A security and code quality checklist](https://github.com/Rari-Capital/solcurity)\n\n\n\u003cbr\u003e\n\n\n## Gas Optimizations\n\n[Solmate: gas optimized building blocks for smart contract development.](https://github.com/Rari-Capital/solmate/)\n\n[How arithmetic with values less than 32bytes are handled and why it costs more gas](https://ethereum.stackexchange.com/questions/3067/why-does-uint8-cost-more-gas-than-uint256)\n\n[Patterns / Optimizations for gas savings](https://github.com/kadenzipfel/gas-optimizations)\n\n[EVM Gas optimizations with gas benchmarks](https://github.com/0xKitsune/EVM-Gas-Optimizations)\n\n[Solstat: A static analyzer to find gas optimizations and contract vulnerabilities](https://github.com/0xKitsune/solstat)\n\n\u003cbr\u003e\n\n\n## Yul\n[Yul Docs](https://docs.soliditylang.org/en/latest/yul.html) \n\n[Yul+ Docs](https://github.com/FuelLabs/yulp)\n\n[Yul+ Walkthrough](https://fuellabs.medium.com/introducing-yul-a-new-low-level-language-for-ethereum-aa64ce89512f)\n\n[Inlining Yul In Solidity](https://docs.soliditylang.org/en/v0.8.12/assembly.html#inline-assembly)\n\n[Accessing Memory Explanation](https://ethereum.stackexchange.com/questions/34529/understanding-solidity-inline-assembly-code)\n\n[Vunerable Yul Patterns](https://github.com/Mikerah/solidity-bugs-and-vulns-in-yul)\n\n\n\u003cbr\u003e\n\n## General/Misc\n\n\n[Conventions in Solidity](https://docs.soliditylang.org/en/v0.8.12/assembly.html#conventions-in-solidity)\n\n[ControlCPlusControlV's Yul (and Some Solidity) Optimizations and Tricks](https://hackmd.io/50TB8ZOTSCSWsfz0l0aF2g)\n\n\n\u003cbr\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xKitsune%2FEVM-Book","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xKitsune%2FEVM-Book","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xKitsune%2FEVM-Book/lists"}