@bdeco/core
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

BDCash-Core NPM

BDCash Core

JS implementation of main wallet features.


This is the main client side library of BDCash Blockchain, written in NodeJS.

You can use this version by installing it directly from npm:

npm install --save @bdeco/core

Use your own Nodesh

To override the Nodesh list you've to rewrite the array like this:

let BDCashCore = require('@bdeco/core')
let bdcash = new BDCashCore
bdcash.staticnodes = true
bdcash.mainnetNodesh = ['http://localhost:3001', 'https://anothernode.com']

BDCash-Core CLI (WIP)

If you want to use the module as a CLI you have to run:

sudo npm link

Then you'll be able to run commands like: bdcash getinfo

This feature is a work in progress and will be released soon.

Package Sidebar

Install

npm i @bdeco/core

Weekly Downloads

0

Version

1.2.0

License

MIT

Unpacked Size

222 kB

Total Files

24

Last publish

Collaborators

  • bdeco