docs/deploying-contracts.rst
.. index:: deploying;deploying;
.. _deploying:
Deploying a Contract
Once you are ready to deploy your contract to a public test net or the main net, you have several options:
.. code-block:: bash
vyper yourFileName.vy
myetherwallet's <https://www.myetherwallet.com/>_ contract menu:.. code-block:: bash
vyper -f abi yourFileName.vy
Titanoboa <https://github.com/vyperlang/titanoboa/?tab=readme-ov-file#network-mode>_:.. code-block:: python
import boa
boa.set_network_env(<RPC URL>)
from eth_account import Account
# in a real codebase, always load private keys safely from an encrypted store!
boa.env.add_account(Account(<a private key>))
deployer = boa.load_partial("yourFileName.vy")
deployer.deploy()