A Python compiler for the Neo3 Virtual Machine
Project description
Write smart contracts for Neo3 in Python
Made by COZ.IO
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
- Open-source Apache 2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file neo3_boa-1.2.1.tar.gz
.
File metadata
- Download URL: neo3_boa-1.2.1.tar.gz
- Upload date:
- Size: 350.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 656b8b5843d5cc4ed69858d2545abad05fcc71dd48e0f4b884f28c8eb9521c60 |
|
MD5 | 332c020a13b5500fb7ed2d597bc90819 |
|
BLAKE2b-256 | 70d080064fbe28a4c5f74ad70a167ec8c29dfc7b02aecec6bf5220a8aa1ae977 |
File details
Details for the file neo3_boa-1.2.1-py3-none-any.whl
.
File metadata
- Download URL: neo3_boa-1.2.1-py3-none-any.whl
- Upload date:
- Size: 670.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 491ae4572ddb143659daf9533f050bd3e1e8a945c88bac7ce3ecd2fc9e9c2789 |
|
MD5 | dfa606df8cc99f7ef4bd99ec898bc3c8 |
|
BLAKE2b-256 | 8cca29327286666a666cc8d26b8468191ad681434658949d27672c9a519d35f7 |