Skip to main content

Vyper: the Pythonic Programming Language for the EVM

Reason this release was yanked:

bad dependencies

Project description

Build Status Documentation Status Discord

PyPI Docker

Coverage Status Language grade: Python

Getting Started

See Installing Vyper to install vyper. See Tools and Resources for an additional list of framework and tools with vyper support. See Documentation for the documentation and overall design goals of the Vyper language.

See Learn.Vyperlang.org for learning Vyper by building a Pokémon game. See try.vyperlang.org to use Vyper in a hosted jupyter environment!

Note: Vyper is beta software, use with care

Installation

See the Vyper documentation for build instructions.

Compiling a contract

To compile a contract, use:

vyper your_file_name.vy

generate bytecode

vyper -f bytecode file-name.vy > file-name.bin

generate abi

vyper -f abi file-name.vy > file-name.abi

There is also an online compiler available you can use to experiment with the language and compile to bytecode and/or IR.

Note: While the vyper version of the online compiler is updated on a regular basis it might be a bit behind the latest version found in the master branch of this repository.

Testing (using pytest)

(Complete installation steps first.)

make dev-init
python setup.py test

Contributing

  • See Issues tab, and feel free to submit your own issues
  • Add PRs if you discover a solution to an existing issue
  • For further discussions and questions, post in Discussions or talk to us on Discord
  • For more information, see Contributing

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vyper-0.3.10rc1.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

vyper-0.3.10rc1-py3-none-any.whl (260.6 kB view details)

Uploaded Python 3

File details

Details for the file vyper-0.3.10rc1.tar.gz.

File metadata

  • Download URL: vyper-0.3.10rc1.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for vyper-0.3.10rc1.tar.gz
Algorithm Hash digest
SHA256 282c1e2864404dcc3e8c25a0d5663d0fe575b622871c90c74c580a596ab439f5
MD5 d80c8cd6c1c42a808185ea8f7a7e16ea
BLAKE2b-256 5490a5a25bccebd2a8f0c8105cf5b831f93857d80bdb0d867f3ccbfb3a0776a8

See more details on using hashes here.

File details

Details for the file vyper-0.3.10rc1-py3-none-any.whl.

File metadata

  • Download URL: vyper-0.3.10rc1-py3-none-any.whl
  • Upload date:
  • Size: 260.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for vyper-0.3.10rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 18352c23056f6323c62920233fea35f2f94bf2f6334b5f6cd29c2e1836b0fc3b
MD5 6b6c30213c9cd908623fde62504e7391
BLAKE2b-256 2589188ee38e3d4c71a8a3754f85032c6bc58dca3a3830a38beac00f82935daf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page