Post
Topic
Board Announcements (Altcoins)
Re:                                                                             RISE
by
RiseVision
on 22/09/2016, 14:55:41 UTC
Rise Documentation for the Node.JS, Python and C# SDK's are Published.

Rise Node.js SDK Introduction

All methods in the SDK will return an object. The object will always include "success" and "error" keys.

"success" : True or False dependent on success.
"error" : Provided when response is unsuccessful.
Each SDK entry contains an example call to help provide understanding of how to use the call. The examples also include
Code:
; use this for easy identification of what needs to be changed for the call to function.

Basics

Whenever you use the SDK you will need to import it into whatever code you are working on. After which you will need to set the host. Below is an example of importing the risesdk for use and setting the host to localhost on port 4444.
Code:
var risesdk = require("risesdk");
risesdk.nodeAddress = "localhost:4444";

Accounts


SDK methods related to Account functionality.

Open account

Request information about an account.

Code:
risesdk.api.accounts.open("", callback)



To read on and access all documentation head over to our wiki: https://github.com/RiseVision/Rise-SDK-NodeJS/wiki