0.0.14 • Published 5 years ago

komodo-rpc-lib v0.0.14

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Warning: This is an es6 module project that was used in a web project for a proof of concept. It's not maintained at the moment. For NodeJS better to use @gcharang library. A lot more lightweight and supported.

Warning: error handling not completed.

Functions look like this when not implemented. If you happen to know what you want to do, remove the reject line, uncomment the remaining code inside the promise and implement yourself. Submit a PR if you could be so kind :)

// createrawtransaction [{"txid":"id","vout":n},...] {"address":amount,...}
export function createrawtransaction(rpc) {
    return new Promise((resolve, reject) => {
        // rpc.createrawtransaction().then(resp => {
        //     resolve(resp)
        // }).catch(error => {
        //     console.log(error)
        //     reject(error)
        // })
        reject("createrawtransaction - Not supported yet")
    })
}
git clone THIS_REPO
cd komodo-rpc-lib
npm install
npm run start

Need to do this atm during current dev cycle

 babel ./ --out-dir dist2/ --ignore ./node_modules,./.babelrc,./package.json,./npm-debug.log --copy-files

and then

cd dist2
node index.js

Making the docs

 sudo npm install -g apidoc
 apidoc -i src/ -o apidoc/
0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.5

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.4

5 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago