examples/aqua-examples/aqua-ipfs-integration
2021-09-01 18:32:57 -05:00
..
2021-08-18 11:37:09 +03:00
2021-08-01 17:03:35 -05:00
2021-09-01 18:32:57 -05:00
2021-08-12 18:13:53 +03:00
2021-08-01 17:03:35 -05:00
2021-08-18 11:37:09 +03: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

Web example

  1. Run it
cd web
npm i
npm start
  1. Press "deploy"
  2. Copy WASM service CID and press "get_size"

NodeJS example

cd nodejs
npm i
npm start

Aqua implementation

The business logic is implemented in Aqua in process.aqua