1/5
## Welcome to Remix! We're going to begin by getting familiar with Remix, an Integrated Development Environment, or IDE, that's phenomenal for helping us visualize our smart contracts. We'll be using Remix throughout the course to build smart contracts using Vyper, a popular smart contract language. Remix has many features, including a built-in AI assistant that helps us understand concepts. While AI can be very useful, we need to understand the fundamentals of smart contract programming. AI can't always understand or provide accurate information about advanced concepts. ### Getting Started with Remix 1. Open the Remix IDE. You can find it at `remix.ethereum.org`. 2. Click on "New File" under the "Solidity/Vyper/EVM" section. 3. Choose "Vyper" as the file type and name your contract, e.g., `MinimalContract.vy`. 4. In this new file, add a basic Vyper smart contract template: ```python # Minimal Contract pragma solidity ^0.6.12; contract Minimal: def hello(self) -> str: return "Hello World" ``` 5. Save the file. 6. Go to your IDE's left panel and click on "Deploy" under the "Solidity/Vyper/EVM" section. ### Working with the Vyper Compiler 1. Click on the "Plugin Manager" button at the bottom of the Remix IDE. 2. In the search bar, type "vyper." 3. Activate the "Vyper Compiler" module. 4. You will now see the "Vyper Compiler" section on the left-hand side of the Remix IDE. 5. Click the "Compile favorites.vy" button to compile our smart contract. You can also access more advanced compiler settings if you click on the "Advanced Compiler Settings" button. This will allow you to set up your own local Vyper Compiler, but we will be using the remote compiler for now.
A comprehensive guide to using the Remix IDE, focusing on building a Vyper smart contract. The lesson covers activating the Vyper compiler, creating a new file, typing code, and understanding the basics of smart contracts.
Previous lesson
Previous
Next lesson
Next
Give us feedback
Course Overview
About the course
The basics of blockchain transactions, how to send and receive money on a blockchain network.
How to write Python based smart contracts using Vyper.
How to read and understand Vyper smart contracts.
Vyper data structures, arrays, structs, hash maps.
How to build a smart contract application and deploy on ZKsync with Moccasin.
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)
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 March 21, 2025
Duration: 2h 08min
Duration: 2h 32min
Duration: 24min
Course Overview
About the course
The basics of blockchain transactions, how to send and receive money on a blockchain network.
How to write Python based smart contracts using Vyper.
How to read and understand Vyper smart contracts.
Vyper data structures, arrays, structs, hash maps.
How to build a smart contract application and deploy on ZKsync with Moccasin.
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)
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 March 21, 2025
Testimonials
Read what our students have to say about this course.
Chainlink
Chainlink
Gustavo Gonzalez
Solutions Engineer at OpenZeppelin
Francesco Andreoli
Lead Devrel at Metamask
Albert Hu
DeForm Founding Engineer
Radek
Senior Developer Advocate at Ceramic
Boidushya
WalletConnect
Idris
Developer Relations Engineer at Axelar