Skip to main content

zkVyper version manager

Project description

A completely experimental and untested zkVyper version manager.

Usage

  1. Install with pip.

    $ pip install git+https://github.com/skellet0r/zkvvm@master#egg=zkvvm
  2. Use the built-in CLI

    $ zkvvm --help
    usage: zkvvm [-h] [--cache-dir CACHE_DIR] [--log-file LOG_FILE] [-v] {ls,ls-remote,install,uninstall} ...
    
    zkVyper Version Manager
    
    optional arguments:
    -h, --help            show this help message and exit
    --cache-dir CACHE_DIR
                            Default: /home/user/.cache/zkvvm
    --log-file LOG_FILE   Default: /home/user/.cache/zkvvm/log/zkvvm.log
    -v
    
    commands:
    {ls,ls-remote,install,uninstall}
        ls                  List available local versions
        ls-remote           List available remote versions
        install             Install a remote version
        uninstall           Uninstall a local version
  3. Use in a script

    import zkvvm
    
    output = zkvvm.compile(["tmp/Foo.vy"])
    
    src = """# @version 0.3.3
    
    @view
    @external
    def foo(_a: uint256) -> uint256:
        return _a
    """
    output = zkvvm.compile_source(src, zk_version="1.1.1", vyper_version="0.3.3")

Project details


Download files

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

Source Distribution

zkvvm-0.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

zkvvm-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file zkvvm-0.1.0.tar.gz.

File metadata

  • Download URL: zkvvm-0.1.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.8.14 Linux/5.15.64-1.fc32.qubes.x86_64

File hashes

Hashes for zkvvm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f568ef908d632a271989545a38104b3f96be7665021be1357ca9b570628122e7
MD5 7ccc25cf225dae62f29dcca471ffe33c
BLAKE2b-256 2104e502e20b677348ed72c7d323db3486c87257771304cde5aa7d97c121883f

See more details on using hashes here.

File details

Details for the file zkvvm-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: zkvvm-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.8.14 Linux/5.15.64-1.fc32.qubes.x86_64

File hashes

Hashes for zkvvm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 091feb8f5680d327daa30935b02500dc4f46ec9a6f041c2c7357cb524f6a96b8
MD5 2d7c2f1ac953e30bef272d5cdbf365be
BLAKE2b-256 b6250dac00b996e93d9cb01acabe0dad866bf588a225f24e719a7357632cbc5c

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