JS/TS Peer for the Fluence p2p network
Go to file
Pavel Murygin bf7b523660 tmp tmp
2022-05-13 12:52:56 +03:00
.github/workflows Sig service redesign (#126) 2022-02-04 22:39:41 +03:00
aqua WIP 2022-05-11 11:38:31 +03:00
docs Marine JS: add configuration for setting logging level in marine services (#151) 2022-04-24 10:49:57 +03:00
playground WIP 2022-05-11 11:38:31 +03:00
src tmp tmp 2022-05-13 12:52:56 +03:00
.eslintrc.js Tetraplets (#1) 2020-12-23 17:24:22 +03:00
.gitignore Add playground project 2022-05-04 13:45:28 +03:00
.npmignore Add playground project 2022-05-04 13:45:28 +03:00
.prettierrc.js Tetraplets (#1) 2020-12-23 17:24:22 +03:00
CONTRIBUTING.md Returned built-in Aquamarine calls, updated docs (#11) 2021-01-29 16:48:27 +03:00
jest.config.js Switching from AVM interpreter to AVM runner with background execution (#111) 2021-12-28 20:53:25 +03:00
LICENSE Returned built-in Aquamarine calls, updated docs (#11) 2021-01-29 16:48:27 +03:00
package-lock.json tmp tmp 2022-05-13 12:52:56 +03:00
package.json tmp tmp 2022-05-13 12:52:56 +03:00
README.md Update README.md: fix docker image tag (#116) 2021-12-17 17:19:43 +03:00
tsconfig.json tmp tmp 2022-05-13 12:52:56 +03:00
typedoc.json Documentation update (#83) 2021-09-27 22:11:35 +03:00
typedoc.md Documentation update (#83) 2021-09-27 22:11:35 +03:00
webpack.config.js Add playground project 2022-05-04 13:45:28 +03:00

Fluence JS

npm

Official TypeScript implementation of the Fluence Peer.

Getting started

To start developing applications with Fluence JS refer to the official documentation

Contributing

While the project is still in the early stages of development, you are welcome to track progress and contribute. As the project is undergoing rapid changes, interested contributors should contact the team before embarking on larger pieces of work. All contributors should consult with and agree to our basic contributing rules.

Setting up dev environment

Install node packages

npm install

Running tests

Tests are split into unit and integration categories. By default integration tests require a locally running Fluence node with 4310 port open for ws connections. The dependency can be started with docker

 docker run --rm -e RUST_LOG="info" -p 1210:1210 -p 4310:4310 fluencelabs/fluence -t 1210 -w 4310 -k gKdiCSUr1TFGFEgu2t8Ch1XEUsrN5A2UfBLjSZvfci9SPR3NvZpACfcpPGC3eY4zma1pk7UvYv5zb1VjvPHwCjj

To run all tests in interactive mode

npm run test

To run only unit tests

npm run test:unit

To run only integration tests

npm run test:unit

To run all tests

npm run test:all

License

Apache 2.0