Skip to main content

Vyper ERC-20 Token

A minimal ERC-20 token implementation in Vyper, showcasing Vyper’s clean syntax and built-in overflow protection. A minimal ERC-20 token implementation in Vyper, showcasing Vyper’s clean syntax and built-in overflow protection.

Explanation

Vyper is a Python-inspired smart contract language that compiles to EVM bytecode. It intentionally lacks inheritance and has built-in overflow checks. The syntax is cleaner than Solidity but it’s less feature-rich by design.

Code


Canonical knowledge ID: code-example:vyper-erc-20-token