Mastering Ethereum 2nd Edition.pdf
14.8 MB
🧙♂️Mastering Ethereum: 2nd Edition
Read online: https://masteringethereum.xyz/
Github: https://github.com/ethereumbook/ethereumbook
Read online: https://masteringethereum.xyz/
Github: https://github.com/ethereumbook/ethereumbook
⚡4🆒1
All great innovations solve real problems, and Ξthereum is no exception.
👾3
Understanding Calldata: The Hidden Gas Cost Most Developers Overlook
One of the most underrated parts of gas optimization in Solidity is calldata — the raw bytes your contract receives as input. Every single byte in calldata costs gas, and unlike memory or storage operations, calldata is... Read more on Telegraph
One of the most underrated parts of gas optimization in Solidity is calldata — the raw bytes your contract receives as input. Every single byte in calldata costs gas, and unlike memory or storage operations, calldata is... Read more on Telegraph
⚡3
Great Prompt for a Structured PRD
Act as an experienced Product Manager responsible for drafting a comprehensive Product Requirements Document (PRD). Your goal is to create a clear, concise, and detailed PRD for the [Product Name/Feature Name].
The PRD must be detailed enough to guide design, development, and testing teams in understanding what needs to be built.
Here is the foundational information and synthesized insights from my research:
[Paste your product context, user pain points summary, business goals, and any existing notes here].
Please structure the PRD into the following mandatory sections:
1. **Problem Statement**: Describe the current situation, user pain points, and business impact.
2. **Goals & Success Metrics**: Clearly define the objectives and Key Performance Indicators (KPIs) to measure success.
3. **Proposed Solution**: Provide an overview of the solution and relevant user stories.
4. **Requirements**: Detail functional, technical, and design requirements.
5. **Implementation & Constraints**: List dependencies, a proposed timeline, required resources, and any known risks/mitigations.
6. **Open Questions & Assumptions**: Include a section for any outstanding items or assumptions made.
Each feature in the Requirements section should break down:
* What the user will see (UI details).
* The data or input it collects.
* The exact conditions for success (Acceptance Criteria).
Format the entire document using standard Markdown syntax (.md) for clarity and ease of reading.
✍3
🧙🏼♂️ Essential EIPs & ERCs You Must Master to Design Secure DeFi
Behind every AMM, lending protocol, vault, and smart wallet lies a set of critical EIPs and ERCs that define how assets move, how contracts interact, and how risks are managed.
If you’re a Solidity developer aiming to level up into DeFi protocol engineering, this is a must-read.
⚡️ Read the full article HERE
Behind every AMM, lending protocol, vault, and smart wallet lies a set of critical EIPs and ERCs that define how assets move, how contracts interact, and how risks are managed.
If you’re a Solidity developer aiming to level up into DeFi protocol engineering, this is a must-read.
⚡️ Read the full article HERE
⚡3
Some Goood Reads on x402:
https://docs.cdp.coinbase.com/x402/welcome
https://solana.com/x402
https://panteracapital.com/http-402s-modern-makeover/
https://x.com/i/status/2000971905310834780
https://x.com/i/status/1985736807456391250
https://x.com/i/status/1999171014249578546
https://x.com/i/status/2002227697045610774
https://x.com/i/status/1978474979600879984
https://x.com/henloitsjoyce/status/1980654010249167279?s=52&t=gPkP0-ERnBM9vGgWmpqccQ
Important Insight:
https://news.1rj.ru/str/BitcoinIsFreedom/3832
https://docs.cdp.coinbase.com/x402/welcome
https://solana.com/x402
https://panteracapital.com/http-402s-modern-makeover/
https://x.com/i/status/2000971905310834780
https://x.com/i/status/1985736807456391250
https://x.com/i/status/1999171014249578546
https://x.com/i/status/2002227697045610774
https://x.com/i/status/1978474979600879984
https://x.com/henloitsjoyce/status/1980654010249167279?s=52&t=gPkP0-ERnBM9vGgWmpqccQ
Important Insight:
https://news.1rj.ru/str/BitcoinIsFreedom/3832
⚡3
Forwarded from HedCast (Hooman)
Building blocks for the next phase of Ethereum & ZK infrastructure:
https://zkevm.ethereum.foundation/
https://reth.rs/
https://openvm.dev/
https://zisk.technology/
Following the path. Step by step.
@HedCast
Please open Telegram to view this post
VIEW IN TELEGRAM
zkevm.ethereum.foundation
zkEVM - Scaling Ethereum Without Compromise
Introducing zkEVMs on L1: A new paradigm to increase Ethereum's throughput while strengthening decentralization through Zero Knowledge proofs.
Forwarded from Amir Habibzadeh channel
چطور میتونیم «قدرت» داشته باشیم بدون اینکه تبدیل به «ظالم» بشیم؟
ویتالیک در پست آخر سال ۲۰۲۵، Balance of power مفهوم d/acc و «تعاملپذیری خصمانه» رو به عنوان راهکاری برای مقابله با انحصار غولهای تک و دولتها پیشنهاد میده.
حرف اصلیش اینه: دوران اینکه صبر کنیم تا قدرتها خودشون رو اصلاح کنند تموم شده؛ باید با ابزارها و کدهای باز، قدرت رو به زور «توزیع» کنیم. خلاصه و نکات کلیدیش رو اینجا نوشتم: 👇
۱/ مثلث ترسناک قدرت 🔺
ویتالیک میگه ما الان از سه چیز میترسیم:
۱. دولت بزرگ: که سرکوبگره.
۲. بیزنس بزرگ: که انحصارگره و فقط دنبال سود خودشه (حتی اگه کاربر معتاد بشه).
۳. توده بزرگ (Big Mob): که میشه فرهنگ کنسل یا پوپولیسم کور.
مشکل کجاست؟ اینکه الان همه اینها همزمان دارن قویتر میشن.
۲/ چرا ترمزها بریدن؟ 📉 قبلاً یه قانون نانوشته بود: «هرچی بزرگتر بشی، ناکارآمدتر میشی» (عدم صرفه به مقیاس). اما هوش مصنوعی و اتوماسیون این قانون رو شکستن. الان یه بازیگر میتونه بدون اینکه کند بشه، کل زمین بازی رو بگیره. توازن قدرت خودبهخود درست نمیشه، باید مهندسیش کنیم.
۳/ راهکار اول: الزام به توزیع (Mandate Diffusion) 🛠 ما باید به زورِ تکنولوژی و قانون، انحصار رو بشکنیم. ویتالیک طرفدار ایناست:
- استانداردهای اجباری (مثل USB-C اپل)
- ممنوعیت قراردادهای «عدم رقابت» برای کارکنان
- لایسنسهای کپیلفت (Copyleft) که کدهای بعدی رو هم باز نگه میدارن.
۴/ راهکار دوم: تعاملپذیری خصمانه ⚔️ این جذابترین بخش مقالهست! یعنی ساخت ابزارهایی که «بدون اجازه» به پلتفرمهای انحصاری وصل میشن تا کاربر رو نجات بدن. مثال: ساختن یه اپلیکیشن که پستهای اینستاگرام/توییتر رو بهت نشون میده، اما الگوریتمهای اعتیادآور و تبلیغاتش رو حذف میکنه.
۵/ مفهوم d/acc: دفاعِ دموکراتیک 🛡 خیلیها میگن: «دنیا خطرناکه، پس باید قدرت رو بدیم دست یه نفر که حواسش باشه.» ویتالیک میگه: «نه! راه حل d/acc هست.» یعنی توسعه تکنولوژیهای دفاعی که باز و در دسترس همه باشن. امنیت باید توزیع بشه، نه اینکه گاردریل بکشیم دور دنیا.
۶/ اخلاق جدید: قدرت "To" نه قدرت "Over" ⚖️ ما باید پروژههایی بسازیم که «قدرتِ انجام کار» (Impact) داشته باشن، اما «قدرتِ سلطه بر دیگران» (Hegemony) نداشته باشن. مثال مثبت ویتالیک: Lido با اینکه سهم بزرگی از استیکینگ اتریوم رو داره، چون حاکمیتش غیرمتمرکزه و دست یه نفر نیست، ترسناک نشده.
۷/ جمعبندی 👋 پیام ویتالیک برای ۲۰۲۶ روشنه: توی جنگل انبوهِ تکنولوژی، اگر فقط تماشاچی باشیم، غولها ما رو میبلعن. راه نجات، حمایت از ابزارهای باز، شکستن باغهای محصور (Walled Gardens) و توزیع فعالانه قدرته.
ویتالیک در پست آخر سال ۲۰۲۵، Balance of power مفهوم d/acc و «تعاملپذیری خصمانه» رو به عنوان راهکاری برای مقابله با انحصار غولهای تک و دولتها پیشنهاد میده.
حرف اصلیش اینه: دوران اینکه صبر کنیم تا قدرتها خودشون رو اصلاح کنند تموم شده؛ باید با ابزارها و کدهای باز، قدرت رو به زور «توزیع» کنیم. خلاصه و نکات کلیدیش رو اینجا نوشتم: 👇
۱/ مثلث ترسناک قدرت 🔺
ویتالیک میگه ما الان از سه چیز میترسیم:
۱. دولت بزرگ: که سرکوبگره.
۲. بیزنس بزرگ: که انحصارگره و فقط دنبال سود خودشه (حتی اگه کاربر معتاد بشه).
۳. توده بزرگ (Big Mob): که میشه فرهنگ کنسل یا پوپولیسم کور.
مشکل کجاست؟ اینکه الان همه اینها همزمان دارن قویتر میشن.
۲/ چرا ترمزها بریدن؟ 📉 قبلاً یه قانون نانوشته بود: «هرچی بزرگتر بشی، ناکارآمدتر میشی» (عدم صرفه به مقیاس). اما هوش مصنوعی و اتوماسیون این قانون رو شکستن. الان یه بازیگر میتونه بدون اینکه کند بشه، کل زمین بازی رو بگیره. توازن قدرت خودبهخود درست نمیشه، باید مهندسیش کنیم.
۳/ راهکار اول: الزام به توزیع (Mandate Diffusion) 🛠 ما باید به زورِ تکنولوژی و قانون، انحصار رو بشکنیم. ویتالیک طرفدار ایناست:
- استانداردهای اجباری (مثل USB-C اپل)
- ممنوعیت قراردادهای «عدم رقابت» برای کارکنان
- لایسنسهای کپیلفت (Copyleft) که کدهای بعدی رو هم باز نگه میدارن.
۴/ راهکار دوم: تعاملپذیری خصمانه ⚔️ این جذابترین بخش مقالهست! یعنی ساخت ابزارهایی که «بدون اجازه» به پلتفرمهای انحصاری وصل میشن تا کاربر رو نجات بدن. مثال: ساختن یه اپلیکیشن که پستهای اینستاگرام/توییتر رو بهت نشون میده، اما الگوریتمهای اعتیادآور و تبلیغاتش رو حذف میکنه.
۵/ مفهوم d/acc: دفاعِ دموکراتیک 🛡 خیلیها میگن: «دنیا خطرناکه، پس باید قدرت رو بدیم دست یه نفر که حواسش باشه.» ویتالیک میگه: «نه! راه حل d/acc هست.» یعنی توسعه تکنولوژیهای دفاعی که باز و در دسترس همه باشن. امنیت باید توزیع بشه، نه اینکه گاردریل بکشیم دور دنیا.
۶/ اخلاق جدید: قدرت "To" نه قدرت "Over" ⚖️ ما باید پروژههایی بسازیم که «قدرتِ انجام کار» (Impact) داشته باشن، اما «قدرتِ سلطه بر دیگران» (Hegemony) نداشته باشن. مثال مثبت ویتالیک: Lido با اینکه سهم بزرگی از استیکینگ اتریوم رو داره، چون حاکمیتش غیرمتمرکزه و دست یه نفر نیست، ترسناک نشده.
۷/ جمعبندی 👋 پیام ویتالیک برای ۲۰۲۶ روشنه: توی جنگل انبوهِ تکنولوژی، اگر فقط تماشاچی باشیم، غولها ما رو میبلعن. راه نجات، حمایت از ابزارهای باز، شکستن باغهای محصور (Walled Gardens) و توزیع فعالانه قدرته.
⚡6