> For the complete documentation index, see [llms.txt](https://biot-ws.gitbook.io/biot-core/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://biot-ws.gitbook.io/biot-core/getting-started/installation.md).

# Installation

## BIoT-Core

<https://github.com/BIoTws/biot-core>

For installation you need:

1. Any system what supported node.js
2. Node.js

### Installing

```bash
$ npm install biot-core
```

#### Using

{% tabs %}
{% tab title="Async" %}

```javascript
const core = require('biot-core');

async function start() {
	await core.init('test');

	console.error('wallets:', await core.getWallets());
}

start().catch(console.error);
```

{% endtab %}

{% tab title="Promise" %}

```javascript
const core = require('biot-core');

core.init('test').then(() => {
	return core.getWallets();
}).then(wallets => {
	console.error('wallets:', wallets);
}).catch(console.error);
```

{% endtab %}
{% endtabs %}

{% hint style="warning" %}
'test' in "init" is passphrase. It is not safe to pass it directly into the code. Please use arguments or other method
{% endhint %}

## BIoT-RPC

<https://github.com/BIoTws/biot-rpc>

### Install

```bash
$ git clone https://github.com/BIoTws/biot-rpc
$ cd biot-rpc
$ npm install
```

If you are launching on testnet execute:

```bash
$ ./testnetify.sh
```

### Launch

```bash
$ node server
```

## **BIoT-WSocket**

[**https://github.com/BIoTws/biot-wsocket**](https://github.com/BIoTws/biot-wsocket)

### Install

```bash
$ git clone https://github.com/BIoTws/biot-wsocket
$ cd biot-wsocket
$ npm install
```

\
If you are launching on testnet execute:

```
$ ./testnetify.sh
```

### Launch <a href="#zapusk" id="zapusk"></a>

```
$ node server
```

## BIoT-CLI

<https://github.com/BIoTws/biot-cli>

### Install

```bash
$ sudo npm install -g https://github.com/BIoTws/biot-cli
$ cd biot-cli
$ npm install
```

### Examples

```bash
$ biot-core --help
$ biot-core getWallets
```
