remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
remix-project/apps/vyper/README.md

44 lines
1.3 KiB

2 years ago
# vyper-remix
Vyper Plugin for Remix IDE.
## How to get started
### Remote plugin
This plugin is hosted at https://vyper.remixproject.org .
2 years ago
To use it, open the plugin manager in Remix and click the `Activate` button in front of the `Vyper` button in the plugin section.
2 years ago
### Local plugin
You can host this plugin in your local environment.
2 years ago
```git clone https://github.com/ethereum/remix-project```
```cd remix-project```
```yarn install```
2 years ago
```nx build vyper```
```nx serve vyper```
## How to use plugin
1. Write vyper code(.vy) in the editor
2. Click Compile button
3. Now you can deploy the contract in the Run tab!
## Load example contracts
2 years ago
It is possible to cloned the Vyper repository in Remix in order to use example contracts. Click on `Clone Vyper Repository`.
2 years ago
Once it is clone, you will find the contract in the `examples` folder.
### Local Vyper Compiler
You can use your local Vyper compiler by selecting the radio button `Local` .
First, you need to install Vyper. It is strongly recommended to install Vyper in a virtual Python environment.
```pip3 install vyper```
(see [installing-vyper](https://vyper.readthedocs.io/en/latest/installing-vyper.html#installing-vyper)).
Then, Vyper compiler starts with this command (default: http://localhost:8000).
```vyper-serve```