Skip to main content

Python SDK for the NEO 3 blockchain

Project description

.github/resources/images/logo.png

neo-mamba

https://img.shields.io/github/actions/workflow/status/CityOfZion/neo-mamba/validate-pr-commit.yml?branch=master https://coveralls.io/repos/github/CityOfZion/neo-mamba/badge.svg?branch=master http://www.mypy-lang.org/static/mypy_badge.svg https://img.shields.io/badge/code%20style-black-000000.svg https://img.shields.io/python/required-version-toml?tomlFilePath=https://raw.githubusercontent.com/CityOfZion/neo-mamba/master/pyproject.toml .github/resources/images/platformbadge.svg

This project is for you if you’re looking to use Python to

  • Deploy smart contracts

  • Transfer NEP-11 and NEP-17 tokens

  • Vote for your favourite consensus node

  • Interact with on-chain smart contracts

  • Manage wallets

  • Build and sign specialized transactions

  • and more..

This SDK provides building blocks for Python developers to interact with the NEO blockchain without requiring to run a full node. In order to interact with the chain and obtain information it relies heavily on RPC nodes. You can find a list of public RPC nodes here.

Please report any issues on Github or submit ideas how to improve the SDK.

Also check out our Python smart contract compiler Boa !

Installation and usage

Installation instructions, how to interact with smart contracts as well as API reference documentation can be found at https://mamba.coz.io/

Developing or contributing

Install the requirements, modify the code and PR :-)

pip install -e .[dev]

For larger changes consider opening an issue first to discuss the change. Below are a few guidelines for contributing

  • The project uses Black for code formatting. PRs will fail if formatted incorrectly. You might want to integrate black into your editor or run it manually with make black.

  • All public functions/classes must have docstrings.

  • All your code must be typed. Test your typing with make type. In rare cases it might be hard/impractical to add typing. Point it out if that is the case and add a short description why we could do without.

  • Add tests that cover the newly added (or changed if applicable) code. Use make test and make coverage.

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

neo_mamba-2.7.0.tar.gz (207.0 kB view details)

Uploaded Source

Built Distribution

neo_mamba-2.7.0-py3-none-any.whl (126.5 kB view details)

Uploaded Python 3

File details

Details for the file neo_mamba-2.7.0.tar.gz.

File metadata

  • Download URL: neo_mamba-2.7.0.tar.gz
  • Upload date:
  • Size: 207.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for neo_mamba-2.7.0.tar.gz
Algorithm Hash digest
SHA256 04979c4e9a7a536e8fdc02d0ea01815ef1fb68d11a93b0ccc26e2992976bf1a3
MD5 5535d051f0e61c9054d366a67c0f168b
BLAKE2b-256 d16e00f370dd21ed8112faf13f1a978c57be0d99f046e5a430e809f410d67410

See more details on using hashes here.

File details

Details for the file neo_mamba-2.7.0-py3-none-any.whl.

File metadata

  • Download URL: neo_mamba-2.7.0-py3-none-any.whl
  • Upload date:
  • Size: 126.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for neo_mamba-2.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5211dc48e9776770283ebcd5cea975d1b02d78dcba180313ea53d4cd0721aa27
MD5 d3bb78bb46e20a88fcf5d4706a2184d4
BLAKE2b-256 36664ee582b43b6c36eabf2ba75b799b3fd9e27c5416edabb578611b93c1e357

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