Installing/Using Vyper

In order to upload a smart contract to the Ethereum blockchain, the content of a contract has to first be compiled into bytecode. There are several ways to do this:

  1. You can install vyper and all necessary dependencies locally on your computer. Instructions on how to do this can be found here.

  2. You can use one of several online compilers. These compilers take the form of web apps where developers can upload their contracts. The contract is then compiled on the app's server and the compilation result is displayed on the website. Popular online compilers include vyper.online and remix. (Note: For remix to work with Vyper you first have to activate the vyper plugin for remix.)

  3. You can download/clone this repository and follow the instructions detailed in the accompanying readme. Additionally you will need to create a local Ethereum blockchain. This can easily be done in a few clicks using Ganache.

Last updated