nebulasio / neb.js

GNU Lesser General Public License v3.0
83 stars 46 forks source link

Neb API arguments check #16

Open qywang2012 opened 6 years ago

qywang2012 commented 6 years ago

Nebulas currently have a usable js version to create the wallet address and send the transaction. Neb. js implements all the RPC interfaces of the Nebulas, but none of these interfaces currently add parameter validation.

We should add parameter validation to these interfaces and functions.

RPC interfaces:

Functions

qywang2012 commented 6 years ago

Can some guys give help for the parameter check?

ChengOrangeJu commented 6 years ago

Issue status update: Help is still needed from community :)

catalsdevelop commented 6 years ago

can we improve this with a typescript definition file?