Interact Prevs

A practical guide to interacting with a deployed Vyper smart contract using Titanoboa. The lesson explains how to establish a connection to an Anvil chain and use the 'at' function to retrieve a smart contract object based on its address.

1. Intro
A comprehensive guide to deploying smart contracts with Titanoboa - This lesson builds on the knowledge from the previous section by moving from web3.py to the Titanoboa tool. The lesson covers deployment using the Titanoboa tool and includes a section on the use of AI to help with learning. Duration: 6min
2. Setup
A practical Python guide to deploying a Vyper smart contract. This lesson walks through the process of deploying a Vyper contract to both the PyEVM and Anvil networks, as well as how to set up a new project with a .vy file for your smart contract. Duration: 4min
3. Pyevm
A practical guide to deploying a Vyper contract to a local py-evm blockchain using TitanoBoa - The lesson walks through the process of setting up a development environment and using TitanoBoa to deploy a Vyper smart contract to a py-evm network. Duration: 6min
4. Vypercontract
A practical guide to interacting with your Titanoboa VyperContract - This lesson will cover the basics of interaction with your VyperContract, using Boa to call functions like store and retrieve, which allow you to update and view data on the blockchain. Duration: 4min
5. Debug
A practical guide to using Vyper debug statements - Learn how to add print statements in Vyper code to track and debug function calls. Explore the warning message that appears when deploying contracts with print statements and discover how TitanoBoa can help. Duration: 2min
6. Pyevm_
A detailed explanation of how a PyeVM chain works - This lesson demonstrates the practical application of PyeVM chains, highlighting how Boa spins up a temporary blockchain, deploys a smart contract, updates its storage, and ultimately deletes the chain, providing a clear understanding of the process involved. Duration: 2min
7. Anvil
A practical demonstration of using Titanboa with Anvil to interact with a real Ethereum network. The lesson covers how to create a .env file, connect to a local Anvil chain, and deploy a Vyper contract using a real account. Duration: 10min
8. Interacting Anvil
A practical guide to interacting with an Anvil contract using Titanoboa. The lesson demonstrates how to read and write values to a deployed contract using Python, showcasing the use of the 'boa' library and 'print' statements. Duration: 2min
9. Interact Prevs
A practical guide to interacting with a deployed Vyper smart contract using Titanoboa. The lesson explains how to establish a connection to an Anvil chain and use the 'at' function to retrieve a smart contract object based on its address. Duration: 10min
10. Add Person
A comprehensive guide to interacting with a Vyper smart contract using Python and Boa. The lesson covers how to interact with the deployed contract, including retrieving data, calling a function to add a person, and understanding how data is stored and retrieved on the blockchain. Duration: 4min
11. Workshop
A practical Vyper workshop to create your own smart contract. The lesson covers deploying a contract to your local anvil instance, adding a function that changes a variable, returning the variable's value, and finally deploying to your local network. Duration: 2min
12. Recap
A comprehensive recap of deploying and interacting with Vyper smart contracts. This lesson covers deploying a smart contract to a local EVM chain using the TitanoBoa tool, as well as interacting with a deployed contract using Python and Boa. Duration: 6min

Course Overview

About the course

What you'll learn

Python basics

Introduction to Web3.py

Introduction to Titanoboa

Introduction to Moccasin

How to create an ERC-20

How to test Python code and Vyper smart contract

How to deploy Vyper smart contracts on ZKsync using Moccasin

Course Description

Who is this course for?

  • Software engineers
  • Web3 developers
  • Finance developers
  • AI developers
  • Everyone interested in learning Python and smart contracts

Potential Careers

Smart Contract Auditor

$100,000 - $200,000 (avg. salary)

On-chain Data Analyst

$59,000 - $139,000 (avg. salary)

DeFi Developer

$75,000 - $200,000 (avg. salary)

Smart Contract Engineer

$100,000 - $150,000 (avg. salary)

Web3 developer

$60,000 - $150,000 (avg. salary)

Web3 Developer Relations

$85,000 - $125,000 (avg. salary)

Meet your instructors

Patrick Collins

Patrick Collins

Founder at Cyfrin

Web3 engineer, educator, and Cyfrin co-founder. Patrick's smart contract development and security courses have helped hundreds of thousands of engineers kickstarting their careers into web3.

Last updated on August 11, 2025