GithubHelp home page GithubHelp logo

technicaltraining's Introduction

TechnicalTraining

Material and Excercises for the Blockchain Technical Training

Information

Online IDE for Ethereum:

http://remix.ethereum.org

Ip-Address of the AWS Instance (Node):

Ethereum Address of the Smart Contract:

Solidity Documentation

https://solidity.readthedocs.io/en/v0.5.2/

Tasks Voting Contract

Task 1

Currently only the name and the current number of votes are displayed in the Proposal object. In order to create more transparency, the Ethereum address of the creator should also be added. Implement this requirement in the existing contract.

Task 2

An attacker is trying to manipulate the election and has stolen a private key to gain access to another Ethereum address. The voter knows the compromised address and wants to exclude it from the vote. Empower the creator of the contract to deny certain addresses the right to participate in the vote.

Task 3

Not everyone wants to take part in the vote themselves, but they do not want to waste their vote. Add the possibility to give other Ethereum addresses the right to vote for one's own person.

Tasks ERC20 Contract

Task 1

Modify the details of the Token (e.g. name of token) and deploy your own ERC20 Token to the private blockchain. Send an arbitrary amount/number of token to another account and check the balance afterwards.

Task 2

Similar to Task 3 of the previous exercise the ERC20 Token interface includes functions to transfer funds on account of somebody else. You can see that there are three functions in the code without content.

Complete the three empty passages to:

  • delegate own coins to somebody else
  • spend coins of somebody else
  • return the actual value one address delegated to another one

technicaltraining's People

Contributors

lspilker avatar

Watchers

James Cloos 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.