This repo contains a compile & deploy program that takes smart contract code written in Vyper, compiles & deploys it to the network of your choice!
Features:
- it's simple & lightweight!
- it can search for constructor arguments & take inputs approprietly!
- it does safe type checking & data conversion: from Python data types to EVM-compatible ones with ease!
- it saves ABI to a
.json
file after successful deployment! - all you need is Vyper installed, your code & network you want to deploy on!
✅ Tested on Python 3.9.11 !
- Clone the repo & change current directory:
git clone https://github.com/IAmScRay/vyper_deployer && cd vyper_deployer
- Create & activate new virtual environment:
python3 -m venv venv && source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Write your own smart contract code
☺️ - Start deployer & follow the instructions:
python3 main.py
For now, deployments were successful on several testnets, including Ethereum Holesky, Vana Satori & Citrea Devnet but you are welcome to try other networks, too! ⭐️
Below is an example of deploying ERC20 token with Vyper codebase to Citrea Devnet: