{"repo":"ApeWorX/ape-vyper","free":true,"listed":false,"github":"https://github.com/ApeWorX/ape-vyper","clone":"git clone https://github.com/ApeWorX/ape-vyper.git","description":"Vyper compiler plugin for the Ape Framework, using VVM","language":"Python","stars":30,"topics":["python","smart-contracts","vyper","compiler","web3","vyper-contracts","ethereum","apewworx","ape"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"Quick Start Ape compiler plugin around VVM Dependencies - Python 3 version 3.10 or greater. Installation via pip You can install the latest release via pip : via source You can clone the repository and install for development: Quick Usage First, place Vyper contract source files (files with extension .vy ) in your Ape project's contracts folder. An example Vyper contract can be found here. Then, from your root Ape project folder, run the command: The .vy files in your project will compile into ContractTypes that you can deploy and interact with in Ape. Contract Flattening For ease of publishing, validation, and some other cases it's sometimes useful to \"flatten\" your contract into a single file. This combines your contract and any imported interfaces together in a way the compiler can understand. You can do so with a command like this: [!WARNING] This feature is experimental. Please report any bugs you find when trying it out. Compiler Version By default, the ape-vyper plugin uses version pragma for version specification. However, you can also configure the version directly in your pyproject.toml file: EVM Versioning By default, ape-vyper will use whatever version of EVM rules are set as default in the compiler version that gets used, or based on what the #pragma evm-version ... pragma comment specifies (available post- v0.3.10 ). Sometimes, you might want to use a different version, such as deploying on Arbitrum or Optimism where new opcodes are not supported yet. If you wan","default_branch":null,"files":null,"tree":[],"storefront":"/r/ApeWorX","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ApeWorX/ape-vyper/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}