mirror of
https://github.com/fluencelabs/examples
synced 2024-12-05 03:30:17 +00:00
.. | ||
artifacts | ||
curl_adapter | ||
facade | ||
local_storage | ||
old-air | ||
build.sh | ||
Config.toml | ||
deploy_separate.sh | ||
deploy.sh | ||
deployment_cfg.json | ||
deployment_data.txt | ||
download_url.aqua | ||
README.md | ||
repl_config.toml |
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")'