Beginners Guide to Solidity Development 1 ● Introduction to Ethereum, Smart Contracts and Solidity


The token or explains a beginner’s guide to developing smart contracts using the solidity programming language on top of the ethereum blockchain platform In this first episode, I will introduce aetherium and the concepts smart contracts and solidity to you First some background info about this guide this guide will be a practical guide to quickly develop your own smart contracts as such we will not go into a lot of theoretical background about the etherium There’s a lot of interesting stuff there and we highly recommend that you check it out within this guide You will only give you some overview information Just enough to easily get you started and understanding how you can interact with it It really helps if you already have some prior knowledge if you want to use this guide maybe you’ve already use a different programming language before and Also, we will be using a terminal command line interface in some of the later episodes So if you know your way around on the command line, it also really helps to understand what’s going on alright let’s start with a little bit of background information and History of how if you came to be because this really helps to understand how you can use it in 2008, Satoshi Nakamoto published a white paper and academic paper about Bitcoin and Bitcoin was the first System for software system that allowed to perform payments in a decentralized way digitally and was able to do so by using a technology it introduced called blockchain and A blockchain can be understood as a data store stored in many different locations Containing all transactions that have taken place so far in the system And now for Bitcoin these transactions were only monetary transactions So how much money one person paid another person but it didn’t take very long before people realized that you could also store other types of information in there In 2013 Vitalik butrint published an academic paper about the etherium and the theorem improved on the other day of the Bitcoin by altering the blockchain so that it could store arbitrary information and Including programmer programming code so you could run programs on top of the blockchain system Now bittern realize that you could use this to create decentralized computer programs both financial nature’s Mouse computer games and Also to create voting applications to allow you to manage organizations in a decentralized or autonomous way And he also realized that you could create value representations of many different kinds and in this way transfer value or Ownership of all kind all kinds of things on the system without any centralized oversight Now this system is known as a blockchain network that executes smart contracts That is what etherium at its core is of Course what exactly do these two terms mean? Well, that is what I’m now going to explain next a blockchain network is a group of notes that are able to talk to each other over the Internet and the note is a piece of software that Anyone who wants to join can run on their own computer? Now this network as a whole is used to store information. And of course also transfer information from one place to another and every one of these nodes of the software Instances manages a complete copy of the blockchain. So every node knows everything that has happened so far and this is important because this is the property that allows every node to validate what someone tries to Do or executes and check if there’s indeed allowed and this is what allows the system to Be run without any centralized oversight Now on top of this box a network on Aetherium were able to execute what is known as smart contracts and they can be understood as pieces of programmer code or program code That lives on top of the ethereum blockchain Now a smart contract basically consists of parts it might contain a couple of data fields, which are basically containers that might contain A little bit of information and what exactly? what type or what value is stored in there might actually change while time goes on and The smart contact might also contain a couple of functions that read the values that are currently stored in the data fields or alter What value is stored in there? Now it’s important to note that a smart contract once published in the blockchain Can never be altered anymore while you are able to change what value is stored inside the data fields? You are only allowed to do this using the functions that the current computer code Provides and the actual code itself can never be altered any more this means that if you’ve made a mistake in your code there’s no way to fix this later on and This is why smart contract development is very very difficult to do properly But also why it is an extremely exciting subject Now when you’ve published a smart contract you can interact with it by communicating with it through your local running node software Of course, you can also communicate with a node that runs on someone else’s computer But in this case you have to completely trust that that computer gives you valid information at all times Now a smart contract itself is very rudimentary in the types of values It is able to store and the type of information it gives you back and also it is rather slow You often have to wait a long time before and with a long time I mean a couple of seconds up to a couple of minutes before you receive confirmation of of some change you’ve made and This means that to actually create a program that’s interesting to the user You require to write some front and software as well Nowadays, there are some very interesting technologies and we will go into more detail about this in some later episode that allow you to create Such a front-end program which is often known also as a decentralized application and store these in a way that is decentralized All right When we write smart contract then this is usually done using a solidity programming language and Solidity is usually stored as a text file with a dot sol extension Its syntax is very similar to the syntax of JavaScript but rather than being dynamically x javascript is it is it is strongly typed and what that means exactly is something we will explore in One or two episodes down the line Now sometimes what solidity does and doesn’t do for you or does support it does not support can be Quite counterintuitive or tricky to understand and I will try to point these things out to you because there are some some mistakes be made there and Most of these things happen because solidity doesn’t run on a normal computer, but rather it runs on top of a blockchain system Now, I’ll try to point this out whenever we encounter them. Of course That was it for this episode Leaves a comment like subscribe and during the notification bell to know whenever new episodes appear the token er explains is a collaboration between the token err and resilient arrested in the latest cryptocurrency related information and news go to the token or comm and If you’re building your own blocks I rated the product and have some questions or would like some help reach out to us at the resilient

Leave a Reply

Your email address will not be published. Required fields are marked *