1.0.4 • Published 5 years ago

veild-rpc v1.0.4

Weekly downloads
7
License
MIT
Repository
github
Last release
5 years ago

veild-rpc.js

A client library to connect to veild using RPC in JavaScript.

Get Started

veild-rpc.js runs on node, and can be installed via npm:

npm install veild-rpc

Examples

    const RpcClient = require('veild-rpc');

var run = function(){

    // Veild Configuration Object
    var RpcConfig = {
        protocol: 'http',
        user: 'veild',
        pass: 'somerandompassword',
        host: '127.0.0.1',
        port: '58812'
    };

    var rpc = new RpcClient(RpcConfig);

    // Get the total spendable balance of all coin derivitives.
    rpc.getspendablebalance(function(err, ret){
        if(err){
            console.log(err);
        }
        console.log(ret);
    });
}
run();
1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.0

5 years ago