Skip to main content

A Python compiler for the Neo3 Virtual Machine

Project description

Write smart contracts for Neo3 in Python
Made by COZ.IO

neo3-boa · neo-mamba · cpm

CircleCI. Coverage Status PyPI. Python Version. Licence.


Note: The latest release (v0.14.0) has breaking changes with contracts written using previous versions. Please refer to our migration guide to update your smart contracts.

Table of Contents

Overview

Neo3-Boa is a tool for creating Neo Smart Contracts using Python. It compiles .py files to .nef and .manifest.json formats for usage in the Neo Virtual Machine which is used to execute contracts on the Neo Blockchain.

Neo3-Boa is part of the Neo Python Framework, aimed to allow the full development of dApps using Python alone.

Quickstart

Installation requires Python 3.10 or later.

Installation

Make a Python 3 virtual environment and activate it:

On Linux / Mac OS:

$ python3 -m venv venv
$ source venv/bin/activate

On Windows:

$ python3 -m venv venv
$ venv\Scripts\activate.bat
Pip (Recommended)
Install Neo3-Boa using Pip:
$ pip install neo3-boa
Build from Source (Optional)

If Neo3-Boa is not available via pip, you can run it from source.

Clone Neo3-Boa:
$ git clone https://github.com/CityOfZion/neo3-boa.git
Install project dependencies:
$ pip install wheel
$ pip install -e .

Docs

Check out our getting started documentation to learn how to use the compiler. Also check our examples below for reference.

Reference Examples

For an extensive collection of examples:

Neo Python Suite Projects

  • Neo3-Boa: Python smart contracts' compiler.
  • neo3-mamba: Python SDK for interacting with Neo.

Contributing

Checkout our contributing file to see how you can contribute with our project.

License

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

neo3-boa-1.1.1.tar.gz (338.9 kB view details)

Uploaded Source

Built Distribution

neo3_boa-1.1.1-py3-none-any.whl (652.3 kB view details)

Uploaded Python 3

File details

Details for the file neo3-boa-1.1.1.tar.gz.

File metadata

  • Download URL: neo3-boa-1.1.1.tar.gz
  • Upload date:
  • Size: 338.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for neo3-boa-1.1.1.tar.gz
Algorithm Hash digest
SHA256 e673733190e3e3b590f844d99d2ad07b1fe12c49d824f629b6eafccd96dbed49
MD5 ea631294e458d04c88fdd88da10f7e62
BLAKE2b-256 b407483ae36f79bdad5b35ccfa3c2e382c135cb0b204cd50b0b32ca04bd250bf

See more details on using hashes here.

Provenance

File details

Details for the file neo3_boa-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: neo3_boa-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 652.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for neo3_boa-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a949db52ebcb6c1c892084732433e997b5bf3c4e3d89731a81d054c88e993d9e
MD5 d40dcd05ad557d194999c1234fd47a3c
BLAKE2b-256 ae20ab9c7962759ced101a1c8d98cc3d9bef81d265e2c3d44a5171bf6cae5cf6

See more details on using hashes here.

Provenance

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