Intermediate Python and Vyper

Intermediate

Intermediate Python and Vyper

Learn intermediated Python smart contract development using Vyper and level up your skills as a smart contract developer. This course will teach you how to test your Python based Vyper smart contracts, how to deploy contracts on ZKsync using Moccasin, the first web3 development framework to natively support ZKsync ERA, and launch your first cryptocurrency!


1. Intro
A comprehensive introduction to the Mocassin framework - The lesson covers the basics of Mocassin, a Python-based smart contract development framework. It dives into the benefits of Mocassin, showcasing its automated capabilities for seamless development and testing. Duration: 5min
2. Google Collab
A crash course in Python using Google Colab. This lesson covers the basics of Python coding in Google Colab, which allows you to code online in your browser without any installations. You'll also learn how to set up Python on your local machine, covering both Mac/Linux and Windows environments. Duration: 3min
3. Setup
A practical guide to using Google Colab for Python, focusing on Jupyter notebooks. The lesson covers creating and running Python code snippets in Colab and highlights its versatility as a tool for beginners. Duration: 2min
4. Notebook
A practical introduction to working with cells in Google Colab (Jupyter Notebook). This lesson covers the basics of writing and running Python code within a cell, using the play button, keyboard shortcuts, and adding comments. Duration: 2min
5. Google Ai
A powerful introduction to Google Colab's Gemini AI. This lesson shows how to use Gemini to analyze code, understand it, and even generate new code snippets to expedite the learning process. Duration: 3min
6. Python Vars
A beginner’s guide to variables in Python. The lesson explains the concept of variables in Python, how to assign different data types to variables, and how to use the print() function to display variable values. Duration: 2min
7. Type Hints
A challenging introduction to type hints in Python - This video lesson covers the basic use cases of type hints as a way to convey data type expectations of variables in Python. It delves into how type hints can benefit code readability and improve the ability for other developers to understand code. Duration: 1min
8. Arrays
A practical introduction to Python lists. This lesson covers creating lists, understanding indexes, updating elements, and using the sort method to organize lists. Duration: 3min
9. Inputs
A practical guide to taking user inputs and using f-strings for formatting. This lesson covers the fundamentals of collecting information from users, saving it to variables, and combining it with other strings using f-strings for better readability. Duration: 2min
10. Types
A practical guide to data types and casting in Python. The lesson covers how to identify string and integer data types, explains why you can’t add an integer to a string, and demonstrates how to type cast data to overcome type errors. Duration: 2min
11. Math
A simple guide to basic math in Python - Learn how to use Python to perform common mathematical operations like addition, subtraction, multiplication, and division. The lesson covers variable assignment, basic operators, and the print function. Duration: 1min
12. More Math
A comprehensive guide to advanced math operations in Python. This lesson explores integer division, modulo, and exponents, illustrating their usage with practical examples. Duration: 3min
13. Funcs
A comprehensive introduction to functions and the 'def' keyword in Python. The lesson covers the basic syntax for defining functions, passing parameters, and invoking them, and provides examples of how functions can be used for modularity and code reuse. Duration: 5min
14. Conditionals
A practical introduction to conditionals and if/else statements in Python. This lesson covers how to create an if statement using logical operators such as "greater than", "less than", and "equals to", as well as how to apply else statements. Duration: 3min
15. While Loops
A basic introduction to the 'while loop' in Python. The lesson covers how to use a 'while loop' to repeatedly execute a block of code as long as a certain condition is met. It also demonstrates how to increment a variable inside the loop and how to use the 'print' function to output the results. Duration: 3min
16. Loops 2
A concise introduction to Python for-range loops - The lesson shows how for-range loops are a more concise way to repeat code compared to while loops. This lesson demonstrates using range, a built-in Python function, to create a series of numbers for iteration. Duration: 1min
17. Loops 3
A comprehensive guide to for-each loops in Python - This lesson introduces for-each loops and how they can be used to iterate through the elements in a list. The lesson uses practical examples to explain how the loop works and provides a basic overview of the for-each loop syntax. Duration: 2min
18. Workshop
A challenging Python function workshop to determine the year. This lesson guides you through creating a function that takes two inputs: a starting year and a number of days. The function must then determine and output whether the number of days will remain in the starting year or will transition into the next year. Duration: 4min
19. Recap
A comprehensive guide to setting up a Python development environment on Google Colab. This lesson covers installing Python, setting up the correct environment, and getting started with writing Python code. Duration: 2min
20. Dev Env Setup
A practical introduction to setting up your development environment. The lesson covers setting up Visual Studio Code on Mac, Linux, and Windows operating systems, along with the necessary components for Vyper development. Duration: 2min
21. Install Vscode Macos Linux
A comprehensive guide to installing Visual Studio Code. This lesson covers the download process for both MacOS and Linux, as well as tips for getting started with Visual Studio Code. Duration: 1min
22. Install Wsl
A comprehensive guide to installing Windows Subsystem for Linux (WSL). This video will show you how to install WSL using the Windows Terminal or Microsoft Store and how to set up a new user account with a password. Duration: 4min
23. Vscode Windows Install
A comprehensive guide to installing Visual Studio Code on Windows. The lesson compares three different methods: the command line using winget, installing directly from the Visual Studio Code website, and installing VS Codium, an open-source alternative. Duration: 7min
24. Vscode Windows Wsl Extension
A crucial guide for Windows users to install and use the WSL extension for Visual Studio Code. This lesson shows how to connect your Visual Studio Code to a Linux-like environment within Windows, allowing you to use Linux commands and development tools. Duration: 3min
25. Vscode Quickstart
A comprehensive guide to setting up Visual Studio Code for development. This video covers installing Visual Studio Code, opening a terminal, and installing Git to work with your projects. Duration: 2min
26. Install Python Macos
A comprehensive guide to installing Python on a macOS system. This lesson covers downloading the correct version of Python, installing it, and verifying the installation. Duration: 4min
27. Install Python Wsl Linux
A comprehensive guide to installing Python for Windows WSL and Linux users. This lesson will cover the basics of using commands to install Python and its different versions. Duration: 10min
28. Vscode Quickstart 2
A comprehensive guide to VS Code essentials for all operating systems. Learn how to navigate, clear, and manage your terminal, create new files, open folders, and leverage the power of GitHub Copilot AI. Duration: 13min
29. Mental Prep
A motivational introduction to a Python and Vyper coding course. The lesson emphasizes mental preparation for a challenging coding journey and guides you through creating a personal manifesto for your learning goals. Duration: 7min
30. Local Py
A beginner's guide to setting up a local Python development environment using Visual Studio Code. The lesson covers the creation of a project folder, navigating into it, and opening the folder in VS Code. Duration: 2min
31. Python Shell
A quick guide to entering and exiting the Python shell. The lesson covers how to enter the Python shell, define a variable, and exit the shell. It also emphasizes the importance of understanding the ephemeral nature of the Python shell and that it does not save the user's input upon exiting. Duration: 1min
32. Python Extensions Vscode
A beginner's guide to setting up Jupyter Notebook within VS Code. The lesson covers installing the necessary extensions, selecting a kernel, and performing basic Python operations within the notebook environment. Duration: 3min
33. Our First Python
A practical guide to creating and running a Python file using the Terminal. This lesson demonstrates the basics of setting up a Python file, running it using the Terminal, and understanding the .py file extension. Duration: 2min
34. Python Imports
A comprehensive guide to installing Python libraries and using imports - This lesson provides an in-depth look at how to install Python libraries and use them effectively in your code. The video covers installing libraries using pip, as well as the importance of importing them correctly in your Python scripts. Duration: 3min
35. Installing Uv
A comprehensive guide to installing and using UV to manage Python versions and virtual environments. This lesson covers basic installation, exploring the generated project files, and an introduction to using UV for project management. Duration: 5min
36. Uv Python Version
A powerful tool to manage multiple Python versions - This video lesson demonstrates using the uv tool to automatically switch between different Python versions for a project, explaining how it makes development smoother. Duration: 6min
37. Adding Packages Uv
A powerful tutorial on adding Python packages and libraries with UV - The lesson covers the basics of using UV to install and manage packages, including adding a package to a virtual environment, specifying package versions, and understanding how UV handles dependencies across different projects and Python versions. Duration: 3min
38. Virtual Envs
A comprehensive guide to Python virtual environments using UV. This lesson covers the creation and activation of virtual environments, the benefits they offer, and how they can streamline your Python development process. Duration: 6min
39. Recap
A comprehensive recap of Python in Updraft. This lesson covers the concepts of virtual environments, setting up Python, using pip and UV to manage Python environments, and installing packages into your project. Duration: 7min

Course Overview

About the course

Course Description

Last updated on December 4, 2024

Learning path

Vyper

View all courses

Introduction to Python and Vyper

Beginner

Introduction to Python and Vyper

Start your journey as a Python and Vyper smart contract developer. Learn how to write, deploy, and interact with Python based smart contracts using the Vyper programming language. Learn how to build your decentralized applications and kickstart your career as a web3 developer.

6hrs
75 lessons
4 projects

Intermediate Python and Vyper

Intermediate

Intermediate Python and Vyper

Learn intermediated Python smart contract development using Vyper and level up your skills as a smart contract developer. This course will teach you how to test your Python based Vyper smart contracts, how to deploy contracts on ZKsync using Moccasin, the first web3 development framework to natively support ZKsync ERA, and launch your first cryptocurrency!

14hrs
174 lessons
6 projects

Testimonials

Students Reviews

Read what our students have to say about this course.

Chainlink

Chainlink

Chainlink

Gustavo Gonzalez

Gustavo Gonzalez

Solutions Engineer at OpenZeppelin

Francesco Andreoli

Francesco Andreoli

Lead Devrel at Metamask

Albert Hu

Albert Hu

DeForm Founding Engineer

Radek

Radek

Senior Developer Advocate at Ceramic

Boidushya

Boidushya

WalletConnect

Idris

Idris

Developer Relations Engineer at Axelar

Cyfrin
Updraft
CodeHawks
Solodit
Resources