examples/aqua-examples/aqua-ipfs-integration
dependabot[bot] 2df45f05be
Bump @fluencelabs/aqua in /aqua-examples/aqua-ipfs-integration/aqua (#321)
Bumps [@fluencelabs/aqua](https://github.com/fluencelabs/aqua) from 0.7.2-311 to 0.7.2-314.
- [Release notes](https://github.com/fluencelabs/aqua/releases)
- [Commits](https://github.com/fluencelabs/aqua/commits)

---
updated-dependencies:
- dependency-name: "@fluencelabs/aqua"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-26 02:02:02 -05:00
..
2021-08-01 17:03:35 -05:00
2022-05-18 01:04:25 -05:00
2021-08-01 17:03:35 -05:00
2022-02-08 14:01:15 -06:00

IPFS code execution example

This example showcases 2 things:

  1. how it's possible to store .wasm modules on IPFS, then deploy them to Fluence as a service
  2. ability to process IPFS files via a Fluence service. In this example, we get a size of a file

Learn about AquaIPFS

See Aqua Book.

How to run & use this example

You need npm v7 or later to run the examples

Web example

  1. Run it

    npm i
    npm run build -w aqua
    npm start -w web
    
  2. Press "deploy"

  3. Copy WASM service CID and press "get_size"

NodeJS example

npm i
npm run build -w aqua
npm start -w nodejs

Aqua implementation

The business logic is implemented in Aqua in process.aqua