Author: Abdulbee
Abdulbasit Sadiq (Abdulbee) is a Junior rust/substrate developer, a blockchain educator, and a big-time Polkadot Fan. He has been in the Blockchain space since 2017 and has since helped educate and onboard over 1000 individuals into the blockchain space. He spends most of his time helping out in the DotSama communities, building, and learning new stuff.
This article was originally posted by me on November 30, 2021, at thiscoindaily Hello guys, in this part of the series, I’ll be introducing a rust technique that’s widely used in Substrate – generics. If you haven’t, check out the first part of this series where I took a deep dive into rust/substrate macros. Generics are quite regularly used in Substrate. Throughout the development process, there’ll be a lot of occasions where you’ll need to use substrate generics that exhibit certain traits. Therefore, understanding how generics work will help you in understanding what’s going on with your code, as well as make it easier…
This article was originally posted by me on November 28, 2021 at thiscoindaily This is the first part of a series where I take a deep dive into some rust techniques that you’ll need to understand in order to write a more elegant and hassle-free substrate code. I’ve received numerous messages from aspiring (and new) substrate developers who are often confused with rust and how its logic is structured in substrate. This confusion comes mainly from developers who haven’t worked with a low-level programming language like C/C++ or who haven’t worked with any programming language at all. Well, freight not! In this…
This article was originally posted by me on November 19, 2021, at thiscoindaily In this article, I’ll be introducing you to ink!, a rust-based embedded domain-specific language (eDSL) created by parity tech for writing smart contracts that run on substrate-based chains. Writing smart contracts parachains the polkadot and Kusama relay chains don’t permit smart contracts to be written on them. This is a deliberate step to help keep the relay chain as light-weight and specific as possible. However, parachains (and parathreads) connected to the relay chain can run smart contracts if smart contract functionality is implemented on them. Currently, there are two main ways in which…
This article was originally published by me in thiscoindaily Hello guys. In this tutorial, I’ll be taking a deep dive into the FRAME pallets, how all the parts work together as well as good practices for building and using your pallets in the runtime This tutorial will equip you with a strong grasp of how pallets work, how to write your own custom pallets as well as how to utilize features from FRAME core pallets and other existing pallets for your projects. I’ve also created a pallet map which is located in the last section of this guide and is also available…
This article was originally posted by me on November 12, 2021 at thiscoindaily Learning substrate could seem daunting at first, especially for those who are new to blockchain development. Even seasoned solidity developers are overwhelmed by the diverse possibilities substrate has to offer. But it needn’t be that way. If you follow a systematic path to understanding (and building with) substrate, you’ll quickly realize that it’s the best investment you could make in your career as a blockchain developer! This article will guide you through an effective way to explore substrate. This is exactly what I did when I started out with substrate (with…
There are multiple ways to build projects that share the security and interoperability features of the Polkadot relay chain. However, developers may sometimes run into a dilemma as to which path to take in implementing their ideas. To benefit (directly or indirectly) from the Polkadot relay chain, there are three ways in which projects can be implemented. This could be via; Parachains,Parathreads,Or smart contracts Each of these paths has use cases for which they are more suitable, and those for which they are not. In this article, I’ll explore each of these paths and talk about which may be better…