Skip to content

bedri/KTWalletRPC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kristal Teknoloji Wallet RPC Library

Original project is at https://github.com/dashpay/dashd-rpc.

This project is based on @dashday/dashd-rpc and is just a wrapper around the original library.

Using in your project

  1. Run npm install @kristal/kt-wallet-rpc
  2. Example usage:
        var ktWalletRPC = require('@kristal/kt-wallet-rpc')
    
        // Setting up Kyanite (KYAN) wallet rpc config.
        // Here the port is the rpcport in the wallet config file.
        ktWalletRPC.walletConf.KYAN = {
            protocol: 'http',
            host: '127.0.0.1',
            port: 7758,
            user: 'user',
            pass: 'pass'
        }
    
        var cb = (err, data) => {
            console.log(data)
        }
    
        ktWalletRPC.walletCommands.getInfo('KYAN', cb)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published