Git Product home page Git Product logo

rareskills-gas-optimization's Introduction

RareSkills gas 优化手册

RareSkills Gas优化手册由 RareSkills 编写,DeCert.me 翻译为中文版。

Solidity gas 优化

在以太坊中,gas 优化是指重写 Solidity 代码,以在以太坊虚拟机(EVM)中消耗更少的 gas 单位,同时实现相同的业务逻辑。

这篇文章超过11,000个字,不包括源代码,是关于 gas 优化的最完整的资料。

要完全理解本教程中的技巧,你需要了解 EVM 的工作原理,你可以通过参加 Rareskills 的 gas 优化课程Yul 课程,以及练习 Huff Puzzles 来学习。

然而,如果你只想知道代码中可能进行 gas 优化的部分,本文提供了很多可以参考的领域。

着作权

RareSkills 研究员 Michael Amadi(LinkedInTwitter)和 Jesse Raymond(LinkedInTwitter)对此工作做出了重要贡献。

rareskills-gas-optimization's People

Contributors

0xdwong avatar panyinglei avatar

Stargazers

mikione avatar 0xE avatar  avatar

Watchers

Tiny熊 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.