Giter VIP home page Giter VIP logo

solidity-101's Introduction

Solidity-101

Introduction

Welcome! This is an automated workshop that will on using Solidity Smart contracts. It is aimed at developers who are not familiar with Solidity, or smart contracts.

How to work on this TD

Introduction

The workshop has two components:

  • An ERC20 token, ticker TD-SOL-101, that is used to keep track of points
  • A set of 12 exercises that are able to mint and distribute TD-SOL-101 points

Your objective is to gather as many TD-SOL-101 points as possible. Please note :

  • You will need testnet Ether to do this workshop. Lookup "Goerli testnet faucet" on google.
  • The 'transfer' function of TD-SOL-101 has been disabled to encourage you to finish the TD with only one address

Getting to work

  • The instructions for each exercice are included in the contracts of each exercice, in contracts/exercices.
  • Each exercice contract inherits from the exerciceTemplate, which holds common functions to validate students and credit points
  • Each exercice is deployed on the Goerli testnet. You can interact with them through MyCrypto, using the contract ABIs in this folder, or through etherscan.
  • In order to receive points, you will have to call function that execute code in each smart contract, such that the function creditStudent(n, msg.sender); is triggered, and distributes n points.
  • A low level description of what is expected can be inferred by reading the code in each exercice.

Exercises addresses

Topic Contract code Contract on Etherscan
Points counter ERC20 Points counter ERC20 Link
Calling a function Ex01 Link
Payable function Ex02 Link
Requires Ex03 Link
Storage variables Ex04 Link
Mappings Ex05 Link
Variable visibility Ex06 Link
Events Ex07 Link
Structures Ex08 Link
Code history Ex09 Link
Past transactions Ex10 Link
Composability Ex11 Link
Blockchain forensics Ex12 Undisclosed
Deploy your contract to validate exercices Ex14 Link
All in one! Ex15 Link

solidity-101's People

Contributors

l-henri 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.