Solidity TutorialsMarch 18, 202513:16• 53 views

Receiving and Sending ETH in Smart Contracts: Payable, Transfer & Call

Original Channel Title (FA):

چطور در قراردادهای هوشمند اتر دریافت و ارسال کنیم؟ Send&Recevie ETH solidity

Lesson Notes & Description

Receiving and Sending ETH in smart contracts: Payable, Transfer, Send, and Call deep dive. Handling native cryptocurrency safely is the core responsibility of blockchain developers. Learn the technical nuances, security implications, and gas rules when transferring ETH. ### Key Concepts: - The payable keyword for addresses and functions. - The receive() and fallback() special functions: when and how they execute. - Comparing transfer, send, and call for sending ETH. - Why call{value: amount}("") is the modern standard and how to protect against reentrancy. --- ### 🔗 Official Resources & Community: - 🌐 Official Website: https://cryptocoder.team/en/ - 📢 Telegram Channel: https://t.me/CryptoCoders_tel - 📺 YouTube Channel: https://www.youtube.com/@Crypto_Coders - 📂 GitHub Source Code: https://github.com/CryptoCodersGit/Re #CryptoCoders #Blockchain #Web3 #SolidityTutorials
View Original Persian Description (FA)
ارسال و دریافت اتر موارد بسیار مهمی در قراردادهای هوشمند هستند که باید انهارا با نوشتن یکسری توابع انهارا فعال کنیم و از انها در موارد مورد نیاز خود استفاده کنیم. در این اموزش به صورت کامل به دو تابع ویژه سالیدیتی یعنی Recevie - Fallback که برای دریافت اتر در قراردادهوشمند به کار میروند و همچنین برای ارسال اتر در قراردادهای هوشمند به توابع Send - Transfer - Call کامل میپردازیم این موارد را کامل بررسی کرده و برای انها مثال های کامل خواهیم زد تا با ارسال و دریافت اتر در سالیدیتی کامل اشنا شویم بخش بندی ها: 00:00 - مقدمات 00:55 - بررسی Fallback&Recevie برای دریافت اتر 04:38 - بررسی Send-Transfer-Call برای ارسال اتر 10:31 - نکات مهم برای استفاده از توابع ارسال اتر 13:05 - پایان بندی... کد های این بخش را میتوانید از این قسمت مشاهده و دریافت کنید https://github.com/CryptoCodersGit/Re...

Video Chapters(5 parts)

0:00Introduction & Overview
Play at 0:00
0:55Receiving ETH via Fallback & Receive Functions
Play at 0:55
4:38Send-Transfer-Call
Play at 4:38
10:31Chapter
Play at 10:31
13:05Conclusion & Next Steps
Play at 13:05

Referenced Resources & Documentation

Topics Covered:#CryptoCoders#Blockchain#Web3#SolidityTutorials
START A CONVERSATION

Have a Web3 Project in Mind?

Let's discuss your requirements. We can help you evaluate technical feasibility, plan architecture, and build the solution.

Zero MiddlemenMulti-Chain AgnosticSecurity-First