
عنوان:
Rust For Blockchain Application Development Edition: 1
نویسنده:
Akhil Sharma
انتشارات:
Packt Publishing Pvt Ltd
تاریخ انتشار:
2024
حجم:
3.8MB
معرفی کتاب:" Rust برای توسعهی اپلیکیشنهای بلاکچین – ویرایش اول "
پیش از ظهور Rust، توسعهدهندگان بلاکچین زبان برنامهنویسی سیستمیای در اختیار نداشتند که هم ایمن از نظر نوع دادهها (type-safe) باشد، هم سرعت بالا داشته باشد، و در عین حال مدیریت حافظهای پایدار و آسان را فراهم کند. Rust بهعنوان یک موهبت برای توسعهدهندگان ظاهر شد و بهعنوان راهحلی ایدهآل نهتنها برای توسعه بلاکچین و پروتکلها، بلکه برای توسعه اپلیکیشنهای غیرمتمرکز (dApp) نیز شناخته شد.
این کتاب بر ارائه راهحلهایی تمرکز دارد که به توسعهدهندگان بلاکچین کمک میکند تا dAppهای خود را با زبان Rust به مرحلهی تولید برسانند — زبانی که قدرتمند ولی با منحنی یادگیری نسبتاً تندی همراه است.
کتاب با مفاهیم پایهای زبان Rust آغاز میشود و بهتدریج بر آنها بنا مینهد تا شما بتوانید بلاکچینی اختصاصی را از صفر طراحی و توسعه دهید. در ادامه، نحوه ساخت dAppها روی زنجیرههایی مانند Solana و NEAR را فرا خواهید گرفت. همچنین با ایجاد dAppهایی برای اتریوم با استفاده از Foundry (مبتنی بر Rust) آشنا خواهید شد. در پایان، یک بلاکچین اختصاصی با استفاده از Substrate توسعه میدهید که توسط Parity برای شبکه Polkadot ساخته شده است.
این کتاب دیدی کامل و جامع (۳۶۰ درجه) از نقش Rust در اکوسیستم بلاکچین ارائه میدهد و در پایان کتاب، درک کاملی از کاربرد Rust در ساخت dAppها و بلاکچینها از پایه خواهید داشت.
فهرست مطالب
- Rust for Blockchain Application Development
- Contributors
- About the author
- About the reviewers
- Preface
- Part 1: Blockchains and Rust
- Chapter 1: Blockchains with Rust
- Laying the foundation with the building blocks of blockchains
- Exploring the backbone of blockchains
- Understanding decentralization
- Scaling the blockchain
- Introducing smart contracts
- The future of the adoption of blockchains
- Summary
- Chapter 2: Rust – Necessary Concepts for Building Blockchains
- Introducing Rust
- Rust’s advantage for blockchains
- Learning basic Rust concepts
- Exploring intermediate Rust concepts
- Delving deep into advanced Rust concepts
- Summary
- Part 2: Building the Blockchain
- Chapter 3: Building a Custom Blockchain
- Technical requirements
- Planning our first blockchain project
- Getting started with building the blockchain
- Creating the genesis block
- Using helper functions
- Summary
- Chapter 4: Adding More Features to Our Custom Blockchain
- Technical requirements
- Connecting the blocks
- Starting the node server
- Summary
- Chapter 5: Finishing Up Our Custom Blockchain
- Technical requirements
- Adding memory pools
- Implementing transactions
- Utilizing UTXOs and developing wallets
- Setting up configurations and utilities
- Understanding the Main.rs file
- Using your custom blockchain
- Summary
- Part 3: Building Apps
- Chapter 6: Using Foundry to Build on Ethereum
- Introducing Ethereum and Foundry
- Exploring Foundry
- Understanding Foundry with Cast, Anvil, and Chisel
- Testing and deployment
- A project using Foundry
- Summary
- Chapter 7: Exploring Solana by Building a dApp
- Introducing dApps
- Setting up the environment for Solana
- Working with Solana frameworks and tools
- Building and deploying a dApp
- Creating accounts for our custom dApp
- Creating our first instruction
- Implementing logic
- Creating tests for our instructions
- Summary
- Chapter 8: Exploring NEAR by Building a dApp
- Technical requirements
- Introducing NEAR
- Learning about the advanced concepts of NEAR
- Getting started with the NEAR blockchain
- Creating our first project with NEAR
- Summary
- Part 4: Polkadot and Substrate
- Chapter 9: Exploring Polkadot, Kusama, and Substrate
- Introducing Polkadot
- Understanding the core concepts of Polkadot
- Learning about Kusama
- Introducing Substrate
- Diving deep into Substrate
- Summary
- Chapter 10: Hands-On with Substrate
- Technical requirements
- Building our own blockchain
- Simulating a network
- Summary
- Part 5: The Future of Blockchains
- Chapter 11: Future of Rust for Blockchains
- What the future looks like for Rust blockchains
- Upcoming Rust Web3 projects
- The Rust community
- Jobs in the Web3 space
- Going beyond this book
- Summary
- Index
- Other Books You May Enjoy
مشخصات
نام کتاب
Rust For Blockchain Application Development Edition: 1
نویسنده
Akhil Sharma
انتشارات
Packt Publishing Pvt Ltd
تاریخ انتشار
2024
ISBN
9781837634644
چاپ
اول
تعداد صفحات
397
زبان
انگلیسی
فرمت
حجم
3.8MB
موضوع
BlockChain