examples/marine-examples/url-downloader
boneyard93501 c991d0d153
Remove fldist from examples (#69)
* bump aqua version

* remove fldist env

* fldist env to aqua env

* update from fldist to aqua run

* update aqua
2022-02-16 09:21:21 -07:00
..
artifacts Reorg (#10) 2021-07-16 02:04:18 -05:00
curl_adapter Add multiservice marine_test example (#25), update crate versions 2021-10-11 21:33:32 +03:00
facade Add multiservice marine_test example (#25), update crate versions 2021-10-11 21:33:32 +03:00
local_storage Add multiservice marine_test example (#25), update crate versions 2021-10-11 21:33:32 +03:00
old-air Remove fldist from examples (#69) 2022-02-16 09:21:21 -07:00
build.sh Reorg (#10) 2021-07-16 02:04:18 -05:00
Config.toml Reorg (#10) 2021-07-16 02:04:18 -05:00
deploy_separate.sh Reorg (#10) 2021-07-16 02:04:18 -05:00
deploy.sh Reorg (#10) 2021-07-16 02:04:18 -05:00
deployment_cfg.json Remove fldist from examples (#69) 2022-02-16 09:21:21 -07:00
deployment_data.txt Remove fldist from examples (#69) 2022-02-16 09:21:21 -07:00
download_url.aqua Remove fldist from examples (#69) 2022-02-16 09:21:21 -07:00
README.md Remove fldist from examples (#69) 2022-02-16 09:21:21 -07:00
repl_config.toml Reorg (#10) 2021-07-16 02:04:18 -05:00

Download file to disk

Example that shows how to work with disk access and how to link several Wasm modules into a service.

Build & deploy it

./deploy.sh

Call it

aqua run \
     --addr /dns4/kras-06.fluence.dev/tcp/19001/wss/p2p/12D3KooWDUszU2NeWyUVjCXhGEt1MoZrhvdmaQQwtZUriuGN1jTr  \
     -i download_url.aqua -f'download("https://fluence.network/img/svg/logo_new.svg", "logo.svg", "12D3KooWDUszU2NeWyUVjCXhGEt1MoZrhvdmaQQwtZUriuGN1jTr", "e693d1c3-3fbc-4ccd-8eae-1ba9c767e2f5")'