substrate

Carpooling Chain – Cab Booking made better

Reading Time: 3 minutes About Carpooling Chain is a decentralized blockchain solution built with the objective of eliminating the need for a central authority to book cabs. The blockchain backend for Carpooling chain is build using Substrate. Substrate is a next-generation framework for blockchain innovation. It comes with everything you need to build your blockchain.  Substrate is a completely free and open-source project. It is built using Rust and WebAssembly. Rust is designed for Continue Reading

Submit Extrinsic from Custom Pallets using Polkadot Js API

Reading Time: 3 minutes Substrate is a next-generation framework for blockchain innovation. It comes with everything you need to build your blockchain. Substrate is a completely free and open-source project. It is built using Rust and WebAssembly. Rust is designed for creating fast and inherently safe software. Substrate is like a template from which you can make your own application-specific blockchain to add custom functionalities specific to one use case or group of Continue Reading

Polkadot.js API for blockchain development (Part 2)

Reading Time: 3 minutes Hello Readers!! In the previous blog, we read about what is Polkadot.js and how to install it, So now we will see how we can use it by creating its instance. So Lets start! We have the API installed. We have an understanding of what will actually exposed. And how the API knows what to expose. So let’s create an actual API instance, Providers Focusing Continue Reading

Polkadot.js API for blockchain development

Reading Time: 3 minutes The API provides application developers the ability to query a node and interact with the Polkadot or Substrate chains using Javascript. Hello Readers, today we will see what is a polkadot.js API. These sections should provide you with all the information needed to install the @polkadot/api package, understand the structure of the interfaces and allow you to start using it. For existing users this really should be Continue Reading

RPC to call a Runtime API easily in Substrate

Reading Time: 4 minutes RPC or Remote Procedural Call in Substrate is a way to interact with a Substrate node. They can be used for checking storage values, submitting transactions or querying the current consensus authorities. Substrate is a next-generation framework for blockchain innovation. It comes with everything you need to build your blockchain. Substrate is a completely free and open-source project. It is built using Rust and WebAssembly. Rust Continue Reading

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

Pallets in Substrate and using them in runtime.

Reading Time: 3 minutes Pallets are an interesting part of blockchain development using the substrate. If you heard about pallets but did not know what these exactly are and how to use them, then you are at the right place. Let’s explore pallets and learn how to include them in runtime.

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