Skip to main content

A Vyper linter for fine sneks.

Project description

Natrix

Natrix is a vyper linter that checks for common mistakes in vyper contracts. It is designed to be your vyper copilot, helping you to write code that is more secure and efficient.

Getting started

Currently natrix requires uv to be installed to function correctly.

To check a contract:

natrix file_to_lint.vy

To check all vyper contract in the current directory:

natrix

Pre-commit hook

Natrix can also be used as a pre-commit hook. This allows to have your contracts checked automatically before you can commit.

To add natrix just add the following lines to your pre-commit-config.yaml config file:

repo:
TODO

and then install pre-commit in your repository by doing:

pre-commit install

Disclaimer

Natrix is highly experimental software, I do not take any responsibility for changes to the codebase suggested by this linter that might lead to loss of funds or any other issue.

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

natrix-0.1.2.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

natrix-0.1.2-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

Details for the file natrix-0.1.2.tar.gz.

File metadata

  • Download URL: natrix-0.1.2.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.29

File hashes

Hashes for natrix-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a68aadb82a5781814eb901469ca1ae341cbb4af93ac483fe36b69b04c3332eb5
MD5 9293dd7463b32d0ef699dd4b4c1847cc
BLAKE2b-256 57906c89e1282c9124279cb88fd5def03a5855de5ef6574684237bc4f74b076e

See more details on using hashes here.

File details

Details for the file natrix-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: natrix-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 27.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.29

File hashes

Hashes for natrix-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bc0dc05f66613bb2c89b0d37fe38ac7eda5d4959895038f9792b9a193a60f9db
MD5 f051e882eb2a5b974eb23cc5797d0cdb
BLAKE2b-256 529f5fda9b31e32ce5a69644c4993b8af4d4b9746021a865dfd8e6224f73ef65

See more details on using hashes here.

Supported by

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