Skip to content

felfele/erebos

 
 

Repository files navigation

Erebos CircleCI Gitter Last release

JavaScript client and CLI for Swarm.

Installation

Node.js v10+ is required to use the Node.js APIs and run the CLI.

Client library

yarn add @erebos/swarm-browser # browser-only
yarn add @erebos/swarm-node # node-only
yarn add @erebos/swarm # universal

CLI

npm install -g @erebos/cli

Packages

Name Version Description
Clients
@erebos/swarm npm version Universal Erebos library for Swarm
@erebos/swarm-browser npm version Browser-only Erebos library for Swarm
@erebos/swarm-node npm version Node-only Erebos library for Swarm
Individual APIs
@erebos/api-bzz-browser npm version Browser-only Swarm (BZZ) APIs
@erebos/api-bzz-node npm version Node-only Swarm (BZZ) APIs
@erebos/api-pss npm version Postal Services over Swarm (PSS) APIs
@erebos/timeline npm version Feed-based Timeline APIs
Utilities
@erebos/hex npm version Hexadecimal values encoding and decoding
@erebos/keccak256 npm version Keccak256 hashing
@erebos/secp256k1 npm version ECDSA key creation and signing using the SECP256k1 curve
@erebos/wallet-hd npm version Hierarchical Deterministic wallet
CLI
@erebos/cli npm version
Base classes
@erebos/api-bzz-base npm version Shared logic for Swarm (BZZ) APIs
@erebos/client-base npm version Shared logic for Client APIs

Development

Prerequisites

  • Node v10+ (includes npm)
  • Yarn (optional - faster alternative to npm)
  • Docker

Setup

yarn install
yarn bootstrap
yarn build

Running tests

In one terminal window run:

./start_swarm_node.sh

And in the second one run:

yarn test:all

License

MIT.
See LICENSE file.

About

JavaScript client and CLI for Swarm

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.9%
  • Other 1.1%