Skip to content

remmelgas/biot-rpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

biot-rpc

The library for initializing the rpc connection, in conjunction with biot-core, is used for remote invocation of async / await functions.



How to install


downloads project files

> git clone https://github.com/remmelgas/biot-rpc

install dependencies

> npm install
> ./testnetify.sh

run server

> node server

Example client

For an example on nodejs, we will use the jayson library


> npm --save -i jayson



const jayson = require('jayson');


let stream = jayson.client.http({port: 4303});


stream.request('getMyDeviceWallets', function(err, state) {
    if(err) {
        throw err;
    }

    console.log(state.result);
});

terminal

> node example1

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published