substrate

How Substrate Frame v2 different from Frame v1

Reading Time: 3 minutes Blockchain is a specific type of database. It differs from a typical database in the way it stores information. Blockchains store data in blocks that are then chained together. Blockchain has changed how we perceive problems. It has brought tons of benefits. Blockchain technology solves key issues like trust in a network. Blockchain technology utilizes advanced security compared to other platforms or record-keeping systems. By using Continue Reading

Working on Substrate? Must know about Runtime APIs.

Reading Time: 3 minutes Hello Readers!! In this blog we will see what is a Runtime API and how we can create and use it. Each Substrate node contains a runtime. The runtime contains the business logic of the chain. It defines what transactions are valid and invalid and determines how the chain’s state changes in response to transactions. To use runtime upgrades, the runtime is compiled to Wasm. Continue Reading

Substrate’s Smart Contracts vs. Runtime Development

Reading Time: 3 minutes This article gives a brief overview of the different ways to implement smart contracts for Substrate-based blockchains. It also aims to provide insight on reasons for choosing smart contract development over runtime development for your on-chain logic and business development. Substrate provides two smart contract virtual machines which can be added to your runtime. Each come with additional tools to ease development depending on your Continue Reading

Substrate – A Blockchain Framework on Rust

Reading Time: 3 minutes Substrate is a modular framework that enables you to create purpose-built blockchains by composing custom or pre-built components. It is powered by best-in-class cryptographic research and comes with peer-to-peer networking, consensus mechanisms, and much more. Because of the ease and good results, It is attracting more business towards itself. It is reliable, it is secure and fast at the same time. We will get to Continue Reading

Create runtime API of Substrate based 2D barcode scanner Pallet for Querying

Reading Time: 2 minutes In my previous post Integrate Substrate based 2D barcode scanner Pallet in your Substrate Runtime, I explained how to integrate Substrate pallet in your runtime.  Substrate runtime is its State Transition Function, which contains business logic of a Blockchain that determines how the state changes when a block is processed and defines its behaviour of the Blockchain. Substrate runtime can be accessed to outer node though an API, Continue Reading

Integrate Substrate based 2D barcode scanner Pallet in your Substrate Runtime

Reading Time: 2 minutes In my previous post Substrate based 2D barcode scanner Pallet in Rust, I explained how to create Substrate pallet easily. A pallet, Also known as Runtime modules, contains the logic, which can modify the features and functionality of your blockchain’s state-transition function. A typical Substrate project consists of 4 components: NodeRuntimePalletsExecute in Docker The runtime is Substrate’s state transition function and is divided into separate Continue Reading

Substrate based 2D barcode scanner Pallet in Rust

Reading Time: 2 minutes As we know, Rust is one of the best programming languages for blockchain due to its highly-capable mechanism of handling mutable states. The fast, memory safe, and exclusively concurrent nature of this blockchain coding language makes it most suitable for developing real-world blockchains. I was looking for a Rust based blockchain framework and I found Substrate, which is developed by Parity technology and built in Continue Reading

Interact with Substrate Nodes using Light Clients in Rust

Reading Time: 3 minutes Humankind is standing on the brink of another industrial revolution. Few technologies which are going to play a vital role in this are IoT, Artificial Intelligence, Blockchain and some more. This blog contemplates more on Blockchain based framework i.e. Substrate. So let’s get started. In the last 2-3 years, Rust emerged as one of the best languages for Blockchain development as Rust gives Low-Level detail Continue Reading