TIDE
Languages

Vyper

Installing Vyper on Ubuntu in TIDE

Vyper

Vyper is a contract-oriented, pythonic programming language targeting the Ethereum Virtual Machine (EVM), designed for security and auditability.

Installation

Install Vyper using Python virtual environment or pip:

apt update
apt install -y python3 python3-pip python3-venv
python3 -m venv ~/vyper-env
source ~/vyper-env/bin/activate
pip install vyper

Verify installation:

vyper --version

Hello World Example

Create a smart contract file named hello_world.vy:

hello_world.vy
# @version ^0.3.10

greeting: public(String[100])

@external
def __init__():
    self.greeting = "Hello, TIDE!"

Compiling the Contract

Compile the Vyper contract to EVM bytecode:

vyper hello_world.vy

Official Resources

On this page