[ SECTION / TUTORIALS ]
Tutorials
54 POSTS01
//
TUTORIALS / 2025.11.06 / 5 MIN
Rust GPU Safety 101: Get Rolling with WGPU, Naga, and Rust-GPU
Understand the Rust GPU ecosystem from scratch with plain-language analogies and runnable examples that make WGPU, Naga, and Rust-GPU approachable for newcomers.
↗
02
TUTORIALS / 2025.11.05 / 10 MIN
Rust Smart Contracts #6: Storage Patterns in ink! You Can Actually Maintain
Stop dumping everything into one big storage struct. Learn the core storage patterns in ink!—single values, mappings, many-to-many relations, and lazy configs—so your …
↗
03
//
TUTORIALS / 2025.11.05 / 7 MIN
ink! Smart Contract Access Control: from only_owner to Role Permissions #5
Use a kitchen‑door analogy to explain env().caller(), only_owner checks, Result‑based errors, and role mappings in ink!, with minimal runnable examples so beginners can …
↗
04
//
TUTORIALS / 2025.11.05 / 8 MIN
2025 Rust Design Patterns Speedrun: Ten Snippets You Can Ship Today
Master ten Rust design patterns with beginner-friendly explanations, runnable code, and SEO-ready takeaways so your next project stays safe, modular, and easy to extend.
↗
05
TUTORIALS / 2025.11.02 / 4 MIN
Test ink! Contracts the Practical Way: Unit tests and a tiny e2e for beginners #4
Minimal runnable examples to test Rust + ink!: from #[ink::test] off-chain unit tests to a small e2e. Includes setup, full code, typical pitfalls, and fixes.
↗
06
TUTORIALS / 2025.11.01 / 4 MIN
Stop Panicking on Failure: Production‑Ready ink! Events & Error Handling
Beginner‑friendly, production‑oriented ink! walkthrough: emit events for observability, return typed errors instead of panics, and ship with a minimal runnable example …
↗
07
TUTORIALS / 2025.10.30 / 12 MIN
Rust Macros 2.0 Starter Guide: Build Code Like Lego
A panoramic Rust Macros 2.0 guide: unify macro namespaces, master the TokenStream pipeline and macro hygiene, and migrate from macro 1.0 to macro 2.0 metaprogramming with …
↗
08
//
TUTORIALS / 2025.10.28 / 5 MIN
Rust Smart Contract Lab: Your First ink! Counter
Hands-on guide for building, testing, and deploying an ink! counter contract with Rust nightly tooling, message handlers, and real-world gotchas.
↗
09
//
TUTORIALS / 2025.10.28 / 4 MIN
Rust Smart Contract Onboarding: Ship the ink! Counter
Beginner-friendly walkthrough for rust-based smart contracts on Polkadot, covering environment setup, the tiniest ink! counter, and deployment checks.
↗
10
//
TUTORIALS / 2025.10.24 / 2 MIN
OpenSpec Installation and Project Initialization Guide
How to install and run OpenSpec for this repository and your team: npx (no install), global install, binary/internal distribution, and quick validation steps.
↗
TUTORIALS / 2025.11.05 / 10 MIN
Rust Smart Contracts #6: Storage Patterns in ink! You Can Actually Maintain
Stop dumping everything into one big storage struct. Learn the core storage patterns in ink!—single values, mappings, many-to-many relations, and lazy configs—so your …
↗
03
//
TUTORIALS / 2025.11.05 / 7 MIN
ink! Smart Contract Access Control: from only_owner to Role Permissions #5
Use a kitchen‑door analogy to explain env().caller(), only_owner checks, Result‑based errors, and role mappings in ink!, with minimal runnable examples so beginners can …
↗
04
//
TUTORIALS / 2025.11.05 / 8 MIN
2025 Rust Design Patterns Speedrun: Ten Snippets You Can Ship Today
Master ten Rust design patterns with beginner-friendly explanations, runnable code, and SEO-ready takeaways so your next project stays safe, modular, and easy to extend.
↗
05
TUTORIALS / 2025.11.02 / 4 MIN
Test ink! Contracts the Practical Way: Unit tests and a tiny e2e for beginners #4
Minimal runnable examples to test Rust + ink!: from #[ink::test] off-chain unit tests to a small e2e. Includes setup, full code, typical pitfalls, and fixes.
↗
06
TUTORIALS / 2025.11.01 / 4 MIN
Stop Panicking on Failure: Production‑Ready ink! Events & Error Handling
Beginner‑friendly, production‑oriented ink! walkthrough: emit events for observability, return typed errors instead of panics, and ship with a minimal runnable example …
↗
07
TUTORIALS / 2025.10.30 / 12 MIN
Rust Macros 2.0 Starter Guide: Build Code Like Lego
A panoramic Rust Macros 2.0 guide: unify macro namespaces, master the TokenStream pipeline and macro hygiene, and migrate from macro 1.0 to macro 2.0 metaprogramming with …
↗
08
//
TUTORIALS / 2025.10.28 / 5 MIN
Rust Smart Contract Lab: Your First ink! Counter
Hands-on guide for building, testing, and deploying an ink! counter contract with Rust nightly tooling, message handlers, and real-world gotchas.
↗
09
//
TUTORIALS / 2025.10.28 / 4 MIN
Rust Smart Contract Onboarding: Ship the ink! Counter
Beginner-friendly walkthrough for rust-based smart contracts on Polkadot, covering environment setup, the tiniest ink! counter, and deployment checks.
↗
10
//
TUTORIALS / 2025.10.24 / 2 MIN
OpenSpec Installation and Project Initialization Guide
How to install and run OpenSpec for this repository and your team: npx (no install), global install, binary/internal distribution, and quick validation steps.
↗