# @bdeco/core

> BDCashProtocol Javascript Library for build Blockchain enabled applications.

Latest version **1.2.0** (published 2022-06-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @bdeco/core
pnpm add @bdeco/core
yarn add @bdeco/core
bun add @bdeco/core
```

Provides the command `bdeco`.

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2022-06-27 |
| First published | 2022-06-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 23 |
| Unpacked size | 216.6 KB |
| Known vulnerabilities | 0 (+25 in 3 direct dependencies) |
| Install scripts | no |
| Author | BDCashProtocol Ecosystem |
| Maintainers | bdeco |
| Keywords | blockchain, bdeco, bdecochain, bdcashprotocol ecosystem |

## Links

- npm: https://www.npmjs.com/package/@bdeco/core
- Repository: https://github.com/BdcashProtocol/bdeco-core
- Homepage: https://github.com/BdcashProtocol/bdeco-core#readme
- Issues: https://github.com/BdcashProtocol/bdeco-core/issues
- npm.io page: https://npm.io/package/@bdeco/core

## Dependencies (23)

- [uuid](https://npm.io/package/uuid.md) ^8.3.1
- [axios](https://npm.io/package/axios.md) ^0.21.0
- [ecdsa](https://npm.io/package/ecdsa.md) ^0.7.0
- [eckey](https://npm.io/package/eckey.md) ^1.0.1
- [hdkey](https://npm.io/package/hdkey.md) ^2.0.1
- [yargs](https://npm.io/package/yargs.md) ^16.1.1
- [ecurve](https://npm.io/package/ecurve.md) ^1.0.6
- [lodash](https://npm.io/package/lodash.md) ^4.17.20
- [mathjs](https://npm.io/package/mathjs.md) ^8.0.1
- [node-rsa](https://npm.io/package/node-rsa.md) ^1.1.1
- [binstring](https://npm.io/package/binstring.md) ^0.2.1
- [crypto-js](https://npm.io/package/crypto-js.md) ^4.0.0
- [ripemd160](https://npm.io/package/ripemd160.md) ^2.0.2
- [secp256k1](https://npm.io/package/secp256k1.md) ^4.0.2
- [socket.io](https://npm.io/package/socket.io.md) ^3.0.3
- [create-hash](https://npm.io/package/create-hash.md) ^1.2.0
- [@bdeco/bip39](https://npm.io/package/@bdeco/bip39.md) ^1.0.0
- [secure-random](https://npm.io/package/secure-random.md) ^1.1.2
- [@bdeco/coinkey](https://npm.io/package/@bdeco/coinkey.md) ^1.0.0
- [crypto-hashing](https://npm.io/package/crypto-hashing.md) ^1.0.0
- [browser-cookies](https://npm.io/package/browser-cookies.md) ^1.2.0
- [socket.io-client](https://npm.io/package/socket.io-client.md) ^3.0.3
- [transaction-hex-decoder](https://npm.io/package/transaction-hex-decoder.md) ^1.0.2

## Recent versions

- 1.2.0 (latest) — 2022-06-27
- 1.1.0 — 2022-06-27
- 1.0.0 — 2022-06-13

## README

# BDCash-Core NPM

<h2 style="text-align: center;"><a id="user-content-bdcash-identity-framework" class="anchor" href="https://github.com/BDCashProtocol/bdcash-identity-framework/new/master?readme=1#bdcash-identity-framework" aria-hidden="true"></a><strong>BDCash Core</strong></h2>
<p style="text-align: center;">JS implementation of main wallet features.</p>


<br>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.

---
_Source: https://npm.io/package/@bdeco/core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
