examples/aqua-examples/aqua-ipfs-integration/web
renovate[bot] c8331cd79e
fix(deps): update dependency @fluencelabs/fluence-network-environment to v1.0.14 (#424)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-16 09:12:01 -06:00
..
images update img references 2021-09-04 18:20:01 -05:00
public Update Fluence JS to v0.23.0 (#267) 2022-04-27 15:23:57 +03:00
src update aqua deploy to config-path from data-path 2022-04-28 09:40:54 +02:00
.gitignore Update FluenceJS package version in all related projects (#43) 2022-02-09 15:17:24 +03:00
jest.config.js Integration tests for all JS-related projects (#97) 2022-02-22 23:20:45 +03:00
package.json fix(deps): update dependency @fluencelabs/fluence-network-environment to v1.0.14 (#424) 2023-02-16 09:12:01 -06:00
README.md update img references 2021-09-04 18:20:01 -05:00
tsconfig.json move ipfs example 2021-08-01 17:03:35 -05:00

IPFS Compute Web Demo

It's possible to implement any kind of computations on top of IPFS with Fluence. In this demo, we use a simple example that calculates size of a file. It's easily extendable to any kind of file processing or manipulation.

Connect to the Fluence Network

You're presented with 3 random relays, connect to any of them.

connect

Deploy a service from IPFS

You will download process_files.wasm from IPFS network to a Fluence node, and deploy it.

deploy

Call a function on the deployed service

You've just deployed ProcessFiles service. It allows you to query file size of a file downloaded from IPFS. Enter IPFS CID, and press get size button.

get file size

Observe the result

File size has been calculated, you can see it at the bottom of the web page.

observe file size