{"id":13421624,"url":"https://github.com/vyperlang/vyper","last_synced_at":"2026-10-18T23:49:49.794Z","repository":{"id":37502516,"uuid":"73461676","full_name":"vyperlang/vyper","owner":"vyperlang","description":"Pythonic Smart Contract Language for the EVM","archived":false,"fork":false,"pushed_at":"2026-10-13T19:36:20.000Z","size":15975,"stargazers_count":5183,"open_issues_count":629,"forks_count":918,"subscribers_count":146,"default_branch":"master","last_synced_at":"2026-10-13T22:56:03.980Z","etag":null,"topics":["ethereum","ethereum-dapp","language","python","vyper"],"latest_commit_sha":null,"homepage":"https://vyperlang.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vyperlang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.rst","funding":"FUNDING.json","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","accessibility":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"claude":"CLAUDE.md","gemini":null,"cursor":null,"copilot":null,"dco":null,"cla":null,"disclosure":null},"funding":{}},"created_at":"2016-11-11T08:56:41.000Z","updated_at":"2026-10-13T22:02:14.000Z","dependencies_parsed_at":"2026-10-13T21:41:48.710Z","dependency_job_id":null,"html_url":"https://github.com/vyperlang/vyper","commit_stats":{"total_commits":4496,"total_committers":242,"mean_commits":"18.578512396694215","dds":0.7949288256227758,"last_synced_commit":"5a7b4811be9356e0bd60963119a4ccaafe26d850"},"previous_names":["ethereum/vyper","ethereum/viper"],"tags_count":82,"template":false,"template_full_name":null,"purl":"pkg:github/vyperlang/vyper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vyperlang%2Fvyper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vyperlang%2Fvyper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vyperlang%2Fvyper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vyperlang%2Fvyper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vyperlang","download_url":"https://codeload.github.com/vyperlang/vyper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vyperlang%2Fvyper/sbom","scorecard":{"id":1236531,"data":{"date":"2025-08-11","repo":{"name":"github.com/vyperlang/vyper","commit":"90c952c06ac31ad8ce3ffda5f67545b2ec5f91a8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.7,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 22 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:14","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:15","Info: jobLevel 'contents' permission set to 'read': .github/workflows/ghcr.yml:25","Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql.yml:1","Warn: no topLevel permission defined: .github/workflows/era-tester.yml:1","Warn: no topLevel permission defined: .github/workflows/ghcr.yml:1","Info: topLevel 'pull-requests' permission set to 'read': .github/workflows/pull-request.yaml:13","Warn: no topLevel permission defined: .github/workflows/release-pypi.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.4.3 not signed: https://api.github.com/repos/vyperlang/vyper/releases/226126104","Warn: release artifact v0.4.3rc1 not signed: https://api.github.com/repos/vyperlang/vyper/releases/225847001","Warn: release artifact v0.4.2 not signed: https://api.github.com/repos/vyperlang/vyper/releases/222024165","Warn: release artifact v0.4.2rc1 not signed: https://api.github.com/repos/vyperlang/vyper/releases/216180676","Warn: release artifact v0.4.1 not signed: https://api.github.com/repos/vyperlang/vyper/releases/202011774","Warn: release artifact v0.4.3 does not have provenance: https://api.github.com/repos/vyperlang/vyper/releases/226126104","Warn: release artifact v0.4.3rc1 does not have provenance: https://api.github.com/repos/vyperlang/vyper/releases/225847001","Warn: release artifact v0.4.2 does not have provenance: https://api.github.com/repos/vyperlang/vyper/releases/222024165","Warn: release artifact v0.4.2rc1 does not have provenance: https://api.github.com/repos/vyperlang/vyper/releases/216180676","Warn: release artifact v0.4.1 does not have provenance: https://api.github.com/repos/vyperlang/vyper/releases/202011774"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:82: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:94: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:105: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:106: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/codeql.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/era-tester.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/era-tester.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/era-tester.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/era-tester.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/era-tester.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/era-tester.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/era-tester.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/era-tester.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/era-tester.yml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/era-tester.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ghcr.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/ghcr.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ghcr.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/ghcr.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ghcr.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/ghcr.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ghcr.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/ghcr.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ghcr.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/ghcr.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pull-request.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/pull-request.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-pypi.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/release-pypi.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-pypi.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/release-pypi.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-pypi.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/release-pypi.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:169: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:175: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:200: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:287: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:290: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:299: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:320: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:335: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:336: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:341: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:232: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:235: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:261: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/vyperlang/vyper/test.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating python:3.11-slim to python:3.11-slim@sha256:9e885f8239c31f8429448f933638dd13037c9119e2a362aeebdd37ec3bee7c85","Warn: pipCommand not pinned by hash: Dockerfile:35-36","Warn: pipCommand not pinned by hash: .github/workflows/build.yml:51","Warn: pipCommand not pinned by hash: .github/workflows/build.yml:56","Warn: pipCommand not pinned by hash: .github/workflows/era-tester.yml:92","Warn: pipCommand not pinned by hash: .github/workflows/ghcr.yml:43","Warn: pipCommand not pinned by hash: .github/workflows/release-pypi.yml:39","Warn: pipCommand not pinned by hash: .github/workflows/release-pypi.yml:40","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:297","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:28","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:182","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:59","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:79","Warn: downloadThenRun not pinned by hash: .github/workflows/test.yml:91","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:242","Info:   0 out of  38 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   7 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of  13 pipCommand dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/ghcr.yml:21"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-30T14:37:57.033Z","repository_id":37502516,"created_at":"2025-08-30T14:37:57.034Z","updated_at":"2025-08-30T14:37:57.034Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38343425,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-18T02:00:06.448Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ethereum","ethereum-dapp","language","python","vyper"],"created_at":"2024-07-30T23:00:27.218Z","updated_at":"2026-10-18T23:49:49.787Z","avatar_url":"https://github.com/vyperlang.png","language":"Python","funding_links":[],"categories":["Software Development","Language and Tooling","Python","Smart Contracts","Smart Contracts Languajes","Roadmap","smart contract","Ethereum","语言资源库","Programming Languages that Compile into EVM","Smart Contract Platforms"],"sub_categories":["Python","Compilers and Interpreters","Vyper","Ethereum Basics","python","Other Implementations"],"readme":"\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs/_static/logo-dark.svg\"\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"docs/_static/logo-light.svg\"\u003e\n  \u003cimg height=\"100\" src=\"docs/_static/logo-light.svg\"\u003e\n\u003c/picture\u003e\n\n[![Build Status](https://github.com/vyperlang/vyper/actions/workflows/test.yml/badge.svg)](https://github.com/vyperlang/vyper/actions/workflows/test.yml)\n[![Documentation Status](https://readthedocs.org/projects/vyper/badge/?version=latest)](http://docs.vyperlang.org/en/latest/?badge=latest \"ReadTheDocs\")\n[![Discord](https://img.shields.io/discord/969926564286459934.svg?label=%23vyper)](https://discord.gg/6tw7PTM7C2)\n[![Telegram](https://img.shields.io/badge/Vyperholics🐍-Telegram-blue)](https://t.me/vyperlang)\n[![Twitter](https://img.shields.io/twitter/follow/vyperlang)](https://x.com/vyperlang)\n\n[![PyPI](https://badge.fury.io/py/vyper.svg)](https://pypi.org/project/vyper \"PyPI\")\n[![Docker](https://img.shields.io/docker/cloud/build/vyperlang/vyper)](https://hub.docker.com/r/vyperlang/vyper \"DockerHub\")\n\n[![Coverage Status](https://codecov.io/gh/vyperlang/vyper/branch/master/graph/badge.svg)](https://codecov.io/gh/vyperlang/vyper \"Codecov\")\n[![Language grade: Python](https://github.com/vyperlang/vyper/workflows/CodeQL/badge.svg)](https://github.com/vyperlang/vyper/actions/workflows/codeql.yml)\n\n# Getting Started\nSee [Installing Vyper](http://docs.vyperlang.org/en/latest/installing-vyper.html) to install vyper.\nSee [Tools and Resources](https://docs.vyperlang.org/en/latest/resources.html) for an additional list of framework and tools with vyper support.\nSee [Documentation](http://docs.vyperlang.org/en/latest/index.html) for the documentation and overall design goals of the Vyper language.\n\nSee [learn.vyperlang.org](https://learn.vyperlang.org/) for **learning Vyper by building a Pokémon game**.\n\n**Note: Vyper is constantly evolving, use with care and understand the risks associated with smart contract development.**\n\n# Installation\nSee the [Vyper documentation](https://docs.vyperlang.org/en/latest/installing-vyper.html)\nfor build instructions.\n\n# Compiling a contract\nTo compile a contract, use:\n```bash\nvyper your_file_name.vy\n```\n***generate bytecode***\n\n    vyper -f bytecode file-name.vy \u003e file-name.bin\n\n***generate abi***\n\n    vyper -f abi file-name.vy \u003e file-name.abi\n\nThere is also an [online compiler](https://vyper.online/) available you can use to experiment with\nthe language and compile to ``bytecode`` and/or ``IR``.\n\n**Note: While the vyper version of the online compiler is updated on a regular basis it might\nbe a bit behind the latest version found in the master branch of this repository.**\n\n# Contributing\n* See Issues tab, and feel free to submit your own issues\n* Add PRs if you discover a solution to an existing issue\n* For further discussions and questions, post in [Discussions](https://github.com/vyperlang/vyper/discussions) or talk to us on [Discord](https://discord.gg/6tw7PTM7C2)\n* For more information, see [Contributing](http://docs.vyperlang.org/en/latest/contributing.html)\n\n## Contributing Code\n\n### Setup\n\n#### uv (recommended)\n\nMake sure you have `uv` installed\n\n1. Clone this repo and `cd` into it\n2. Run `git fetch --tags git@github.com:vyperlang/vyper.git` to get the tags necessary for version inference\n3. Run `uv sync`\n4. Run `source .venv/bin/activate` to activate the virtual environment\n5. Run `vyper --version` to verify the setup\n6. (optional) Run `git config blame.ignoreRevsFile .git-blame-ignore-revs` to improve `git blame`\n\n#### pip\n\nMake sure you have `pip` (version 25.1 or above), `setuptools`, and `pytest` installed\n\n1. Clone this repo and `cd` into it\n2. Run `git fetch --tags git@github.com:vyperlang/vyper.git` to get the tags necessary for version inference\n3. Run `python -m venv .venv` to create a virtual environment\n4. Run `source .venv/bin/activate` to activate it\n5. Run `make init` to install the main dependencies\n6. Run `make dev-init` to install the dev dependencies\n7. Run `vyper --version` to verify the setup\n6. (optional) Run `git config blame.ignoreRevsFile .git-blame-ignore-revs` to improve `git blame`\n\n### Commands\n\n* `vyper path/to/file.vy` to run your local copy of the compiler\n* `pytest` to test your changes\n    Useful pytest flags:\n        * `-x`: Fail test run on first test failure\n        * `--instafail`: Show reason for test failure directly, instead of at the end of a test run\n        * `--disable-warnings`: Hide warnings which occurred during tests\n* `make mypy` to type check your changes\n* `make lint` to check your files are correctly formatted (also runs mypy)\n\n### Docker Setup\n\nNote: This is only useful for contributors, if you just want to use vyper, look [here](https://docs.vyperlang.org/en/latest/installing-vyper.html#docker).\n\n#### Build the image:\n\n`docker build . -t vyper -f Dockerfile`\n\n#### Check it runs:\n\n`docker run -v $(pwd):/code vyper --help`\n\n#### Run vyper:\n\nIt works like `vyper` locally, with the difference that you should add `/code/` before the local path:\n\n`docker run -v $(pwd):/code vyper /code/\u003cpath to vy file\u003e`\n\nExample:\n* `vyper -f abi_python examples/name_registry/name_registry.vy` becomes\n* `docker run -v $(pwd):/code vyper -f abi_python /code/examples/name_registry/name_registry.vy`\n\n### Other Tips\n\n#### Checking performance\n\nTo run a python performance profile (to find compiler perf hotspots):\n```bash\nPYTHONPATH=. python -m cProfile -s tottime vyper/cli/vyper_compile.py \"$@\"\n```\n\nThe utility timer functions `timeit`, `profileit` and `cumtimeit` are available in `vyper/utils.py`.\n\n#### Getting call graph\n\nTo get a call graph from a python profile, install `gprof2dot` and `xdot`, and run it like `gprof2dot -f pstats stats | xdot -`. (See https://stackoverflow.com/a/23164271/).\n\n#### Testing with hevm\n\nInstall hevm by downloading it from the releases page (https://github.com/ethereum/hevm/releases/latest) and making sure it is in your PATH. hevm tests can be enabled with `--hevm` flag, and hevm tests can be selected with the `-m hevm` marker. For instance, `pytest -m \"hevm\" --hevm`.\n\n#### Fuzzing tests\n\nFuzzing test are very slow, so they are not run by default.\nTo run them, use `pytest -m \"fuzzing\"`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvyperlang%2Fvyper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvyperlang%2Fvyper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvyperlang%2Fvyper/lists"}