JS/TS Peer for the Fluence p2p network
Go to file
2022-03-01 17:54:46 +03:00
.github/workflows Sig service redesign (#126) 2022-02-04 22:39:41 +03:00
aqua Sig service redesign (#126) 2022-02-04 22:39:41 +03:00
docs Sig service redesign (#126) 2022-02-04 22:39:41 +03:00
src Fix copy-avm-public script (#134) 2022-02-23 19:01:05 +03:00
.eslintrc.js Tetraplets (#1) 2020-12-23 17:24:22 +03:00
.gitignore Documentation update (#83) 2021-09-27 22:11:35 +03:00
.npmignore Builtin methods, update aquamarine (#960) 2020-10-23 14:01:21 +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 Update AVM version to 0.21.0 (#135) 2022-03-01 17:54:46 +03:00
package.json Update AVM version to 0.21.0 (#135) 2022-03-01 17:54:46 +03:00
README.md Update README.md: fix docker image tag (#116) 2021-12-17 17:19:43 +03:00
tsconfig.json Update JS SDK API to the new version (#61) 2021-09-08 12:42:30 +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

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