examples/Readme.md

29 lines
2.2 KiB
Markdown
Raw Normal View History

2021-02-25 17:50:20 +00:00
# Examples
2021-02-25 19:24:28 +00:00
2021-06-30 00:27:09 +00:00
This repo holds a collection of examples on how to build distributed applications with the Fluence stack.
The `aqua-examples` directory contains examples demonstrating the use of Aqua to compose decentralized applications from distributed services, whereas the `marine-examples` directory contains examples with respect to the development of Rust Wasm modules.
2021-08-07 21:32:56 +00:00
If you encounter a problem, please post an Issue or open a PR. If you want to contribute an example, please contact us by opening an Issue or a draft PR. See the [contribution guidelines](https://github.com/fluencelabs/fluence/blob/master/CONTRIBUTING.md).
2021-02-25 19:24:28 +00:00
2022-02-04 07:15:41 +00:00
## Resource Directory
2022-07-08 07:58:05 +00:00
* The [IPFS Integration](./aqua-examples/aqua-ipfs-integration/) shows how to use the [aqua-ipfs](https://github.com/fluencelabs/aqua-ipfs) library to deploy single-module Wasm services to a Fluence node from a IPFS sidecar
2022-02-04 07:15:41 +00:00
* Fluence JS, Aqua
2022-06-20 23:35:21 +00:00
* The [Near Integration](./aqua-examples/near-integration/) provides integration examples for the Near API JS and RPC API. We use Fluence JS to implement a minimal Near signing service and wrap a few select RPC examples into a Wasm module.
2022-02-04 07:15:41 +00:00
* Fluence JS, Rust Wasm, Aqua
* The [Timestamp Oracle](./aqua-examples/ts-oracle) illustrates how to use builtin services to acquire timestamps from a node's Kademlia neighborhood and then process those timesstamps using Wasm services into point or range estimates.
* Aqua, Rust Wasm
* The [Price Oracle](./aqua-examples/price-oracle) provides a stylized example of how to create a price stream oracle using Rust Wasm services. Further provides a Fluent JS and Web client examples.
* Rust Wasm, Fluence JS, Aqua
2022-02-08 19:20:01 +00:00
* The [EIP712 Validator Node](https://github.com/fluencelabs/eip712-validation-node) provides a stylized example of validating signed EIP712 forms and storing the results in a local sqlite database. We use Fluence JS to implement both peer and client, where the peer expose sqlite crud interfaces allowing other peers to query validations and form a consensus.
2022-02-06 22:24:22 +00:00
* Rust Wasm, Fluence JS, Aqua, SQLite
2021-02-25 19:24:28 +00:00
## License
2021-06-30 00:27:09 +00:00
Unless otherwise indicated, the applicable license is [Apache 2.0](https://github.com/fluencelabs/fluence/blob/master/LICENSE).