User Manual for dApp Developers - TESTNET (β)
  • Step for building own network
  • Install Packages
  • Creating Account
  • Genesis Block Creation
  • Running the Blockchain
  • Deploy Smart Contract for token supply
  • Supply
  • Other Functionalities
  • Contract Deployment Using Vyper in Remix
Powered by GitBook
On this page
  • Installing Vyper
  • Compiling our smart contract
  • Deploying our smart contract

Contract Deployment Using Vyper in Remix

PreviousOther Functionalities

Last updated 1 year ago

For start with vyper we need to install Vyper

Installing Vyper

First, we need to . To do that, we will need Python 3.6 or higher. You can download Python binaries from the .

We’ll also need the pip package manager. To install it, we can use the following command:

sudo apt-get install python3-pip

Next, we install Vyper using the pip command:

We will create a folder, vyper_contract, and a file, contract.vy, inside this folder.

Paste the below code in the contract.vy file:

Compiling our smart contract

We’ll compile our smart contract using the vyper command:

Next, we will install the Vyper plugin in our Remix IDE, click on the socket icon in the sidebar, and search for “vyper.”

Click Activate on the item that appears. Then, click on the Vyper icon and press the Compile contract.vy button. You should see this:

Deploying our smart contract

We’ll now deploy our smart contract.

Now check on CROSSVALUE Chain Network

Successfully Deploy Contract Using Vyper and Truffle.

Regards:

Advanced Blockchain Lab

Voting Blockchain team

Next, run the Vyper server, vyper-server. This will start a server on ; we’ll use this URL in Remix to compile locally and deploy.

We will use the Remix IDE to . Navigate to the , create a new file called contract.vy, and paste the above code into the file

http://localhost:8000
compile our smart contract remotely and deploy it
Remix IDE
install Vyper
Python website