examples/aqua-examples/aqua-ipfs-integration
dependabot[bot] f86f86959a
Bump @fluencelabs/aqua-ipfs in /aqua-examples/aqua-ipfs-integration (#349)
Bumps [@fluencelabs/aqua-ipfs](https://github.com/fluencelabs/aqua-ipfs/tree/HEAD/aqua) from 0.5.2 to 0.5.5.
- [Release notes](https://github.com/fluencelabs/aqua-ipfs/releases)
- [Commits](https://github.com/fluencelabs/aqua-ipfs/commits/v0.5.5/aqua)

---
updated-dependencies:
- dependency-name: "@fluencelabs/aqua-ipfs"
  dependency-type: direct:production
  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-06-30 15:11:47 -05:00
..
2021-08-01 17:03:35 -05:00
2022-06-30 14:36:49 -05:00
2022-05-18 01:04:25 -05:00
2021-08-01 17:03:35 -05:00
2022-06-30 14:36:49 -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