Posts

Showing posts from March, 2018

Flutter.io Tutorials - Introduction & Setup

Image
Hello Friends, As Google launched flutter.io  for rapid cross-platform mobile app development. Let's start with some hands-on on it. What is flutter? It is an SDK, which supports cross-platform mobile app development that is same source code an compile and runs on Android and iOS as well. as flutter still in development (current version is 0.1.5),  It does not support 32 bit ARM devices. What differentiate from other cross-platform frameworks? Native OEM Native OEM is nothing but our native application framework like we write an android app in Java and iOS/iPhone apps in Objective-C. Native app creates widgets to communicate between widgets and platform services.   WebViews Initially, cross-platform app development is done using Javascript and WebViews like PhoneGap, jQuery Mobile, ionic etc. As you know (I hope) before Apple releases their iOS SDK they asked devs to use web apps to develop their app....

Hello World in Solidity Programming

Image
Hello Friends, After the completion of our installation  lets start with creating Hello World  program in Solidity. To start solidity we need to run first truffle command to initialize our basic app structure. $ truffle init This will create our basic app structure. I am using Visual Studio Code as IDE, you can use any IDE. Now let's go through the folder structure. contracts : contracts is the main folder where we will write our all contracts. migrations : migration is used to configure migration and deployment. test : test is folder used to write test cases for our smart contracts truffle-config.js: if you want to customize your truffle configuration then you can edit this file. truffle.js : its also used to configure truffle for development or production etc. Create the first file in contracts folder with name  HelloWorld.sol file Write down following code  : pragma solidity ^ 0 . 4 . 13 ; contra...

Introduction to Solidity a Smart Contracts

Image
Hello JS Rockstars, Source: Wikipedia As I am curious about blockchain and cryptocurrency. I want to get more details about cryptocurrency and technology stack behind this whole blockchain. So from my colleague, I got to know about Solidity so I want to get some hands-on on it. So I went through some sites and created my some sample contracts, as I already mentioned in my Introduction to blogspot post I am sharing my knowledge here only, I am not covering what is blockchain and cryptocurrancy as this are already covered by many sites, So I will start directly blockchain development and ethereum based smart contracts only with Solidity. What is Solidity : From Official Document, Solidity is a contract-oriented, high-level language for implementing smart contracts. It was influenced by C++, Python, and JavaScript and is designed to target the Ethereum Virtual Machine (EVM). Solidity is statically typed, supports inheritance, libraries and comp...