diff --git a/aqua-examples/aqua-ipfs-integration/readme/ipfs_comp_web_1.png b/aqua-examples/aqua-ipfs-integration/readme/ipfs_comp_web_1.png new file mode 100644 index 0000000..5576804 Binary files /dev/null and b/aqua-examples/aqua-ipfs-integration/readme/ipfs_comp_web_1.png differ diff --git a/aqua-examples/aqua-ipfs-integration/readme/ipfs_comp_web_2.png b/aqua-examples/aqua-ipfs-integration/readme/ipfs_comp_web_2.png new file mode 100644 index 0000000..3c14de0 Binary files /dev/null and b/aqua-examples/aqua-ipfs-integration/readme/ipfs_comp_web_2.png differ diff --git a/aqua-examples/aqua-ipfs-integration/readme/ipfs_comp_web_3.png b/aqua-examples/aqua-ipfs-integration/readme/ipfs_comp_web_3.png new file mode 100644 index 0000000..ae128bb Binary files /dev/null and b/aqua-examples/aqua-ipfs-integration/readme/ipfs_comp_web_3.png differ diff --git a/aqua-examples/aqua-ipfs-integration/readme/ipfs_comp_web_4.png b/aqua-examples/aqua-ipfs-integration/readme/ipfs_comp_web_4.png new file mode 100644 index 0000000..8afa49a Binary files /dev/null and b/aqua-examples/aqua-ipfs-integration/readme/ipfs_comp_web_4.png differ diff --git a/aqua-examples/aqua-ipfs-integration/web/README.md b/aqua-examples/aqua-ipfs-integration/web/README.md index 580df09..44ddc86 100644 --- a/aqua-examples/aqua-ipfs-integration/web/README.md +++ b/aqua-examples/aqua-ipfs-integration/web/README.md @@ -1,2 +1,26 @@ -# Getting Started with Fluence +# 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](/readme/ipfs_comp_web_1.png) + +## Deploy a service from IPFS +You will download `process_files.wasm` from IPFS network to a Fluence node, and deploy it. + +![deploy](/readme/ipfs_comp_web_2.png) + +## Call a function on the deployed service + +You've just deployed [ProcessFiles](/aqua/src/process_files.aqua) 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](/readme/ipfs_comp_web_3.png) + +## Observe the result + +File size has been calculated, you can see it at the bottom of the web page. + +![observe file size](/readme/ipfs_comp_web_4.png)