Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Smart Contracts Programming Tutorial | Solidity Programming Language | Solidity Tutorial | Edureka

4,039 views

Published on

** Ethereum Developer's Certification course: https://www.edureka.co/ethereum-developer-course **
This Edureka's Solidity Tutorial video is intended to guide you through the basics of Ethereum's smart contract language called solidity. Through the course of this video you will go through the following topics:

1. Smart Contract Programming
2. Smart Contract Languages
3. What is Solidity?
4. Solidity Tools
5. Solidity Programming
-structure of a contract
-operators
-data types
-data structure
-functions
-control structure
-exception handling
6. Application of what we learnt

Here is the link to the Blockchain blog series: https://goo.gl/DPoAHR
You can also refer this playlist on Blockchain: https://goo.gl/V5iayd

Published in: Technology
  • Login to see the comments

Smart Contracts Programming Tutorial | Solidity Programming Language | Solidity Tutorial | Edureka

  1. 1. www.edureka.co/blockchain-trainingBlockchain Certification Training Smart Contract Tools Disadvantages of Smart Contracts Advantages of Smart Contracts What is a Smart Contract? Invention of Smart Contracts Key Properties of Smart Contracts Development Languages Deploying a Smart Contract on a Test Network 2 6 4 5 3 1 8 Agenda
  2. 2. www.edureka.co/blockchain-trainingBlockchain Certification Training What to do with a Blockchain? Back in the day, people didn’t really know what to do with the blockchain.
  3. 3. www.edureka.co/blockchain-trainingBlockchain Certification Training What is a Smart Contract? Smart Contracts are executable logic that runs on a blockchain network.
  4. 4. www.edureka.co/blockchain-trainingBlockchain Certification Training Who invented Smart Contracts? The idea of smart contracts date back to papers in the early 1990’s published by Nick Szabo
  5. 5. www.edureka.co/blockchain-trainingBlockchain Certification Training Key Properties of Smart Contracts 01 02 The creator does not have to participate in the process after deploying the contract. Autonomous 03 Contracts are able to collect money, realize transactions, distribute resources, issue and spend funds to allow a larger capacity of storage and computation power. Auto-Sufficient Smart contracts are not focused on one central server but are distributed by various network points so they can be referred to as being decentralized. Decentralized
  6. 6. www.edureka.co/blockchain-trainingBlockchain Certification Training Language of Development Smart Contracts are mostly developed in network specific scripting languages. SolidityViper Ivy-Lang Rust
  7. 7. www.edureka.co/blockchain-trainingBlockchain Certification Training Advantages Of Smart Contracts Data in a decentralized registry cannot be lost or cyber- attacked. Agent neutrality in signing deals. No mistakes can be made due to the absence of hand-filled forms. Automation in signing deals saves time by excludes human participation in transactions. Everything is done by the prescribed code Neutrality Saves Time Secure Precision
  8. 8. www.edureka.co/blockchain-trainingBlockchain Certification Training Disadvantages Of Smart Contracts Every Smart Contract that is deployed is immutable after that. So changes to business logic and general bug fixes become really tough The concept of a decentralized backend is hard to comprehend for inexperienced developers. Smarts Contracts even though an old idea, is a fairly new technology in application. Hence the community is small and people are sceptic Difficult To Understand Maintenance New Technology
  9. 9. www.edureka.co/blockchain-trainingBlockchain Certification Training Smart Contract Tools FrameworkTest Network Online Compiler Wallet A number of tools are necessary for the development of smart contracts
  10. 10. www.edureka.co/blockchain-trainingBlockchain Certification Training Smart Contract Use Cases GAMBLING Smart Contracts ensure that the gambling money is distributed without any error FINANCE Financial contracts generally take days to go through their regulations. With Smart contracts these processes can be easily automated SUPPLY CHAIN A smart contract can keep tabs on “possession” of a product all the way along the line of distribution, solidifying the trust of exactly where to find the package VOTING Smart Contracts can be used to ensure complete transparency for voting procedures INSURANCE POLICIES Smart contracts reduce the administrative costs associated with fulfilling policy procedures and ensures transparency and trust in the process is visible to all stakeholders and all regulatory bodies AUTOMATION OF ORGANISATIONS Smart contracts can be used to automate small scale organisations . These organisations are popularly known as Decentralized Automate Organisations
  11. 11. Now let’s deploy our very own contract on a test network. Requirements - Node.js installed -NPM installed
  12. 12. We’ll be using the following technologies • Web3.js (frame-work) • TestRPC (test network) • Solidity (scripting language) • Remix Browser(compiler)
  13. 13. www.edureka.co/blockchain-trainingBlockchain Certification Training Workflow Start Create our Smart Contract 01 Create a Simple front-end to interact with contract 03 Set up our Test Network 02 Deploy 04

×