docs/vyper-by-example/index.rst
Vyper by Example ################
This section contains practical examples demonstrating Vyper's features and common smart contract patterns. Each example includes the full contract code and a detailed walkthrough of the implementation.
.. note:: It's always important to keep security in mind when designing a smart contract. As any application becomes more complex, the greater the potential for introducing new risks. Thus, it's always good practice to keep contracts as readable and simple as possible.
.. toctree:: :maxdepth: 1 :caption: Auctions
simple-auction blind-auction
.. toctree:: :maxdepth: 1 :caption: Escrow & Crowdfunding
safe-remote-purchase crowdfund
.. toctree:: :maxdepth: 1 :caption: Governance
voting
.. toctree:: :maxdepth: 1 :caption: Finance
company-stock
.. toctree:: :maxdepth: 1 :caption: Storage Patterns
storage name-registry
.. toctree:: :maxdepth: 1 :caption: Token Standards
erc20 erc721 erc1155 erc4626
.. toctree:: :maxdepth: 1 :caption: DeFi Patterns
market-maker factory
.. toctree:: :maxdepth: 1 :caption: Security Patterns
wallet