blind-peer-encodings
Version:
Blind-peer encodings
36 lines (19 loc) • 722 B
Markdown
Blind Peer Encodings
The encodings used by [Blind Peer](https://github.com/holepunchto/blind-peer) and its client [Blind Peering](https://github.com/holepunchto/blind-peering).
# Install
```
npm i blind-peer-encodings
```
# API
### `BlindPeerEncodings.definition`
The blind-peer Hyperdb definition
### `BlindPeerEncodings.schema`
The blind-peer Hyperdb schema
### `BlindPeerEncodings.PostToMailboxEncoding`
The encoding for the blind-peer `addMailbox` RPC.
### `BlindPeerEncodings.AddCoreEncoding`
The encoding for the blind-peer `post` RPC.
### `BlindPeerEncodings.Mailbox`
The encoding of a mailbox in the hyperdb.
### `BlindPeerEncodings.BlindPeerError`
Class with blind-peer-specific errors.