An open API service indexing awesome lists of open source software.

https://github.com/anzerr/banano.network

🍌ba/nano network client in nodejs
https://github.com/anzerr/banano.network

banano network nodejs util

Last synced: 2 months ago
JSON representation

🍌ba/nano network client in nodejs

Awesome Lists containing this project

README

          

## `Intro`
![GitHub Actions status | publish](https://github.com/anzerr/banano.network/workflows/publish/badge.svg)

A util to interface with the banano network with NodeJS event system.

#### `Install`
``` bash
npm install --save git+https://github.com/anzerr/banano.network.git
npm install --save @anzerr/banano.network
```

### `State`
Usable in its current state see example for ways to use it.

### `Udp support`
| Name | Done |
| :--------------- | :--- |
| Keep alive | ✓ |
| Publish | ✓ |
| Confirm Req | ✓ |
| Confirm ACK | ✓ |

### `TCP support`
| Name | Done |
| :-------------------- | :--- |
| Bulk Pull | ✓ |
| Bulk Push | ✗ |
| Frontier Req | ✓ |
| Bulk Pull Blocks | ✓ |

## `Weird stuff`

#### `Frontier Req`
Has a count value that has no effect on how many entries that are streamed back.
The age is in seconds and is how long ago that frontier was modified on that node.

#### `Bulk Pull Blocks`
This will always respond with an invalid block ending the stream. This is not currently working or implemented?
in the version of the nodes I've tested.

#### `Bulk pull`
This will be added later after for the moment I've not dug into the project to understand how it's used.