CityOfZion / neon-js

Javascript libraries that allow the applications to interact with NEO blockchain
https://docs.coz.io/neo3/neon-js/index.html
MIT License
184 stars 166 forks source link

API / RPC refactor #37

Closed snowypowers closed 7 years ago

snowypowers commented 7 years ago

This refactor will split the NeonDB's API methods away from NEO RPC methods, allowing this library to be more flexible and less biased. NeonDB's methods can be seen as examples on how to use NeonJS methods.

RPC

API

Ejhfast commented 7 years ago

Sounds great! One way we might want to generalize API is to give it enough flexibility to support multiple light wallet backends (e.g., maybe neoscan in addition to api.neonwallet). Not to be implemented now per se, but to make such integration easy in future. This would dramatically reduce the probability of the library (and wallet) breaking for end users