Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrapping this library up as an npm package #5

Open
pramttl opened this issue Dec 26, 2017 · 4 comments
Open

Wrapping this library up as an npm package #5

pramttl opened this issue Dec 26, 2017 · 4 comments

Comments

@pramttl
Copy link

pramttl commented Dec 26, 2017

@SergiySW : It would be great to have a wonderful library like this wrapped up as an npm package to enable easy use by third-party developers, along with documentation for the API functions. I tried skimming through some of the functions in the .rpc.js but the function signatures are not completely clear by looking at them, (also the RaiBlocks RPC wiki does not have a definitions section so that makes the functions in this library even harder to understand).

Documentation for this library would be really nice as it would enable API use by third party developers. Also, cc-ing: @clemahieu if this library could be put under a Github Raiblocks org account or something ? An "official" looking JS API library for RaiBlocks RPC calls would be great.

@SergiySW
Copy link
Owner

Functions to create blocks?

I think it's good idea add to npm with npm blake2 implementation if I have time...

@orrybaram
Copy link

orrybaram commented Dec 31, 2017

@SergiySW I've forked the project and looking to set it up as an npm package. I'm running into an issue when trying to test it out though. Is there documentation for how to setup (what I'm assuming is a node) the localhost server? I have the official wallet, but I think that RPC isn't setup by default. I also tried running the docker project (https://github.com/clemahieu/raiblocks/wiki/Docker-node) but still had trouble getting it working. Any advice? Really looking forward to contributing :)

Also while testing out the community script, it seemed like https://raiblockscommunity.net was down?

@orrybaram
Copy link

@pramttl @SergiySW I have begun work on updating this library. It's still very much a work in progress, but you can check out progress here orrybaram#1

@orrybaram
Copy link

#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants