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.2.0.tar.gz (350.5 kB view details)

Uploaded Source

Built Distribution

neo3_boa-1.2.0-py3-none-any.whl (670.2 kB view details)

Uploaded Python 3

File details

Details for the file neo3_boa-1.2.0.tar.gz.

File metadata

  • Download URL: neo3_boa-1.2.0.tar.gz
  • Upload date:
  • Size: 350.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for neo3_boa-1.2.0.tar.gz
Algorithm Hash digest
SHA256 824aa9a5b306ca32584bd1913d07469b3f689958c7ca5f9ba7dc57cd2970ad64
MD5 f430e0f193e5683c754b1c7f4c1fdd7c
BLAKE2b-256 4bf56ff8b3e20bda7b15906111892a39e7823f2bf82fed51124d083b023960e8

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: neo3_boa-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 670.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for neo3_boa-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02a153bebd58f7a14dd7a5c9cf51d8310aa3de3ae151218640e4f82297523ea1
MD5 ffceac9bf09f09a3d921b18c0e943fcc
BLAKE2b-256 4bd6ce2f720ddb6b0f6ecbac47f62f6f2885af01dfff90251d80610a70e4533d

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