-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into bump-spell
- Loading branch information
Showing
7 changed files
with
196 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
## Contribute Code | ||
|
||
You are welcome to contribute to Fluence. | ||
You are welcome to contribute to Fluence! | ||
|
||
Things you need to know: | ||
|
||
1. You need to **agree to the Contributors License Agreement**. This is a common practice in all major Open Source projects. At the current moment we are unable to accept contributions made on behalf of a company. Only individual contributions will be accepted. | ||
2. **Not all proposed contributions can be accepted**. Some features may e.g. just fit a third-party add-on better. The contribution must fit the overall direction of Fluence and really improve it. The more effort you invest, the better you should clarify in advance whether the contribution fits: the best way would be to just open an issue to discuss the contribution you plan to make. | ||
1. You need to **agree to the [Contributor License Agreement](https://gist.github.com/fluencelabs-org/3f4cbb3cc14c1c0fb9ad99d8f7316ed7) (CLA)**. This is a common practice in all major Open Source projects. At the current moment, we are unable to accept contributions made on behalf of a company. Only individual contributions will be accepted. | ||
|
||
2. **Not all proposed contributions can be accepted**. Some features may, e.g., just fit a third-party add-on better. The contribution must fit the overall direction of Fluence and really improve it. The more effort you invest, the better you should clarify in advance whether the contribution fits: the best way would be to just open an issue to discuss the contribution you plan to make. | ||
|
||
### Contributor License Agreement | ||
|
||
When you contribute, you have to be aware that your contribution is covered by **Apache License 2.0**, but might relicensed under few other software licenses mentioned in the **Contributor License Agreement**. | ||
In particular you need to agree to the [Contributor License Agreement](https://gist.github.com/fluencelabs-org/3f4cbb3cc14c1c0fb9ad99d8f7316ed7). If you agree to its content, you simply have to click on the link posted by the CLA assistant as a comment to the pull request. Click it to check the CLA, then accept it on the following screen if you agree to it. CLA assistant will save this decision for upcoming contributions and will notify you if there is any change to the CLA in the meantime. | ||
When you contribute, you have to be aware that your contribution is covered by **[Apache License 2.0](./LICENSE)**, but might relicensed under few other software licenses mentioned in the **Contributor License Agreement**. In particular, you need to agree to the Contributor License Agreement. If you agree to its content, you simply have to click on the link posted by the CLA assistant as a comment to the pull request. Click it to check the CLA, then accept it on the following screen if you agree to it. The CLA assistant will save this decision for upcoming contributions and will notify you if there is any change to the CLA in the meantime. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,43 @@ | ||
# Fluence Project | ||
# Rust Peer | ||
|
||
**Fluence is a peer-to-peer computing protocol and a software licensing | ||
system.** | ||
Rust Peer is the reference implementation of the [Fluence](https://fluence.network) peer. It is used as a Relay for all Clients and as a Host for all Workers. | ||
|
||
_The project is a work in progress!_ | ||
|
||
[fluence.network](https://fluence.network) | ||
## Installation and Usage | ||
|
||
See the [Vision manifesto](http://fluence.one/manifesto.html), follow updates on | ||
[Twitter](https://twitter.com/fluence_project) or subscribe to the | ||
[newsletter](https://fluence.network/). | ||
Rust peer is distributed in [rust-peer-distro repo](https://github.com/fluencelabs/rust-peer-distro) as a [docker image](https://github.com/fluencelabs/rust-peer-distro/releases). To start a local instance of Rust peer, run: | ||
|
||
For documentation, go [here](https://fluence.dev/) | ||
```bash | ||
docker pull fluencelabs/rust-peer:latest | ||
docker run -d --name fluence -e RUST_LOG="info" -p 7777:7777 -p 9999:9999 fluencelabs/rust-peer:latest --local --keypair-value=gKdiCSUr1TFGFEgu2t8Ch1XEUsrN5A2UfBLjSZvfci9SPR3NvZpACfcpPGC3eY4zma1pk7UvYv5zb1VjvPHwCjj | ||
``` | ||
|
||
# Fluence stack | ||
This will setup a network of one Rust peer and an IPFS sidecar, not connected to any other network. Next, run some [Aqua](https://github.com/fluencelabs/aqua) against it: | ||
|
||
| Layer | Tech | Scale | State | Based on | | ||
| :-------------------: | :------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------: | :-------------------------------: | :----------------------------------------------------------------------------------------------------------: | | ||
| Execution | [Marine](https://github.com/fluencelabs/marine) | Single peer | Disk, network, external processes | Wasm, [IT](https://github.com/fluencelabs/interface-types), [Wasmer*](https://github.com/fluencelabs/wasmer) | | ||
| Composition | [Aqua](https://github.com/fluencelabs/aqua) | Involved peers | Results and signatures | ⇅, π-calculus | | ||
| Topology | [TrustGraph](https://github.com/fluencelabs/fluence/tree/master/trust-graph), [DHT*](https://github.com/fluencelabs/rust-libp2p) | Distributed with Kademlia* algo | Actual state of the network | [libp2p](https://github.com/libp2p/rust-libp2p) | | ||
| Security & Accounting | Blockchain | Whole network | Licenses & payments | substrate? | | ||
```bash | ||
npm i -g @fluencelabs/aqua@unstable | ||
aqua remote list_modules --addr /ip4/127.0.0.1/tcp/9999/ws/p2p/12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3 | ||
``` | ||
|
||
<br/> | ||
For more info about the docker image (image version flavours, environment variables, deployment examples) and documentation for Rust peer operators, see the [rust-peer-distro](https://github.com/fluencelabs/rust-peer-distro) repository. | ||
|
||
<p width="100%"> | ||
<img alt="aquamarine scheme" align="center" src="images/aqua_marine_stack.png"/> | ||
</p> | ||
|
||
## Quick summary | ||
## Documentation | ||
|
||
Fluence protocol aims to empower internet applications with interoperability, | ||
resilience, and security. Fluence makes it possible to publish, run, compose, | ||
and monetize applications without intermediaries or central servers. | ||
Comprehensive documentation on everything related to Fluence can be found [here](https://fluence.dev/). Check also our [YouTube channel](https://www.youtube.com/@fluencelabs). | ||
|
||
- **Fluence** is an open runtime for internet applications. A purely | ||
peer-to-peer architecture allows to build distributed applications without | ||
reliance on centralized platforms. Fluence incorporates concepts of Web of | ||
Trust, DPKI, S/Kademlia, and is built with libp2p and WebAssembly. | ||
- **Fluence** is a business model for the open source. Fluence enables the | ||
blockchain-based software licensing system, allowing authors to earn income | ||
from their applications usage over the protocol. The infrastructure | ||
maintenance is outsourced to the open market of compute providers via the Open | ||
Source as a Service (OSaaS) model. | ||
|
||
## Run | ||
## Support | ||
|
||
### Prebuilt docker image | ||
Please, file an [issue](https://github.com/fluencelabs/rust-peer/issues) if you find a bug. You can also contact us at [Discord](https://discord.com/invite/5qSnPZKh7u) or [Telegram](https://t.me/fluence_project). We will do our best to resolve the issue ASAP. | ||
|
||
```bash | ||
docker run -d --name fluence -e RUST_LOG="info" -p 7777 -p 9999 fluencelabs/fluence | ||
``` | ||
|
||
Ports will be assigned randomly by your OS. | ||
## Contributing | ||
|
||
Any interested person is welcome to contribute to the project. Please, make sure you read and follow some basic [rules](./CONTRIBUTING.md). The Contributor License Agreement can be found [here](./FluenceCLA). | ||
|
||
## **Contributing** | ||
|
||
While the project is a still in the early stage of development, you are welcome | ||
to track progress and contribute. At the current moment we don't have detailed | ||
instructions on how to join development or which code guidelines to follow. | ||
However, you can expect more info to appear soon enough. In the meanwhile, check | ||
out the [basic contributing rules](CONTRIBUTING.md). | ||
## License | ||
|
||
## **License** | ||
All software code is copyright (c) Fluence Labs, Inc. under the [Apache-2.0](./LICENSE) license. | ||
|
||
[Apache 2.0](LICENSE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.