CityOfZion / neo-python

Python Node and SDK for the NEO 2.x blockchain. For NEO 3.x go to our successor project neo-mamba
https://neo-python.readthedocs.io/en/latest/
MIT License
313 stars 189 forks source link

Lightweight SDK API #883

Open ixje opened 5 years ago

ixje commented 5 years ago

This is a roadmap milestone item. See the Roadmap project on the side bar for more information where it fits in the bigger picture. See the Lightweight SDK API project on the side bar for a breakdown of items and progress.

Rationale

Current users seeking to interact with the NEO Blockchain through Python have a steep learning curve ahead when having to use neo-python (as a result of suboptimal documentation). On top of that they’ll likely have to run their own full node which is not always needed or more important wanted/possible.

In order to ease their entry into the NEO ecosystem via Python we want to support a light weight API that acts more like Neon-js and NeoModules. These rely on public RPC nodes, NeoScan and alike for providing Blockchain related data and broadcasting capabilities.

lock9 commented 5 years ago

Hello. I'm working on this task. I'm porting neo-modules(https://github.com/CityOfZion/NeoModules) to python: https://github.com/simplitech/neo-modules-python

So far I implemented Neo RPC and Neo Scan, I have unit tests for both: https://github.com/simplitech/neo-modules-python/blob/master/NeoModules/RPC/RPCTests.py https://github.com/simplitech/neo-modules-python/blob/master/NeoModules/Rest/NeoScan/NeoScanTests.py

A few conditions I couldn't test, but I implemented tests for almost everything possible