لایه دوم اتریوم در چیست و گونه کار میکند - What is the second layer of Ethereum and how does it work
لایه دوم اتریوم چیست؟ و چه کاربری دارد؟ ایا لایه دوم اتریوم به کاهش کارمزدهای این شبکه کمک خواهد کرد؟ این ویدئو قرار است صفر تا صد لایه دوم اتریوم را به شما یاد داده و راه کارهایی که برای لایه دوم اتریوم ارائه شده اند را به شما یاد دهد. همچنین مطالب مرتبط با ویدئوی لایه دوم اتریوم چیست؟ را در ادامه ذکر کرده ایم که صفر تا صد این موضوع را بطور کامل یاد بگیرید. ویدئو را تا انتها ببینید و مطالب مرتبط با ان را در ادامه مطالعه نمایید تا بطور کامل با این موضوع آشنایی پیدا کنید.
لایه دوم اتریوم چیست ؟
در این قسمت قصد داریم در مورد لایه دوم در بلاکچین و خصوصا لایه دوم اتریوم صحبت کنیم. لایه دوم به ساز و کاری با پروتکل ثانویه گفته میشه که روی بلاکچین اصلی قرار میگیره و هدفش حل مشکل سرعت پایین تراکنش ها و مقیاس پذیری هستش. اخیرا بلاکچین هایی مثل اتریوم به دلیل ارائه بستری مناسب برای قرار داد های هوشمند (Smart Contracts) محبوبیت زیادی بین کاربران پیدا کردن. این امر سبب ترافیک بالا و شلوغی شبکه بلاکچین اتریوم شده و باعث شده تا سرعت بررسی و تایید تراکنش ها افت داشته باشه و همچنین نرخ کارمزد های تراکنش بالا بره.
در مقاطعی از سال 2021 شاهد بودیم که حتی کارمزد های شبکه اتریوم به 80 دلار هم رسید. در نتیجه این اتفاقات و انتقاد کاربران توسعه دهندگان اتریوم به فکر پیاده کردن یک راه حل لایه دوم شدن. در اصل توسعه دهندگان اتریوم به دنبال این مسئله بودن تا بهکمک پروتکل لایه دوم، تراکنش ها رو با سرعتی بسیار بالا در فضایی دور از لایه اصلی بلاکچین پردازش کنن. در ادامه در مورد معروف ترین ساز و کار های لایه دوم اتریوم صحبت خواهیم کرد.
راه حل های لایه دوم اتریوم
پیش تر در مورد اینکه لایه دوم اتریوم چیست صحبت کردیم و در مورد لزوم افزایش مقیاس پذیری شبکه بلاکچین اتریوم صحبت کردیم. در این قسمت در مورد انواع راه حل های لایه دوم اتریوم صحبت می کنیم. همچنین بهتره دوباره یادآوری کنم که راه حل های لایه دوم اتریوم در ویدیو آموزشی که در اول صفحه بارگذاری شده، توضیح داده شده.
• پلاسما (Plasma) : ایده اصلی اتریوم پلاسما ایجاد ساز و کاری از زنجیره های جانبی هست که تا حد ممکن با مصرف منابع کمتر با زنجیره اصلی ارتباط و تعامل داشته باشن. چنین مکانیزمی برای عمل کردن به عنوان درخت بلاکچین طراحی میشه تا به صورت سلسله مراتبی طوری سازمان دهی بشه که زنجیره های کوچکتر زیاد تری بتونن بر بستر زنجیره اصلی ایجاد بشن. به این زنجیره های کوچکتر زنجیره های پلاسما یا زنجیره های فرزند (Child chain) هم میگن.
• رول آپ خوشبینانه (Optimistic Rollup) : رولآپ های خوشبینانه روی لایه اصلی یا اول اتریوم اجرا میشن تا امکان اجرای تعداد زیادی از قرارداد های هوشمند بدون نیاز به بارگذاری اونا روی شبکه فراهم بشه. این رولآپ ها همچنین از همان سطوح امنیتی زنجیره اصلی اتریوم برخوردارن. به طور کلی رولآپ های خوشبینانه می تونن قرارداد های هوشمند (Smart contract) رو به روشی مشابه با بلاکچین قرارداد های هوشمند پشتیبانی کنن.
• رول آپ های زد کی (ZK Rollup) : رولآپ های زد کی تراکنش های خارج از زنجیرهای (Off-chain) رو دسته بندی می کنن و یک سند رمزنگاری شده بهنام اسنارک (SNARK) برای اون تشکیل میدن. در اصل برخلاف رولآپ های خوشبینانه که هیچ گونه محاسباتی برای امنیت تراکنش ها انجام نمیدن و از پروتکل های امنیتی زنجیره اصلی استفاده می کنن، رولآپ های زد کی محاسبات برون زنجیرها ی خاص خودشون رو دارن و سند اعتبار حاصل شده از این محاسبات رو به زنجیره لایه اول می فرستن.
• زد کی سینک (ZKsync) : ZKsync توسط فناوری رولآپ زد کی، یک پروتکل بدون نیاز به اعتماد برای پرداخت های مقیاس پذیر و کم هزینه تر اتریوم ارائه می کنه. به علاوه، این پروتکل به کیف پول های ارز دیجیتال و پلتفرم های دیفای کمک می کنه تا مقیاس پذیری مشابه با Pay Pal داشته باشن.
• هارمونی (Harmony) : از جمله سایر پروژه های لایه دوم اتریوم که از رول آپ های زد کی بهره می برنن می تونیم هارمونی رو نام ببریم که با ادغام خصوصیات رولآپ های خوشبینانه و زد کی، امکانات خوب و کاربردی رو ارائه می کنه. توجه داشته باشید که هارمونی با تکیه بر فناوری بلاکچین اثبات سهامی که اون رو به وسیله قرارداد های هوشمند به اتریوم متصل می کنه، تعامل پذیری بسیار بالا و همچنین کارمزد بسیار کمی رو ارائه میده.
• آربیتروم (Arbitrum) : آربیتروم هم یک راه حل لایه دوم اتریوم هستش که در جهت افزایش مقیاس پذیری و همچنین سرعت پردازش قرار داد های هوشمند. این پلتفرم طوری طراحی شده است که به توسعه دهندگان اجازه میده تا به آسانی قرارداد های هوشمند رو در ماشین مجازی اتریوم (EVM) و همچنین تراکنش ها رو روی لایه دوم اجرا کنن ضمن این که از امنیت عالی لایه اول هم بهره مند هستن.
• ولیدیوم (Validium) : ولیدیوم هم مثل رولآپ های زد کی از سند اعتبار استفاده می کنه، اما اطلاعات رو در لایه اول ذخیره نمی کنه. این ویژگی ولیدیوم، مقیاس پذیری رو تا ده هزار تراکنش در ثانیه برای هر زنجیره ولیدیوم فراهم میکنه. به علاوه ولیدیوم این قابلیت رو داره که تراکنش ها رو موازی با هم پردازش کنه و این هم یکی دیگه از دلایل افزایش مقیاس پذیری در ولیدیوم هستش.
Ещё видео!