Workshops on the development of smart contracts for Solidity


    We offer you a video of a series of workshops on smart contracts in Ethereum. Our goal is to show companies and ordinary people how to use smart contracts, what benefits they can give in various areas of activity. We want them to firmly enter everyday life, become clear and close to everyone. And we believe that in the future, the vast majority of paper contracts and other interactions in society will be replaced by smart contracts.


    Today our main task is to create a community of programmers and inspire them to use smart contracts. That is why we conduct our regular workshops.


    List:


    1. Smart contracts: introduction.
    2. ICO and ERC20 token.
    3. Create a smart contract designer on the Smartz platform.
    4. Technical lecture on Solidity.
    5. Smart contracts: subtleties of development.
    6. The solc compiler, smart contract file structure, data types and data structures in Solidity.
    7. Solidity: reference types.
    8. We are developing a prototype of a decentralized multi-blockchain exchange.

    1. Smart contracts: introduction


    At the beginning of Smartz CEO, Yury Vasilchikov, he explained what the Smartz platform is, what its mission is and for whom it is being created. Then CTO Smartz, Aleksey Makeev, explained the essence and principle of the operation of smart contracts, told what to do with them. Alexey popularly explained how the blockchain works, what he can do and what he doesn’t, described the device of the blockchain network. You will learn what transactions in the blockchain network are, what types of memory there are, what gas is and what it is for.


    Then Alex touched upon the topic of the programming language Solidity, all of our workshops on smart contracts for Ethereum will be using it. The approach to the development of smart contracts, the use of a test blockchain network are briefly described. Then comes the question-answer section, during which various aspects related to the blockchain and smart contracts are popularly explained.


    Then the practical part of the workshop begins: a detailed procedure for creating the simplest smart contract and writing a test for it, with explanations and comments. And at the end of the question and answer section on the results of the practical part.


    https://www.youtube.com/watch?v=drv1HznRdVQ


    2. ICO and ERC20 token


    Vladimir Khramov first talks about token standards, and then creates a token contract and ICO contract live.


    https://www.youtube.com/watch?v=MJyVjIgqJ_8


    3. Create a smart contract designer on the Smartz platform.


    Alexey Makeev told how to create your own smart contract designer on the https://smartz.io/ platform . Key issues:


    • Interaction scheme with the designer with the browser and backend.
    • Overview of the SDK.
    • JSON schema.
    • Examples: constructor parameters multisig, UI-scheme multisig, post_construct.
    • The structure and operation of transactions.
    • Work with gas.
    • Creating a contract in the constructor.
    • Data storage in blockchain and smart contract: storage, computer memory, stack.
    • Calculate and represent numbers in a Solidity virtual machine.

    https://www.youtube.com/watch?v=MHr-Kwgkw2s


    4. Technical lecture on Solidity


    Moderators: Vladimir Khramov (lead developer) and Sergey Prilutsky (head of research department). The workshop consists of two parts:


    1. Detailed description of the deployment of the token contract in the test network.
    2. Work with smart contracts:
      • how the code of one smart contract is called in another smart contract;
      • events in smart contracts, their logging and response to them;
      • the creation and destruction of a smart contract.

    https://www.youtube.com/watch?v=xprm_k2CTyQ


    5. Smart contracts: development details


    Alexey Makeev and Vladimir Khramov talk about the use of the Solidity compiler, the structure of files, the types and data structures existing in Solidity. All this is described on the example of the gradual improvement of the smart contract “Voting”.


    https://www.youtube.com/watch?v=B1NjhSM136I


    6. Solc compiler, smart contract file structure, types and data structures in Solidity


    Aleksey Makeev, using the example of the same smart contract “Voting”, considers:


    • Key features of the solc compiler: mapping of paths, mapping bytecode to source code, generating contract metadata, estimating maximum gas usage, JSON interface.
    • Ethereum smart contract file structure: storage variables, function modifiers, events, type declarations, functions.
    • Solidity data types and structures (base types): boolean type, integers, literals, address, fixed-size byte-arrays, enumerations, links to functions, conversions (explicit and implicit).

    https://www.youtube.com/watch?v=q1ePcZzIYBw


    7. Solidity: reference types


    Using the Smart Voting contract as an example, reference types are considered in the Solidity programming language:


    • arrays: composition, bytes, strings;
    • structures;
    • mappings;
    • location of reference types in memory: Storage, Memory, Calldata;
    • delete operator.

    https://www.youtube.com/watch?v=qc9pFDNffXs


    8. Developing a prototype of a decentralized multi-blockchain exchange.


    And we are completing the workshop, which examines the development of a prototype of a decentralized Multi-blockchain exchange on Ethereum:


    • We describe the mechanism of atomic exchange between two blockchains.
    • Create a smart contract in the Ethereum blockchain for the decentralized exchange engine.
    • We create an interface for the engine on the platform https://smartz.io .
    • We check the work of the exchange (for example, we exchange the air from rinkeby for air from kovan).

    https://www.youtube.com/watch?v=uIsr-_lvC4I


    All our videos you can find on youtube-channel Smartz . Subscribe not to miss the nearest workshop!


    Also popular now: