Go to file
renovate[bot] 86c9252fb4
chore(deps): update dependency @fluencelabs/cli to v0.4.20 (#456)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 15:08:38 -05:00
.github chore: Update CI (#446) 2023-05-08 16:52:28 +03:00
aqua-examples fix(deps): update fluence js (#455) 2023-07-11 19:20:27 -05:00
archived archive ceramic example 2023-02-28 18:02:32 -07:00
community Update README.md (#416) 2023-02-07 16:49:25 -06:00
js-client-examples chore(deps): update dependency @fluencelabs/cli to v0.4.20 (#456) 2023-07-13 15:08:38 -05:00
marine-examples chore(deps): update rust crate marine-rs-sdk-test to 0.10.0 (#449) 2023-05-26 18:04:42 -05:00
quickstart chore(deps): update dependency @fluencelabs/cli to v0.4.20 (#456) 2023-07-13 15:08:38 -05:00
.gitignore Web ui for price oracle (#12) 2021-07-19 17:36:54 -05:00
Readme.md archive ceramic example 2023-02-28 18:02:32 -07:00

Examples

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.

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.

Resource Directory

  • The IPFS Integration shows how to use the aqua-ipfs library to deploy single-module Wasm services to a Fluence node from a IPFS sidecar

    • Fluence JS, Aqua
  • The 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.

    • Fluence JS, Rust Wasm, Aqua
  • The Timestamp 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 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
  • The EIP712 Validator 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.

    • Rust Wasm, Fluence JS, Aqua, SQLite

License

Unless otherwise indicated, the applicable license is Apache 2.0.