Getting started on a NEO SmartContract! – Hacker Noon

Step 1: Allow Linux subsystems on your windows machine!

Open Windows PowerShell and use the following commands:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Step 2: Download + Start up the Ubuntu environment

Open up the command prompt and initiate Ubuntu:


*set up your root username/password

Step 3: install python 3.6.5, run these commands on Ubuntu:

sudo -i
apt-get install software-properties-common python-software-properties
add-apt-repository ppa:deadsnakes/ppa
apt-get update
apt-get install python3.6 python3.6-dev python3.6-venv python3-pip libleveldb-dev libssl-dev g++

Step 4: installing NEO-Python

open up a new command prompt, and clone the neo-python project:

git clone

go back to the Ubuntu terminal:

cd /mnt//neo-python
python3.6 -m venv venv
source venv/bin/activate
pip install -e .

Step 5: run the NEO-Python prompt (from Ubuntu)!


you are now connected to the public NEO network! Next week, we will look into creating a private network where you and your friends can connect and deploy your first smart contract.

read original article here