GithubHelp home page GithubHelp logo

michaelkernaghan / base_solidity_scripts Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11 KB

Solidity Scripts Deployed to Base Sepolia and passing Base tests: https://docs.base.org/base-camp/docs/introduction-to-solidity/introduction-to-solidity-overview

Solidity 100.00%

base_solidity_scripts's Introduction

Base Solidity Scripts for Web3 Course

Welcome to base_solidity_scripts, a foundational repository created as part of an intensive course designed to bridge the gap between web2 and web3 development for experienced programmers. This collection of Solidity scripts is specifically crafted to accompany a curriculum that emphasizes the similarities and differences between web3 and traditional web development environments.

Course Overview

The course is meticulously designed to teach web3 concepts and the Solidity programming language to web2 developers rapidly and thoroughly. It dives deep into the unique aspects of web3 development, comparing and contrasting it with familiar web2 paradigms.

Prerequisites

Before embarking on this course, participants should:

  • Have several years of programming experience, preferably in an object-oriented language.
  • Understand the basics of the Ethereum blockchain and the Ethereum Virtual Machine (EVM).
  • Be comfortable with at least one curly-bracket programming language (e.g., JavaScript, C++, Java).

Objectives

By the end of this module, you will:

  • Gain an introduction to Solidity and understand its necessity for writing smart contracts.
  • Learn about the evolution, strengths, and weaknesses of Solidity.
  • Deploy and test smart contracts using the Remix IDE.
  • Understand and implement basic and advanced functions, including pure and view functions.
  • Explore data storage, control structures, arrays, mappings, and structs within the context of Solidity.
  • Delve into advanced topics like contract inheritance, imports, error handling, and the new keyword for creating contracts.
  • Deploy contracts to a testnet and interact with them on platforms like Etherscan.

Scripts Included

The repository includes scripts that demonstrate fundamental and advanced Solidity concepts aligned with the course's curriculum, such as:

  • FavoriteRecords: Manages a collection of favorite records, introducing mappings, custom errors, and array manipulation.
  • BasicMath: Demonstrates safe mathematical operations with checks for overflow and underflow.
  • ArraysExercise: Explores operations on dynamic arrays, including appending, filtering, and resetting.
  • ControlStructures: Introduces control structures in Solidity with a classic FizzBuzz implementation and custom error handling based on time conditions. = EmployeeStorage: Covers storage optimization and data types in Solidity, including using custom errors for validating conditions.

Getting Started with Remix IDE

Remix is the recommended IDE for this course due to its accessibility and ease of use for compiling, deploying, and interacting with Solidity contracts.

Contribution

Contributions to enhance or extend the functionality of these scripts are welcome. They provide an excellent opportunity for learners to engage with the course material actively.

License

This project is licensed under the MIT License. For more details, see the LICENSE file.

Thank you for embarking on this journey to master Solidity and the exciting world of web3 development with us!

base_solidity_scripts's People

Contributors

michaelkernaghan avatar

Watchers

 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.