Giter Club home page Giter Club logo

blockchain-north-east-solidity-for-beginners's Introduction

Blockchain-North-East-Solidity-For-Beginners

https://docs.google.com/presentation/d/1tZCOUgVF_1sgipIbyFr8JYp6vIibzg3VZ4SM9p_1tqA/edit?usp=sharing

Things We’ll Cover

  • Things you need to know
  • Dependencies
  • Link to code repository
  • Benefits of Ethereum Smart Contracts
  • Setup Development Environment
  • Building The Smart Contract
  • Building the Interface
  • Summary

Things You Need To Know

  • Basic programming
    • Variables
    • Classes
    • Functions and methods
  • HTML
  • CSS
  • JavaScript
  • IDEs

Dependencies and Tools

Link to Code Repository

https://github.com/Samyoul/Blockchain-North-East-Solidity-For-Beginners

Applications of Ethereum Smart Contracts

Applications

  • Finance
  • Education
  • Recruitment
  • Medicine
  • Gambling

Setting Up the Development Environment

  • Launch Remix
  • Launch Ganache

Building The Smart Contract

  • Define the pragma
  • Create the contract “BlockchainNorthEast”
  • Set variables
    • organisers (mapping(address => bool))
    • attendees (mapping(address => bool))
    • attendeeCount (uint128)
  • Getters
    • getAttendeeCount view
    • isAttendee view
    • isOrganiser view
  • Setters -addAttendee - (as long as they are not in the list) -removedAttendee - (as long as they are in the list) -Modifiers -onlyByAttendee(address _address) -Demonstrate Remix test functionality

Building the Interface

Summary

  • Uses and benefits of Ethereum Smart Contracts
  • Basic Development Tools, Remix and Ganache
  • Building a contract
    • Pragma
    • Variables
    • Getters
    • Setters
    • Modifiers
  • Building a UI
    • Web3.js
    • Connecting to a node
    • Define Ethereum address, contract ABI, contract address
    • Interacting with the contract object with methods

blockchain-north-east-solidity-for-beginners's People

Contributors

samyoul avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.