mirror of
https://github.com/fluencelabs/fluence-network-environment
synced 2024-12-03 15:50:17 +00:00
f2c57ea1d0
* Update readme * faasNet -> TestNet |
||
---|---|---|
.github/workflows | ||
doc | ||
src | ||
.gitignore | ||
.npmignore | ||
.prettierrc.js | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
Fluence network environment
Officially maintained list of well-known Fluence network nodes. The package is meant to be used in combination with Fluence JS SDK.
Installation
With npm
npm install @fluencelabs/fluence-network-environment
With yarn
yarn add @fluencelabs/fluence-network-environment
Usage
Pick a node to connect to the Fluence network.
import { dev } from '@fluencelabs/fluence-network-environment';
export const relayNode = dev[0];
Which can be used to initialize the Fluence client (see Fluence JS SDK.)
import { createClient } from '@fluencelabs/fluence';
const client = await createClient(relayNode);
Known networks
dev
Unstable Several nodes running on the same physical host. Used a lot to test things out.
stage
Environment primarily used for staging deployments of various Fluence services.
TestNet
The main Fluence network. It consists of a ten nodes each running on a separate physical host.
About Fluence
Fluence is an open application platform where apps can build on each other, share data and users
Layer | Tech | Scale | State | Based on |
---|---|---|---|---|
Execution | FCE | Single peer | Disk, network, external processes | Wasm, IT, Wasmer* |
Composition | Aquamarine | Involved peers | Results and signatures | ⇅, π-calculus |
Topology | TrustGraph, DHT* | Distributed with Kademlia* algo | Actual state of the network | libp2p |
Security & Accounting | Blockchain | Whole network | Licenses & payments | substrate? |